A question on Compilation errors...

Amba giri agiri at sj.symbol.com
Tue Mar 23 13:18:43 EST 2004


Hello
 
I am attempting to build on a LynxOS platform and am using a old
version of zlib and OpenSSL-0.9.6a.  I get past the configure stage by
ignoring the zlib version check.  However, at make stage I run into the
following undefineds.  Any idea what may be causing this. I am using
version 3.8p1 of OpenSSH.
 
Thank you in advance for your response
 
Amba 
 
(cd openbsd-compat && make)
make[1]: Nothing to be done for `all'.
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o -L.
 -Lopenbsd-compat/ -L/usr/local/ssl/lib  -lssh -lopenbsd-compat
-lcrypto -lz
collect2: ld returned 1 exit status
readconf.o: In function `parse_token':
/openssh-3.8p1/readconf.c(263): undefined reference to `strcasecmp'
readconf.o: In function `process_config_line':
/openssh-3.8p1/readconf.c(723): undefined reference to `strcasecmp'
/openssh-3.8p1/readconf.c(725): undefined reference to `strcasecmp'
/openssh-3.8p1/readconf.c(727): undefined reference to `strcasecmp'
sshconnect.o: In function `timeout_connect':
/openssh-3.8p1/sshconnect.c(243): undefined reference to `howmany'
sshconnect.o: In function `ssh_connect':
/openssh-3.8p1/sshconnect.c(330): undefined reference to
`getservbyname'
sshconnect.o: In function `confirm':
/openssh-3.8p1/sshconnect.c(545): undefined reference to `strncasecmp'
/openssh-3.8p1/sshconnect.c(549): undefined reference to `strncasecmp'
./libssh.a(log.o): In function `log_facility_number':
/openssh-3.8p1/log.c(101): undefined reference to `strcasecmp'
./libssh.a(log.o): In function `log_level_number':
/openssh-3.8p1/log.c(113): undefined reference to `strcasecmp'
./libssh.a(log.o): In function `do_log':
/openssh-3.8p1/log.c(329): undefined reference to `openlog'
/openssh-3.8p1/log.c(330): undefined reference to `syslog'
/openssh-3.8p1/log.c(331): undefined reference to `closelog'
./libssh.a(cipher.o): In function `cipher_by_name':
/openssh-3.8p1/cipher.c(149): undefined reference to `strcasecmp'
./libssh.a(channels.o): In function `channel_prepare_select':
/openssh-3.8p1/channels.c(1668): undefined reference to `howmany'
./libssh.a(packet.o): In function `packet_read_seqnr':
/openssh-3.8p1/packet.c(833): undefined reference to `howmany'
/openssh-3.8p1/packet.c(858): undefined reference to `howmany'
./libssh.a(packet.o): In function `packet_write_wait':
/openssh-3.8p1/packet.c(1371): undefined reference to `howmany'
/openssh-3.8p1/packet.c(1375): undefined reference to `howmany'
./libssh.a(canohost.o): In function `check_ip_options':
/openssh-3.8p1/canohost.c(150): undefined reference to
`getprotobyname'
openbsd-compat//libopenbsd-compat.a(fake-rfc2553.o): In function
`ssh_getnameinfo':
/openssh-3.8p1/openbsd-compat/fake-rfc2553.c(64): undefined reference
to `gethostbyaddr'
openbsd-compat//libopenbsd-compat.a(fake-rfc2553.o): In function
`ssh_getaddrinfo':
/openssh-3.8p1/openbsd-compat/fake-rfc2553.c(164): undefined reference
to `getservbyname'
/openssh-3.8p1/openbsd-compat/fake-rfc2553.c(198): undefined reference
to `gethostbyname'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o): In function
`getrrsetbyname':
/openssh-3.8p1/openbsd-compat/getrrsetbyname.c(190): undefined
reference to `_res'
/openssh-3.8p1/openbsd-compat/getrrsetbyname.c(190): undefined
reference to `res_init'
/openssh-3.8p1/openbsd-compat/getrrsetbyname.c(206): undefined
reference to `res_query'
/openssh-3.8p1/openbsd-compat/getrrsetbyname.c(209): undefined
reference to `_h_errno'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o): In function
`parse_dns_qsection':
/openssh-3.8p1/openbsd-compat/getrrsetbyname.c(436): undefined
reference to `dn_expand'
openbsd-compat//libopenbsd-compat.a(getrrsetbyname.o): In function
`parse_dns_rrsection':
/openssh-3.8p1/openbsd-compat/getrrsetbyname.c(482): undefined
reference to `dn_expand'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
WS5000#
 
Amba Giri
Symbol Technologies, San Jose
P: 408-528-2721
E:agiri at sj.symbol.com 
Symbol.  The Enterprise Mobility Company.




More information about the openssh-unix-dev mailing list