[syslog-ng]Error when compiling with tcp-wrappers

Ed Ravin eravin@panix.com
Mon, 22 Apr 2002 18:26:48 -0400 (EDT)


Jim Gifford writes:
> When I compile with the option --enable-tcp-wrapper, I get the following
> error.
> 
> afinet.o: In function `do_open_afinet_connection':
> afinet.o(.text+0x38b): undefined reference to `request_init'
> afinet.o(.text+0x394): undefined reference to `sock_host'
> afinet.o(.text+0x39c): undefined reference to `hosts_access'
> collect2: ld returned 1 exit status

There's still some problem with the autoconf stuff, it seems.
Try adding -lwrap to the LDFLAGS like this:

  gmake LDFLAGS+=-lwrap