This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Strange problem trying to compile tcpd


-----BEGIN PGP SIGNED MESSAGE-----

I made the following change to the Makefile

#######################################
# Cygwin make
cygwin:
        @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
        LIBS= RANLIB=ranlib ARFLAGS=rv \
        AUX_OBJ=setenv.o \
        NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all

########################################

extrapolating as best as I can from the other templates.  I also set
the system to use the following REAL_DAEMON_DIR=/contrib/libexec

NOTE: Cygwin was installed to C:\

The following is where the make breaks:
################################

"C:/bin/bash.exe"-2.03$ !make
make REAL_DAEMON_DIR=/contrib/libexec cygwin
make[1]: Entering directory `/d/tcp_wrappers_7.6'
gcc -O -DFACILITY=LOG_MAIL       -DHOSTS_ACCESS -DPARANOID 
- -DGETPEERNAME_BUG -D
BROKEN_FGETS -DLIBC_CALLS_STRTOK   -DDAEMON_UMASK=022
- -DREAL_DAEMON_DIR=\"/contr
ib/libexec\"   -DSEVERITY=LOG_INFO       -DRFC931_TIMEOUT=10 
- -DHOSTS_DENY=\"/et
c/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"   -DBROKEN_SO_LINGER
 -Dvsyslo
g=myvsyslog -DALWAYS_HOSTNAME -o tcpd tcpd.o libwrap.a
libwrap.a(percent_m.o)(.text+0x44):percent_m.c: undefined reference to
`sys_nerr
'
libwrap.a(percent_m.o)(.text+0x60):percent_m.c: undefined reference to
`sys_errl
ist'
collect2: ld returned 1 exit status
make[1]: *** [tcpd] Error 1
make[1]: Leaving directory `/d/tcp_wrappers_7.6'
make: *** [cygwin] Error 2

###################################
Any ideas?
-----BEGIN PGP SIGNATURE-----
Version: PGP for Business Security 5.5

iQEVAwUBOQ82ZkXi2H7R/ZSxAQEZ0QgAmsMXphtcnbGy8Cl27MGXTS2ww9WLka/J
kgBSy4MUPDZVMM+CYkH7tcolicbDM/bXupiegxG4dEO79/kWRgQ5RZWdGNyV3XUn
rry0Q3kvUMtEle8RTjPIooPydYrzR/Iyh/GrXeKhnIzt475f3ZG9OjTN8UU1Ro3o
XdIZCBGCbwZY/ahL08Bu+uwZOEgdU7Ms4YbmgPwPzhOc/H8rG1aPqE0Yl1M8mQ9L
8Eq61zmWT8HmUm5Tq4gaJPj81GJDT0Mary7wArfe7twPxIz6DpDXPR3kaY/kpPfC
EXiIA8TxlEpg3g29myJAXYV7+TmCTaq96TMac8OMUTm26kkpb50iAQ==
=CQqN
-----END PGP SIGNATURE-----


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]