Dear Ladies and Sirs, with Solaris9 and Ethereal 0.10.2, ADNS is not detected by configure.
It is necessary to add a "-lresolv" for the Solaris specific part. Messages from configure: configure:15343: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g -O2 -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include -I/usr/local/include -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib conftest.c -ladns -lsocket -lnsl -lz -R/usr/local/lib >&5 Undefined first referenced symbol in file inet_aton /usr/local/lib/libadns.a(setup.o) ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:15349: $? = 1 Interesting and helpful for this kind of problem is the comment in configure of adns 1.1: echo "configure: warning: inet_aton is in libresolv, urgh. Must use -lresolv." --- Weitergeleitete Nachricht / Forwarded Message --- Date: Thu, 19 Feb 2004 15:01:15 +0100 (MET) From: "Falk Hayn" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Solaris9 / Ethereal 0.10.1: ADNS not detected by configure Dear Ladies and Sirs, with Solaris9 and Ethereal 0.10.1, ADNS is not detected by configure. When You follow up with config.log (not attached), You will see that the ADNS detection sequence had unresolved symbols due to missing libs. There were some aton messages due to missing "-lresolv" Workaround to let the build proceed: # for GNU tools export LDFLAGS="-lresolv" # for Solaris 9 ld export LD_OPTIONS="-lresolv" Afer issuing these 2 export commands on shell level, configure detected ADNS. If You have further questions, do not hesitate to contact me. With kindly regards F -- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++ -- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++ _______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
