p0f patch for SUSE 9.2 and SUSE 9.3If you get the following error when doing p0f build : $ ./Build Your system type is: Linux Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make found at /usr/bin/gmake, trying to use it... gcc -O3 -Wall -fomit-frame-pointer -funroll-loops -o p0f p0f.c p0f-query.c -lpcap -I/usr/include/pcap -I/usr/local/include/pcap p0f.c:39:21: net/bpf.h: No such file or directory gmake: *** [p0f] Error 1 It looks like the Build script cannot find the net/bpf.h header file. In SUSE 9.2 and 9.3 (and maybe other version too), the header file is located in /usr/include directory and it is named pcap-bpf.h. To fix the problem above, you can download the patch I've provided and put it in the parent directory of your p0f directory. Next, you can apply the patch with the following command : $ patch -p0 < p0f.patch Then run the Build script again : ./Build Your system type is: Linux Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make found at /usr/bin/gmake, trying to use it... gcc -O3 -Wall -fomit-frame-pointer -funroll-loops -o p0f p0f.c p0f-query.c -lpcap -I/usr/include/pcap -I/usr/local/include/pcap strip p0f 2>/dev/null || true >> You can also try 'make p0fq' to compile a sample query >> client (see README for more information). |