Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50094 - p0f-1.8.2 compilation fails -- net/bpf.h - no such file
Summary: p0f-1.8.2 compilation fails -- net/bpf.h - no such file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-05 05:55 UTC by Michal
Modified: 2004-10-15 03:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Include pcap.h instead of net/bpf.h (p0f-1.8.2-libpcap-include.patch,261 bytes, patch)
2004-06-24 14:33 UTC, Niels Teglsbo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal 2004-05-05 05:55:03 UTC
Hi!
Compilation of p0f-1.8.2 fails and i get this massage:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-analyzer/p0f-1.8.2 to /
>>> md5 src_uri ;-) p0f-1.8.2.tgz
>>> Unpacking source...
>>> Unpacking p0f-1.8.2.tgz to /var/tmp/portage/portage/p0f-1.8.2/work
>>> Source unpacked.
patching file Makefile
gcc -O3 -Wall -DVER=\"1.8.2\" -o p0f p0f.c -lpcap
p0f.c:32:21: net/bpf.h: Nie ma takiego pliku ani katalogu
make: *** [p0f] Błąd 1
 
!!! ERROR: net-analyzer/p0f-1.8.2 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


Ok - i use polish messages and 
"Nie ma takiego pliku ani katalogu" means - no such file or directory
and "Błąd 1" - means Error 1.



Reproducible: Always
Steps to Reproduce:
Just emerge  p0f




emerge p0f-2.0.3.ebuild works fine.


this is my gcc version  gcc --version
gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
i have preformed emerge sync today (05.05.04).
Comment 1 Niels Teglsbo 2004-06-24 14:33:40 UTC
Created attachment 34087 [details, diff]
Include pcap.h instead of net/bpf.h

This patch makes p0f.c include <pcap.h> instead of <net/bpf.h>.

It seems to fix the problem.
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-10-15 03:03:43 UTC
Fixed 1.8.2 , 2.0.2 in portage
Removed 2.0.3 patch in favor of sed.