[syslog-ng]Errors Compiling 1.5.19 with TCP_WRAPPERS

Sangbutsarakum, Patai patais@reach.com
Thu, 22 Aug 2002 11:02:17 +0700

I can't success also.
I got suggestion to use other feature of syslog-ng
that can do access-list like as TCP_WRAPPER.

Hope this help

-----Original Message-----
From: Victor [mailto:victord@paid.com]
Sent: Thursday, August 22, 2002 10:15
To: Syslog-ng
Subject: [syslog-ng]Errors Compiling 1.5.19 with TCP_WRAPPERS

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?


syslog-ng maillist  -  syslog-ng@lists.balabit.hu
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html