(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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maurizio Caloro Sent: Thursday, January 12, 2006 4:37 PM To: [email protected] 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 [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntopreport.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' ./.libs/libntop.so: undefined reference to [EMAIL PROTECTED]' 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 -------------------------------------------- <[EMAIL PROTECTED]> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
