After a brief dialogue in private email, your suggestions worked, Pavel. I had to make a symlink for libresolv.a pointing to libresolv-2.2.2.so, and edit /usr/local/bin/nessus-config to include that -lresolv option. Both libnasl and libhosts_gatherer's test program build perfectly!
I've found some new problems building nessus-plugins, but I haven't even begun to troubleshoot yet. I'll post again if I can't figure it out on my own. Thanks again, very much! --Michael Spencer ----- Original Message ----- From: "Pavel Kankovsky" <[EMAIL PROTECTED]> To: "Michael Spencer Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 2:40 AM Subject: Re: Problems compiling Nessus 2.0.7 on Zaurus PDA > On Mon, 18 Aug 2003, Michael Spencer Jr. wrote: > > > [EMAIL PROTECTED]:ttya0 libhosts_gatherer]# make test > > cc -pipe -DHAVE_CONFIG_H -I. -I/usr/mnt.rom/cf/.dev/nessus/nessus-libra > > ries/include -I/usr/mnt.rom/cf/.dev/nessus/nessus-libraries/libpcap-nessus > > test.c -o test -L.libs -lhosts_gatherer > > test.c: In function `main': > > test.c:17: warning: return type of `main' is not `int' > > .libs/libhosts_gatherer.so: undefined reference to `__dn_expand' > > .libs/libhosts_gatherer.so: undefined reference to `__dn_skipname' > > .libs/libhosts_gatherer.so: undefined reference to `__res_mkquery' > > .libs/libhosts_gatherer.so: undefined reference to `__res_send' > > .libs/libhosts_gatherer.so: undefined reference to `_getshort' > > .libs/libhosts_gatherer.so: undefined reference to `__putshort' > > collect2: ld returned 1 exit status > > make: *** [test] Error 1 > > [EMAIL PROTECTED]:ttya0 libhosts_gatherer]# > > You need to add -lresolv. I do not know why it was not added > automatically. > > --Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ] > "Resistance is futile. Open your source code and prepare for assimilation."
