tcpdump mailing list archives

Libpcap 1.3.0 not building on OpenBSD 5.2 sparc64


From: Kaya Saman <kayasaman () gmail com>
Date: Mon, 10 Dec 2012 17:50:14 +0000

Hi,

I'm trying to build libpcap 1.3.0 on my Sun Fire V210 running OpenBSD 5.2 however, I keep getting errors??

The configuration script doesn't come up with anything claiming to be an error however, if I run 'make' afterwards I get this:

# make
VER=`cat ./VERSION`; MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; gcc -shared -Wl,-soname,libpcap.so.$MAJOR_VER -o libpcap.so.$VER pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o
scanner.o(.text+0x3b8): In function `pcap__load_buffer_state':
/home/libpcap-1.3.0/scanner.c:4207: relocation truncated to fit: R_SPARC_GOT13 yy_n_chars scanner.o(.text+0x3dc):/home/libpcap-1.3.0/scanner.c:4209: relocation truncated to fit: R_SPARC_GOT13 pcap_in scanner.o(.text+0x3e8):/home/libpcap-1.3.0/scanner.c:4210: relocation truncated to fit: R_SPARC_GOT13 yy_hold_char
scanner.o(.text+0x42c): In function `pcap__switch_to_buffer':
/home/libpcap-1.3.0/scanner.c:4184: relocation truncated to fit: R_SPARC_GOT13 yy_hold_char scanner.o(.text+0x43c):/home/libpcap-1.3.0/scanner.c:4186: relocation truncated to fit: R_SPARC_GOT13 yy_n_chars scanner.o(.text+0x454):/home/libpcap-1.3.0/scanner.c:4197: relocation truncated to fit: R_SPARC_GOT13 yy_did_buffer_switch_on_eof
scanner.o(.text+0x558): In function `yy_fatal_error':
/home/libpcap-1.3.0/scanner.c:4488: relocation truncated to fit: R_SPARC_GOT13 .LC0
scanner.o(.text+0x620): In function `pcap__scan_buffer':
/home/libpcap-1.3.0/scanner.c:4350: relocation truncated to fit: R_SPARC_GOT13 .LC1
scanner.o(.text+0x6c0): In function `pcap__scan_bytes':
/home/libpcap-1.3.0/scanner.c:4413: relocation truncated to fit: R_SPARC_GOT13 .LC3 scanner.o(.text+0x6e0):/home/libpcap-1.3.0/scanner.c:4404: relocation truncated to fit: R_SPARC_GOT13 .LC2
scanner.o(.text+0x758): In function `lex_init':
./scanner.l:399: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
*** Error code 1


Would anyone be able to give me a hand to build it into my system?


Regards,


Kaya
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: