Ethereal-dev: [Ethereal-dev] Ethereal 0.10.6: Solaris9: Unresolved Symbols

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Falk Hayn" <Falk.Hayn@xxxxxx>
Date: Tue, 7 Sep 2004 11:20:08 +0200 (MEST)
Dear Ladies and Sirs,

the Ethereal 0.10.6 build from scratch on Solaris 9 stopped 
(original error messages below)

root cause: some libs not called


Workaround to let the build proceed:

# for GNU tools
export LDFLAGS="-lsocket -lresolv -lnsl"

# for Solaris 9 ld
export LD_OPTIONS="-lsocket -lresolv -lnsl"


Original error messages:

... Snip....

2.0.so /usr/local/lib/libintl.so -lc /usr/local/lib/libiconv.so -lm -ladns
-lnsl -lz -R/usr/local/lib

Undefined			first referenced
 symbol  			    in file
socket                              /usr/local/lib/libpcap.a(fad-glifc.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
getprotobyname                      /usr/local/lib/libpcap.a(nametoaddr.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
getservbyname                       /usr/local/lib/libpcap.a(nametoaddr.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
sendto                              /usr/local/lib/libadns.a(transmit.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
getnetbyname                        /usr/local/lib/libpcap.a(nametoaddr.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
recvfrom                            /usr/local/lib/libadns.a(event.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
connect                             /usr/local/lib/libadns.a(event.o) 
(symbol belongs to implicit dependency /usr/lib/libsocket.so.1)

ld: fatal: Symbol referencing errors. No output written to .libs/ethereal

collect2: ld returned 1 exit status

make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/usr/local/src/ethereal/ethereal-0.10.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ethereal/ethereal-0.10.6'
make: *** [all] Error 2




-- 
Do not hesitate to contact me, if You have further questions
using falk.hayn (at) gmx.de

With kind regards 
Falk Hayn

NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail