[syslog-ng]Error compiling syslog-ng 1.5.20 on NetBSD - wrappers again
Ed Ravin
eravin@panix.com
Sun, 15 Sep 2002 21:51:24 -0400 (EDT)
I just downloaded syslog-ng-1.5.20 to see if it builds on NetBSD
with TCP wrappers. I'm happy to report that syslog-ng compiled
properly this time (thanks Baszi!), but I did hit this problem
compiling tests/test_nscache:
tests/ [1] $ make
gcc -g -O2 -Wall -I/usr/local/src/libol-0.3.3/src -D_GNU_SOURCE -o test_nscache test_nscache.o ../nscache.o -lwrap -lfl /usr/local/src/libol-0.3.3/src/.libs/libol.a
/usr/lib/libwrap.so: undefined reference to `allow_severity'
/usr/lib/libwrap.so: undefined reference to `deny_severity'
collect2: ld returned 1 exit status
*** Error code 1
I edited this line in tests/Makefile:
LIBS = -lwrap -lfl /devel/build/libol-0.3.3/src/.libs/libol.a
and removed "-lwrap", since tests_nscache doesn't use tcp wrappers.
That fixed the problem.
-- Ed