Best regards,
I have been working last weekend on a site to provide binaries
and packages for HP-UX, IRIX and Solaris of both tcpdump and
libpcap. That site (not public at present) can be reached at
http://condmat.uniovi.es/tcpdump/
At present only the links to tcpdump (sparc) and libpcap (sparc)
works. I will build the binaries for IRIX and HP-UX when possible
(IRIX binaries next wednesday when I will arrive to the place
where our SGI/Cray Origin 2000 is installed and HP-UX binaries
if I discover how to compile it). With HP-UX I have found the
next errors. In a HP 9000/C110 with HP-UX 10.20 and an ANSI C
compiler:
$ make
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./pcap-dlpi.c
cc: "pcap-dlpi.c", line 861: warning 604: Pointers are not assignment-compatible.
cc: "pcap-dlpi.c", line 861: warning 563: Argument #1 is not the correct type.
cc: "pcap-dlpi.c", line 862: warning 604: Pointers are not assignment-compatible.
cc: "pcap-dlpi.c", line 862: warning 563: Argument #1 is not the correct type.
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./pcap.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./inet.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./gencode.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./optimize.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./nametoaddr.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./etherent.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c ./savefile.c
rm -f bpf_filter.c
ln -s ./bpf/net/bpf_filter.c bpf_filter.c
cc -Aa -O -I. -I/usr/local/include -DHAVE_CONFIG_H -c
bpf_filter.c
cc: "net/bpf.h", line 49: error 1000: Unexpected symbol: "bpf_u_int32".
cc: "net/bpf.h", line 94: error 1000: Unexpected symbol: "u_short".
cc: "net/bpf.h", line 95: error 1000: Unexpected symbol: "bv_minor".
cc: "net/bpf.h", line 96: error 1000: Unexpected symbol: "}".
cc: "net/bpf.h", line 147: error 1000: Unexpected symbol: "bpf_u_int32".
cc: "net/bpf.h", line 148: error 1000: Unexpected symbol: "bh_datalen".
cc: "net/bpf.h", line 149: error 1000: Unexpected symbol: "bh_hdrlen".
cc: "net/bpf.h", line 151: error 1000: Unexpected symbol: "}".
cc: "net/bpf.h", line 338: error 1000: Unexpected symbol: "u_short".
cc: "net/bpf.h", line 339: error 1000: Unexpected symbol: "jt".
cc: "net/bpf.h", line 340: error 1000: Unexpected symbol: "jf".
cc: "net/bpf.h", line 342: error 1000: Unexpected symbol: "}".
cc: "net/bpf.h", line 369: error 1000: Unexpected symbol: "u_char".
cc: "/usr/include/stdlib.h", line 66: error 1000: Unexpected symbol: "div".
cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
In our HP 9000/8xx with HP-UX 11.00 (with gcc and a non-ANSI cc):
$ ./configure --prefix=/opt/libpcap
creating cache ./config.cache
checking host system type... hppa1.1-hp-hpux11.00
checking target system type... hppa1.1-hp-hpux11.00
checking build system type... hppa1.1-hp-hpux11.00
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking gcc version... 2
checking for inline... inline
checking for __attribute__... no
checking for u_int8_t using gcc... no
checking for u_int16_t using gcc... no
checking for u_int32_t using gcc... no
checking how to run the C preprocessor... gcc -E
checking for sys/ioccom.h... no
checking for sys/sockio.h... no
checking for ifaddrs.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info
By the way, why have changed the Makefile install section?
Ok, I understand that a `make install' followed by a
`make install-include' and a `make install-man' is not so
obvious, I prefer how it is installed now, but the old
Makefile install sets both permissions and ownership
for all the files. I think it was important.
Best regards,
Igor.
--
Igor Sobrado, UK34436 - [EMAIL PROTECTED]
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe