Hi,
Iam trying to compile libpcap on HPUX10.2 but it fails while compiling
bpf_filter.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 95: warning 557: Missing declaration specifiers, "int"
assumed.
cc: "net/bpf.h", line 147: warning 557: Missing declaration specifiers,
"int" assumed.
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 148: warning 557: Missing declaration specifiers,
"int" assumed.
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 149: warning 557: Missing declaration specifiers,
"int" assumed.
cc: "net/bpf.h", line 338: warning 557: Missing declaration specifiers,
"int" assumed.
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 339: warning 557: Missing declaration specifiers,
"int" assumed.
cc: "net/bpf.h", line 340: error 1000: Unexpected symbol: "jf".
cc: "net/bpf.h", line 340: warning 557: Missing declaration specifiers,
"int" assumed.
cc: "net/bpf.h", line 342: error 1000: Unexpected symbol: "}".
cc: "net/bpf.h", line 368: warning 557: Missing declaration specifiers,
"int" assumed.
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.
============================================================================
====
I found some discussion on above error in discussion list. "make distclean"
was sugested, but it didnt help in my case. any help would be appreciated.
Thanks,
Prakash
-
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