tcpdump mailing list archives

libpcap0.9.8 compile error on FreeBSD 5.4


From: "lei wei" <weilei1983 () gmail com>
Date: Sat, 5 Jan 2008 14:54:39 -0500

Hello,

When I was trying to compile libpcap0.9.8 with DAG-enabled on FreeBSD5.4, I
received the following compile error:

lwei@mexico$ make
gcc -O2 -I.  -I/usr/local/include -DHAVE_CONFIG_H
-D_U_="__attribute__((unused))" -c ./gencode.c
In file included from ./gencode.c:80:
/usr/include/net/if_pflog.h:32: error: field `sc_if' has incomplete type
*** Error code 1

Could you give me any help to fix this?

Thank you.



-- 
Wei, Lei
Department of Computer Science
University of North Carolina at Chapel Hill,
NC 27599-3175
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: