Re: openssh-3.8p1 compile problem

From: piero zucchi (piero_NO--SPAM__at_lnxserv.net)
Date: 06/01/04


Date: Tue, 01 Jun 2004 17:09:22 GMT

Did you compiled it with -static flag? I couldn't.

How did you do it?

Thank You

--
Piero Zucchi
"Alexander Latenko" <noname@bostonanimation.com> ha scritto nel messaggio
news:c3n2ni$1nkl$1@news.dg.net.ua...
> Hello, All!
>
> Linux, 2.4.24, opensll-0.9.7d
> I'm trying to compile openssh-3.8p1 with static flag
>
> CFLAGS="-static" LDFLAGS="-static"
./configure --with-ssl-dir=/usr/local/ssl
> make
>
> then at make time I got:
> gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o
> sshconnect2.o -L. -Lope
>
nbsd-compat/ -L/usr/local/ssl/lib -static -lssh -lopenbsd-compat -lcrypto -l
> util -lz -lnsl  -lcrypt
> openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0xe3): In
> function `getrrsetbyname':
> : undefined reference to `__res_query'
> openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x7ff): In
> function `parse_dns_qsection'
> :
> : undefined reference to `__dn_expand'
> openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x979): In
> function `parse_dns_rrsection
> ':
> : undefined reference to `__dn_expand'
> collect2: ld returned 1 exit status
> make: *** [ssh] Error 1
>
> Any ideas how to avoid it?
>
> I didn't expire such problems on openssh-3.7.1p2
>
> With best regards, Alexander Latenko.  E-mail: noname@bostonanimation.com
>
>


Relevant Pages

  • Re: Using Rake to compile FreeBASIC code
    ... compiled twice, once normally for use as a library, and once with the ... especially the flags that are sent to the compile. ... double check the -m flag. ... Still learning ruby but now I want to run ...
    (comp.lang.ruby)
  • RE: Compile error on RH 9
    ... I removed the -DSYSV flag, ... Compile error on RH 9 ... Anyone have a clue why there's a parse error on that line? ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: Sendmail with regex for VERP support
    ... I am planning to include VERP support in my org. ... This is possible if you have MAP_REGEX flag enabled while ... You will see MAP_REGEX and other options which sendmail is being compiled... ... Can anyone suggest me how to compile sendmail with MAP_REGEX option. ...
    (RedHat)
  • Re: floating point flag msg upon execution???
    ... floating-point exception handling. ... flag it is to rebuild. ... are precise traps. ... compile, and I don't have the time right now to dig out which file ...
    (comp.lang.fortran)
  • Re: To C or not to C ... now what the hell to I do?
    ... compile with the switches set to flag ALL uninitialized variables. ... come file functions to read an initialization file at startup (which ...
    (comp.os.vms)