[Ntop] ntop 3.2 compiling problems with solaris 9
Burton Strauss
Burton at ntopSupport.com
Fri Jan 13 01:55:44 CET 2006
(Guessing) It reads like the binary for that library (SUNW_1.1) is available
at compile time, but not available at link time. Those are all basic C
library routines (ntohs - network to host order, short, etc.).
So you are probably missing something in your -L parameters.
-----Burton
-----Original Message-----
From: ntop-bounces at unipi.it [mailto:ntop-bounces at unipi.it] On Behalf Of
Maurizio Caloro
Sent: Thursday, January 12, 2006 4:37 PM
To: ntop at Unipi.IT
Subject: [Ntop] ntop 3.2 compiling problems with solaris 9
Hello,
If i want compile Ntop-3.2 on me Solaris 9 i386 machine i become every time
this error and i dont see me mistake,
# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj
--enable-languages=c,c+ : (reconfigured) ../configure
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
--disable-libgcj --enable-languages=c,c++>Thread model: posix gcc version
3.4.2
GNU ld version 2.16.1
GNU assembler version 2.16.1 (i386-pc-solaris2.9) using BFD version 2.16.1
GNU Make 3.80
.libs/ntop ntop-main.o ntop-admin.o -L/opt/sfw/lib -L/usr/local/lib
./.libs/libntopreport.so -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib -L/usr/lib
./.libs/libntop.so myrrd/.libs/libmyrrd.so /usr/local/lib/libxml2.so
-lposix4 -lpthread -lresolv -lxnet -lc /usr/local/lib/libiconv.so -lnsl
-lsocket -lpcap /usr/local/lib/libgdbm.so /usr/local/lib/libgd.so -lXpm
-lX11 /usr/local/lib/libjpeg.so /usr/local/lib/libfontconfig.so
/usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lpng12 -lm -lpng
-lz -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/opt/sfw/lib
./.libs/libntopreport.so: undefined reference to `listen at SUNW_1.1'
./.libs/libntop.so: undefined reference to `ntohs at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `accept at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `recv at SUNW_1.1'
./.libs/libntop.so: undefined reference to `gethostname at SUNW_1.1'
./.libs/libntop.so: undefined reference to `endservent at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `setsockopt at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `bind at SUNW_1.1'
./.libs/libntop.so: undefined reference to `htonl at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `send at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `ntohl at SUNW_1.1'
./.libs/libntop.so: undefined reference to `gethostbyaddr at SUNW_1.1'
./.libs/libntop.so: undefined reference to `connect at SUNW_1.1'
./.libs/libntopreport.so: undefined reference to `socket at SUNW_1.1'
./.libs/libntop.so: undefined reference to `gethostbyname at SUNW_1.1'
./.libs/libntop.so: undefined reference to `htons at SUNW_1.1'
collect2: ld returned 1 exit status
gmake[2]: *** [ntop] Error 1
gmake[2]: Leaving directory `/usr/source/ntop-3.2'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/source/ntop-3.2'
gmake: *** [all] Error 2
please let me know so i can see and understanding me mistake
best regards
Maurizio Caloro
------------------------------------------------------------------------
--- say NO to Html in mail ---------- Maurizio Caloro
-------------------------------------------- <mauric at gmx.ch>
_______________________________________________
Ntop mailing list
Ntop at unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
More information about the Ntop
mailing list