RE: Compiling openssh-5.3p1 with openssl 0.9.8k fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Hi,
 
I've been trying to compile openssh-5.3p1 with openssl 0.9.8k.
I'm using:
- gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)
-  Platform :
Linux ... 2.6.9-67.0.7.ELsmp #1 SMP ...  i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

My target platform is CentOS 4.7.

When replacing the default crypto lib (-lcrypto) with a openssl 0.9.8k I
get this error during linking:
 
 
 
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o mux.o roaming_common.o -L/NEW_SSL_0_9_8/libs
-L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lcrypto -lutil -lz -lnsl
-lcrypt
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x25b): In
function `parse_dns_rrsection':
/vob/nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyn
ame.c:515: undefined reference to `__dn_expand'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x293):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:529: undefined reference to `_getshort'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x2a6):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:533: undefined reference to `_getshort'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x2b9):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:537: undefined reference to `_getlong'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x2cc):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:541: undefined reference to `_getshort'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x3ce): In
function `getrrsetbyname':
/vob/nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyn
ame.c:235: undefined reference to `__res_query'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x5f5):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:468: undefined reference to `__dn_expand'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x635):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:482: undefined reference to `_getshort'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o)(.text+0x650):/vob/
nm_acs/acs/install/openssh/openssh-5.3p1/openbsd-compat/getrrsetbyname.c
:486: undefined reference to `_getshort'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
 
Appending include paths didn't change much.
 
thanks,
Yossi
 
 

 <http://www.cisco.com/swa/i/logo.gif> 

	
Yossi Shmulevitch
Software Engineer
PMBU

yshmulev@xxxxxxxxx <mailto:yshmulev@xxxxxxxxx> Phone :+(972)-8-8646003
Mobile :+(972)-52-8495885

	

Israel

32 HaMelacha st.
P O Box 8735
I.Z. Sapir
S.Netanya 42504
Israel 

	 

	

 

This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.

	






[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux