aMule Forum

English => Compilation problems => Topic started by: skolnick on March 06, 2005, 07:45:19 PM

Title: amuleweb compilation on solaris
Post by: skolnick on March 06, 2005, 07:45:19 PM
Hi all!

Using CVS from March 06 2005, and trying to compile on my solaris machine:

./configure --enable-webserver

it goes OK, but when linking amuleweb, it fails:

Code: [Select]
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0    -lpthread -o amuleweb  amuleweb-WebServer.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-MD5Sum.o amuleweb-ECSocket.o amuleweb-ExternalConnector.o amuleweb-ECPacket.o amuleweb-OtherFunctions.o amuleweb-ECSpecialTags.o amuleweb-StringFunctions.o amuleweb-NetworkFunctions.o -L/usr/local/lib -pthreads   -lwx_base-2.5 -lwx_base_net-2.5  -lz  -L/opt/csw/lib -R/opt/csw/lib -lpng12 -lz -lm -lpng12 -lz -lm -lpng -lresolv -lgen
Undefined                       first referenced
 symbol                             in file
inet_addr                           amuleweb-WebServer.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
inet_ntoa                           amuleweb-WebServer.o  (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to amuleweb
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[4]: Leaving directory `/export/home/autizt/amule-cvs-20050306/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/autizt/amule-cvs-20050306/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/autizt/amule-cvs-20050306/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/autizt/amule-cvs-20050306'
make: *** [all] Error 2
-bash-3.00$

I have no idea what to do with this. Any help, is welcome.

Thanks.
Title: Re: amuleweb compilation on solaris
Post by: Kry on March 06, 2005, 07:59:45 PM
Hum? I though - fixed that. Look for me on irc.