Subject: Re: mysql .37
To: Tomasz Luchowski <zuntum@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-help
Date: 05/07/2001 09:07:39
>/bin/sh ../libtool --mode=link ...
>c++ ... -lwrap ../mit-pthreads/obj/libpthread.a -lz -lcrypt -lm
>../mit-pthreads/obj/libpthread.a(strerror.o): In function `strerror':
>strerror.o(.text+0x17): warning: reference to compatibility sys_errlist[]; include <errno.h> for correct reference
>strerror.o(.text+0xe): warning: reference to compatibility sys_nerr; include <errno.h> for correct reference
>/usr/lib/libwrap.so: undefined reference to `allow_severity'
>/usr/lib/libwrap.so: undefined reference to `deny_severity'

including libwrap (why?) means you need to have declared two ints
called allow_severity and deny_severity.  the best place to put them
is probably in the file with the call to hosts_access().  unless there
isn't one, in which case, you really don't need libwrap.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."