[syslog-ng]Errors Compiling 1.5.19 with TCP_WRAPPERS

Victor victord@paid.com
Wed, 21 Aug 2002 23:15:18 -0400


I am trying to compile with tcp_wrappers, but I get this error:

gcc  -O2 -march=i686 -pipe -Wall -I/root/syslog-ng/work/src/libol-0.3.3/src 
-D_GNU_SOURCE  -o syslog-ng  main.o sources.o center.o filters.o
destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o
afunix.o afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o
nscache.o utils.o syslog-names.o  -lfl
/root/syslog-ng/work/src/libol-0.3.3/src/.libs/libol.a -lnsl
afinet.o: In function `do_open_afinet_connection':
afinet.o(.text+0x3c3): undefined reference to `request_init'
afinet.o(.text+0x3cf): undefined reference to `sock_host'
afinet.o(.text+0x3d8): undefined reference to `hosts_access'
collect2: ld returned 1 exit status
make[3]: *** [syslog-ng] Error 1


Shouldn't it have something like -lwrap on the line above?

Also, I heard on the mailing list that there is a patch for 1.5.19? Is there
a link to it? What's the proper patch command to apply it?

Thanks