Categories
Ubuntu

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”

When you try to “makecoWPAtty 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””

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.