Could it be an OLD version of libpcap?  Or multiple versions (i.e. compiling
against one and then linking against another)?

Or, based on this message...
http://www.linux-mips.org/archives/linux-mips/2001-09/msg00163.html, sounds
like you may need to override ntop's default options for the linker.  That
would require editing a couple lines in Makefile, but to what I haven't a
clue.  Check your linker documentation...


-----Burton



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Diego
> Boccardo
> Sent: Friday, April 02, 2004 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] suse 7.1 sparc problem
>
>
>
> -- Hi ..I try to compile ntop 3.0 with 7.1 version of suse the configure
> pass ok but when I
> do make........this happens
>
> make  all-recursive
> make[1]: Entering directory `/tmp/ntop-3.0'
> cd . && /bin/sh ./missing --run echo
>
> Making all in myrrd
> make[2]: Entering directory `/tmp/ntop-3.0/myrrd'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/tmp/ntop-3.0/myrrd'
> Making all in .
> make[2]: Entering directory `/tmp/ntop-3.0'
> cd . && /bin/sh ./missing --run echo
>
> /bin/sh ./libtool --mode=link gcc -g -O2 -I/usr/local/include -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs  -fPIC -g -O2 -I/usr/local/include -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs  -fPIC -L/usr/X11R6/lib -L/usr/local/lib
> -L/tmp/ntop-3.0/myrrd -L/usr/X11R6/lib -L/usr/local/lib
> -L/tmp/ntop-3.0/myrrd -o libntopreport.la -rpath /usr/local/lib
> -L/usr/X11R6/lib -L/usr/local/lib -L/tmp/ntop-3.0/myrrd -release 3.0
> -export-dynamic  emitter.lo globals-report.lo graph.lo http.lo report.lo
> reportUtils.lo ssl.lo webInterface.lo  -lpthread -lresolv -lnsl -ldl -lc
> -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz -lmyrrd
> rm -fr .libs/libntopreport.la .libs/libntopreport.*
> .libs/libntopreport-3.0.*
> gcc -shared  emitter.lo globals-report.lo graph.lo http.lo report.lo
> reportUtils.lo ssl.lo webInterface.lo  -L/usr/lib -L/usr/X11R6/lib
> -L/usr/local/lib -L/tmp/ntop-3.0/myrrd -lpthread -lresolv -lnsl -ldl -lc
> -lssl -lcrypto -lpcap /usr/lib/libgdbm.so /usr/local/lib/libgd.so -lpng
> -lz -lmyrrd  -Wl,-soname -Wl,libntopreport-3.0.so -o
> .libs/libntopreport-3.0.so
> /usr/lib/libpcap.a(pcap-linux.o): In function `pcap_read':
> pcap-linux.o(.text+0xb4): relocation truncated to fit: R_SPARC_GOT13
> LLC0
> pcap-linux.o(.text+0x1e4): relocation truncated to fit: R_SPARC_GOT13
> LLC1
> /usr/lib/libpcap.a(pcap-linux.o): In function `pcap_open_live':
> pcap-linux.o(.text+0x26c): relocation truncated to fit: R_SPARC_GOT13
> LLC2
> pcap-linux.o(.text+0x2bc): relocation truncated to fit: R_SPARC_GOT13
> LLC3
> pcap-linux.o(.text+0x30c): relocation truncated to fit: R_SPARC_GOT13
> LLC4
> pcap-linux.o(.text+0x37c): relocation truncated to fit: R_SPARC_GOT13
> LLC5
> pcap-linux.o(.text+0x448): relocation truncated to fit: R_SPARC_GOT13
> LLC6
> pcap-linux.o(.text+0x468): relocation truncated to fit: R_SPARC_GOT13
> LLC7
> pcap-linux.o(.text+0x4c0): relocation truncated to fit: R_SPARC_GOT13
> LLC8
> pcap-linux.o(.text+0x518): relocation truncated to fit: R_SPARC_GOT13
> LLC9
> pcap-linux.o(.text+0x540): relocation truncated to fit: R_SPARC_GOT13
> LLC2
> pcap-linux.o(.text+0x590): relocation truncated to fit: R_SPARC_GOT13
> LLC10
> pcap-linux.o(.text+0x5a8): relocation truncated to fit: R_SPARC_GOT13
> saved_ifr
> pcap-linux.o(.text+0x5fc): relocation truncated to fit: R_SPARC_GOT13
> LLC11
> pcap-linux.o(.text+0x628): relocation truncated to fit: R_SPARC_GOT13
> linux_restore_ifr
> pcap-linux.o(.text+0x65c): relocation truncated to fit: R_SPARC_GOT13
> LLC2
> /usr/lib/libpcap.a(pcap-linux.o): In function `linux_restore_ifr':
> pcap-linux.o(.text+0x72c): relocation truncated to fit: R_SPARC_GOT13
> stderr@@GLIBC_2.0
> pcap-linux.o(.text+0x730): relocation truncated to fit: R_SPARC_GOT13
> LLC12
> pcap-linux.o(.text+0x75c): relocation truncated to fit: R_SPARC_GOT13
> saved_ifr
> pcap-linux.o(.text+0x774): relocation truncated to fit: R_SPARC_GOT13
> stderr@@GLIBC_2.0
> pcap-linux.o(.text+0x778): relocation truncated to fit: R_SPARC_GOT13
> LLC13
> /usr/lib/libpcap.a(pcap.o): In function `pcap_next':
> pcap.o(.text+0x144): relocation truncated to fit: R_SPARC_GOT13
> pcap_oneshot
> /usr/lib/libpcap.a(pcap.o): In function `pcap_perror':
> pcap.o(.text+0x258): relocation truncated to fit: R_SPARC_GOT13 LLC0
> pcap.o(.text+0x25c): relocation truncated to fit: R_SPARC_GOT13
> stderr@@GLIBC_2.0
> /usr/lib/libpcap.a(savefile.o): In function `pcap_open_offline':
> savefile.o(.text+0x1ac): relocation truncated to fit: R_SPARC_GOT13 LLC0
> savefile.o(.text+0x1f0): relocation truncated to fit: R_SPARC_GOT13
> stdin@@GLIBC_2.0
> savefile.o(.text+0x204): relocation truncated to fit: R_SPARC_GOT13 LLC1
> savefile.o(.text+0x218): relocation truncated to fit: R_SPARC_GOT13 LLC2
> savefile.o(.text+0x26c): relocation truncated to fit: R_SPARC_GOT13 LLC3
> savefile.o(.text+0x2e0): relocation truncated to fit: R_SPARC_GOT13 LLC4
> savefile.o(.text+0x30c): relocation truncated to fit: R_SPARC_GOT13 LLC5
> /usr/lib/libpcap.a(savefile.o): In function `sf_next_packet':
> savefile.o(.text+0x540): relocation truncated to fit: R_SPARC_GOT13 LLC6
> savefile.o(.text+0x544): relocation truncated to fit: R_SPARC_GOT13
> tsize.118
> savefile.o(.text+0x558): relocation truncated to fit: R_SPARC_GOT13
> tp.117
> savefile.o(.text+0x590): relocation truncated to fit: R_SPARC_GOT13 LLC7
> savefile.o(.text+0x5b0): relocation truncated to fit: R_SPARC_GOT13
> tp.117
> savefile.o(.text+0x604): relocation truncated to fit: R_SPARC_GOT13 LLC8
> /usr/lib/libpcap.a(savefile.o): In function `pcap_dump_open':
> savefile.o(.text+0x790): relocation truncated to fit: R_SPARC_GOT13
> stdout@@GLIBC_2.0
> savefile.o(.text+0x7a4): relocation truncated to fit: R_SPARC_GOT13 LLC9
> savefile.o(.text+0x7c0): relocation truncated to fit: R_SPARC_GOT13 LLC2
> collect2: ld returned 1 exit status
> make[2]: *** [libntopreport.la] Error 1
> make[2]: Leaving directory `/tmp/ntop-3.0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/ntop-3.0'
> make: *** [all] Error 2
> afipnmslinux:/tmp/ntop-3.0 #
>
>
>
>
> ANy Ideas??
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to