tcpdump mailing list archives

libpcap0.9.8 compile error with DAG-enabled


From: "lei wei" <weilei1983 () gmail com>
Date: Sun, 6 Jan 2008 12:40:33 -0500

Hello,

When I was compiling libpcap0.9.8 with DAG-enabled, it gave me an error as
follows:

gcc -O2 -I.  -I/usr/local/dag/include -DHAVE_CONFIG_H
-D_U_="__attribute__((unused))" -c ./pcap-dag.c
./pcap-dag.c: In function `dag_open_live':
./pcap-dag.c:721: error: `p' undeclared (first use in this function)
./pcap-dag.c:721: error: (Each undeclared identifier is reported only once
./pcap-dag.c:721: error: for each function it appears in.)
*** Error code 1

I looked into the code and 'p' is not declared. But I'm not sure of what I
should replace it with.

So any comments on this?

Thanks.

-- 
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: