Error compiling tcpdump
I know this really isn't the place to ask but....
When trying to build tcpdump (after bulding libpcap) I get the following:
I checked the ipproto.h file and line 40 is the following structure declaration:
gcc -O2 -DHAVE_CONFIG_H -I/usr//include -I./missing -D_U_="" -I. -I/usr//include -I./missing -c ./ipproto.c
In file included from ./ipproto.c:27:
./ipproto.h:40: error: array type has incomplete element type
make: *** [ipproto.o] Error 1
Now I'm pretty sure I know why the error is generated, but what should I do? These are files that other people have compiled from tcpdump.org , yet I get this error. Any help is appreciated.
extern struct tok ipproto_values;