[SunHELP] Problems compiling: tcp_wrappers

Charu Kamath charu.bhargava at estelcom.com
Wed Jul 28 02:34:01 CDT 2004


Hi!

I am trying to install tcp_wrappers 7.6 on Solaris 7.
Edited the Makefile & ran make.
Everything works Ok except at the end I got an error  -
ld: fatal: Symbol referencing errors. No output written to tcpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `tcpd'

Can someone pls help me figure out the problem & what do i need to do?

Thanks Charu

Part of it is pasted below.
----------------------------------------------------------------------------
------------
myvsyslog.c
rm -f libwrap.a
ar rv libwrap.a hosts_access.o options.o shell_cmd.o rfc931.o eval.o
hosts_ctl.
o refuse.o percent_x.o clean_exit.o setenv.o  fromhost.o fix_options.o
socket.o
tli.o workarounds.o  update.o misc.o diag.o percent_m.o myvsyslog.o
a - hosts_access.o
a - options.o
a - shell_cmd.o
a - rfc931.o
a - eval.o
a - hosts_ctl.o
a - refuse.o
a - percent_x.o
a - clean_exit.o
a - setenv.o
a - fromhost.o
a - fix_options.o
a - socket.o
a - tli.o
a - workarounds.o
a - update.o
a - misc.o
a - diag.o
a - percent_m.o
a - myvsyslog.o
ar: creating libwrap.a
ar: writing libwrap.a
ranlib libwrap.a
cc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID   -DGETPEERNAME_BUG -DBR
OKEN
_FGETS -DLIBC_CALLS_STRTOK   -DDAEMON_UMASK=022  -DREAL_DAEMON_DIR=\"/usr/sb
in\"
    -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10   -DHOSTS_DENY=\"/etc/hosts.deny
\" -
DHOSTS_ALLOW=\"/etc/hosts.allow\"      -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME
 -o
tcpd tcpd.o libwrap.a
Undefined                       first referenced
 symbol                             in file
socket                              libwrap.a(rfc931.o)
getpeername                         libwrap.a(workarounds.o)
gethostbyname                       libwrap.a(socket.o)
bind                                libwrap.a(rfc931.o)
gethostbyaddr                       libwrap.a(socket.o)
inet_addr                           libwrap.a(misc.o)
inet_ntoa                           libwrap.a(socket.o)
getsockname                         libwrap.a(socket.o)
recvfrom                            libwrap.a(socket.o)
connect                             libwrap.a(rfc931.o)
ld: fatal: Symbol referencing errors. No output written to tcpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `tcpd'
----------------------------------------------------------------------------
--------------------



More information about the SunHELP mailing list