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

Categories
Android Cygwin NDK

Cygwin – “ERROR: You are using a non-Cygwin compatible Make program.”

“ERROR: You are using a non-Cygwin compatible Make program.
Currently using: C:/cygwin/bin/make

Solution:

Follow these steps:

  1. Ensure that the Cygwin ‘make’ package is installed.
    NOTE: You will need GNU Make 3.81 or later!

  2. Define the GNUMAKE environment variable to point to it, as in:

export GNUMAKE=/usr/bin/make

  1. Call ‘ndk-build’ again.”

If the ‘make’ is installed, this error probably stems from a bug. You need to move your ndk to a folder that does not have spaces in the path as well as your project.

For example:
from
C:\Program Files\Android\android-ndk-r5c
to
C:\Android\android-ndk-r5c

Then define the GNUMAKE environment variable as described in the error message text.

Alternative Solution: by AntonK:

Define the PATH to it using DOS-like notation:

PATH=…;C:\PROGRA~1\Android\android-ndk-r6b;

Did my solution solve your problem?

%d bloggers like this: