Kismet Wireless

Kismet Forums

 

Posted by:fornax
Subject:pcapsource.cc Error on compile
Date:11:24:35 23/04/2007

Hi,

I'm Trying to compile kismet-2007-01-R1b on a SuSE 10.2 Disto and am geting an error during the make process, all headers seem fine during configuring and have had kismet-2006_04-R1-27 running on the same install perfectly. I have tried compiling after configuring with ./configure --disable-pcap and it compiles and installs fine with no problem, however it is rather pointless running kismet without pcap as my 2 cards use madwifi and orinoco drivers.

I have listed the make output below in the hopes of someone being able to help or that if there is a problem with pcapsource.cc that it might be useful for debugging purposes

12:02 laptop21:../Desktop/kismet-2007-01-R1b # make
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c util.cc -o util.o
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c cygwin_utils.cc -o cygwin_utils.o
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c ringbuf.cc -o ringbuf.o
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c configfile.cc -o configfile.o
macaddr.h:175: warning: unused parameter ‘in’
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c speech.cc -o speech.o
macaddr.h:175: warning: unused parameter ‘in’
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c ifcontrol.cc -o ifcontrol.o
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c iwcontrol.cc -o iwcontrol.o
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c madwifing_control.cc -o madwifing_control.o
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c packet.cc -o packet.o
macaddr.h:175: warning: unused parameter ‘in’
g++ -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2007\" -DVERSION_MINOR=\"01\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector-all -Wall -W -pthread -c pcapsource.cc -o pcapsource.o
macaddr.h:175: warning: unused parameter ‘in’
pcapsource.cc: In member function ‘virtual int PcapSource::FetchDescriptor()’:
pcapsource.cc:318: error: ‘pcap_get_selectable_fd’ was not declared in this scope
pcapsource.cc: At global scope:
pcapsource.cc:327: warning: unused parameter ‘bp’
pcapsource.cc:451: warning: unused parameter ‘data’
pcapsource.cc:451: warning: unused parameter ‘moddata’
pcapsource.cc:624: warning: unused parameter ‘data’
pcapsource.cc:624: warning: unused parameter ‘moddata’
pcapsource.cc:718: warning: unused parameter ‘moddata’
pcapsource.cc:1179: warning: unused parameter ‘in_err’
pcapsource.cc:1184: warning: unused parameter ‘in_err’
pcapsource.cc:1197: warning: unused parameter ‘in_err’
pcapsource.cc:1202: warning: unused parameter ‘in_err’
pcapsource.cc:1218: warning: unused parameter ‘in_err’
pcapsource.cc:1223: warning: unused parameter ‘in_err’
pcapsource.cc:1228: warning: unused parameter ‘in_err’
pcapsource.cc:1240: warning: unused parameter ‘in_err’
pcapsource.cc:1245: warning: unused parameter ‘in_err’
pcapsource.cc:1270: warning: unused parameter ‘in_dev’
pcapsource.cc:1270: warning: unused parameter ‘initch’
pcapsource.cc:1270: warning: unused parameter ‘in_err’
pcapsource.cc:1270: warning: unused parameter ‘in_if’
pcapsource.cc:1270: warning: unused parameter ‘in_ext’
pcapsource.cc:1277: warning: unused parameter ‘initch’
pcapsource.cc:1277: warning: unused parameter ‘in_ext’
pcapsource.cc:1328: warning: unused parameter ‘initch’
pcapsource.cc:1328: warning: unused parameter ‘in_ext’
pcapsource.cc:1360: warning: unused parameter ‘initch’
pcapsource.cc:1360: warning: unused parameter ‘in_if’
pcapsource.cc:1360: warning: unused parameter ‘in_ext’
pcapsource.cc:1447: warning: unused parameter ‘initch’
pcapsource.cc:1447: warning: unused parameter ‘in_ext’
pcapsource.cc:1533: warning: unused parameter ‘initch’
pcapsource.cc:1533: warning: unused parameter ‘in_ext’
pcapsource.cc:1553: warning: unused parameter ‘in_ext’
pcapsource.cc:1588: warning: unused parameter ‘initch’
pcapsource.cc:1588: warning: unused parameter ‘in_ext’
pcapsource.cc:1680: warning: unused parameter ‘in_if’
pcapsource.cc:1734: warning: unused parameter ‘in_if’
pcapsource.cc:1734: warning: unused parameter ‘in_ext’
pcapsource.cc:2044: warning: unused parameter ‘initch’
pcapsource.cc:2044: warning: unused parameter ‘in_ext’
pcapsource.cc:2084: warning: unused parameter ‘initch’
pcapsource.cc:2084: warning: unused parameter ‘in_ext’
pcapsource.cc:2130: warning: unused parameter ‘initch’
pcapsource.cc:2130: warning: unused parameter ‘in_ext’
pcapsource.cc:2158: warning: unused parameter ‘initch’
pcapsource.cc:2158: warning: unused parameter ‘in_if’
pcapsource.cc:2265: warning: unused parameter ‘in_dev’
pcapsource.cc:2265: warning: unused parameter ‘initch’
pcapsource.cc:2265: warning: unused parameter ‘in_err’
pcapsource.cc:2265: warning: unused parameter ‘in_if’
pcapsource.cc:2265: warning: unused parameter ‘in_ext’
pcapsource.cc:2274: warning: unused parameter ‘in_if’
pcapsource.cc:2274: warning: unused parameter ‘in_ext’
pcapsource.cc:2308: warning: unused parameter ‘initch’
pcapsource.cc:2308: warning: unused parameter ‘in_ext’
pcapsource.cc:2337: warning: unused parameter ‘in_if’
pcapsource.cc:2337: warning: unused parameter ‘in_ext’
pcapsource.cc:2388: warning: unused parameter ‘in_if’
pcapsource.cc:2388: warning: unused parameter ‘in_ext’
pcapsource.cc:2439: warning: unused parameter ‘initch’
pcapsource.cc:2439: warning: unused parameter ‘in_if’
pcapsource.cc:2439: warning: unused parameter ‘in_ext’
pcapsource.cc:2457: warning: unused parameter ‘initch’
pcapsource.cc:2457: warning: unused parameter ‘in_if’
pcapsource.cc:2457: warning: unused parameter ‘in_ext’
pcapsource.cc:2574: warning: unused parameter ‘in_ext’
make: *** [pcapsource.o] Error 1


Reply to this message