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: Linux 2.6.30.2: does not boot
    ... Yes, as Marcel Beister pointed, it resulted some binutils bug. ... Wolfgang hasn't actually tried to compile without the -fno-strict-overflow ... flag yet, and maybe his hang is the same binutils bug. ... maybe I missed some gcc flag confirmation that wasn't cc'd to ...
    (Linux-Kernel)
  • 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: RfD -- FVALUE vsn 2.0
    ... flag, and then execute or compile the action of the name. ... No immediate. ... CELLS offset! ... STATE @ IF COMPILE, EXIT THEN EXECUTE; ...
    (comp.lang.forth)

Quantcast