I'm trying to compile Nessus 2.0.7 on a Zaurus SL-C700 PDA, for use on this
same PDA.  (That is, I'm not cross-compiling.)  I'm having odd problems
where nessus-libraries seems to compile OK, but the configure script on
libnasl complains about missing yyrestart and asks me if I'm sure I compiled
with bison and flex.  Compiling libnasl fails.  I've seen other mailing list
entries that discuss this problem -- the proposed solution was to confirm
bison and flex are installed, make distclean on all libraries, and restart
the build.  I've tried that and it didn't work.

I'm compiling this on a PDA, so the build environment is unusual compared to
a desktop machine.  Conventional wisdom about what generally works for
people on which linux distributions probably won't help here.

Here's my environment:

GCC version is 2.95.1
bison is 1.875, compiled from source and installed today.  'which bison'
returns /usr/local/bin/bison.
flex is 2.5.31, also compiled from source and installed today.  'which flex'
returns /usr/local/bin/flex.
I'm using libpcap-latest (libpcap-2003.08.18), compiled and installed today.
It installed into /usr/local/lib, and I confirmed that path *is* in
/etc/ld.so.conf
I configure nessus-libraries with --disable-cipher and see no major
warnings.  I'm not familiar enough with the software to tell which
undetected things cause problems, and which are merely optional.
After 'make'ing nessus, I cd to libhosts_gatherer and type 'make test'.  The
test fails:

[EMAIL PROTECTED]:ttya0 libhosts_gatherer]# make test
gcc -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]#

I'm not sure how to proceed.  I've picked this project up and put it down
again several times over the past few weeks.  I believe I've done my due
dilligence on mailing list archives and whatnot, but I seem to have missed
something.

I plan on sharing my binaries with other Zaurus owners once we get this
figured out.

Thanks guys!

--Michael Spencer

Reply via email to