I'm trying to compile a source code and it needs this header file 'pfvar.h'
From where can I get it
I have Ubuntu 12.04 LTS
Thanks in advance
2 Answers
[UPDATE]
You're trying to compile a source for the wrong architecture, I found pfvar.h in the kFreeBSD headers for development. Basically you need a BSD-like system to build your program.
net/pfvar.h sounds like a kernel header, try to install the header files for your current kernel:
sudo apt-get install linux-headers-generic 4 What are you trying from source? Usually when I have this kind of problem, it's because I don't have a -dev package installed for one of the dependencies. For example if XnetX was a dependency of a program I was trying to compile, I would need the XnetX-dev package installed from the software center. Doing this will download the source files for that package thereby allowing you to use the header and src files.
3