Hmm, ill look at my includes. I must be doing somethin wrong Ive been developing on gentoo btw -jc On Tue, 21 Sep 2004, Simon La Rose wrote: > > Forgot to ask, you think that this will compile under Win32? > > My fastest machine is a Win32 one. > > Doubt it, I can't get it working on Debian GNU/Linux x86. > > > g++ -I./include -Wno-deprecated -O3 -c ./src/key.cpp -o key.o > > g++ -I./include -Wno-deprecated -O3 -c ./src/keyspacechunk.cpp -o > > keyspacechunk.o > > g++ -I./include -Wno-deprecated -O3 -c ./src/print.cpp -o print.o > > In file included from include/packet.h:5, > > from include/packet80211.h:5, > > from include/print.h:13, > > from src/print.cpp:11: > > /usr/local/include/net/bpf.h:408: error: previous declaration of `u_int > > bpf_filter(bpf_insn*, u_char*, unsigned int, unsigned int)' with C++ > > linkage > > /usr/local/include/pcap.h:201: error: conflicts with new declaration > > with C linkage > > /usr/local/include/net/bpf.h:407: error: previous declaration of `int > > bpf_validate(bpf_insn*, int)' with C++ linkage > > /usr/local/include/pcap.h:202: error: conflicts with new declaration > > with C linkage > > make: *** [print.o] Error 1 > > > -- > Simon `semen` La Rose > semen AT 0x90 DOT org > >