When you try to “make” coWPAtty 4.6 in Ubuntu show following error:
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o utils.o utils.c
utils.c:33:18: error: pcap.h: No such file or directory
In file included from utils.c:35:
utils.h:29: error: expected ‘)’ before ‘’ token
utils.c:142: error: expected ‘)’ before ‘’ token
make: *** [utils.o] Error 1
Solution:
> sudo apt-get install libssl-dev
> sudo apt-get install libpcap0.8-dev
> sudo make install
3 replies on “coWPAtty – “cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o utils.o utils.c utils.c:33:18: error: pcap.h: No such file or directory In file included from utils.c:35: utils.h:29: error: expected ‘)’ before ‘*’ token utils.c:142: error: expected ‘)’ before ‘*’ token make: *** [utils.o] Error 1””
Thanks!
Had the exact same problem on Linux Mint and this worked just fine.
I had similar issue, but mine outputted this…
~/cowpatty-4.6 $ make cowpatty
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb cowpatty.c -o cowpatty utils.o md5.o sha1.o -lpcap -lcrypto
cc: error: utils.o: No such file or directory
cc: error: md5.o: No such file or directory
cc: error: sha1.o: No such file or directory
make: *** [cowpatty] Error 1
Hey, have you solved it?? I’m plagued, too!!