Help with source files
Tony Arnold
tony.arnold at manchester.ac.uk
Wed Feb 28 19:56:17 UTC 2007
Robe,
Robe wrote:
> Hi,
>
> When I try to compile this program I get an error
>
> #include "/usr/include/linux/elf.h"
>
> int main()
> {
>
> return 0;
> }
>
> This is the error I get from the compiler
>
> In file included from /usr/include/asm/elf.h:7,
> from /usr/include/linux/elf.h:7,
> from test.cpp:1:
> /usr/include/asm-i386/elf.h:10:27: error: asm/processor.h: No such file
> or directory
> /usr/include/asm-i386/elf.h:11:47: error: asm/system.h: No such file or
> directory
>
> Does anybody know how to get those files?
I just compiled this OK on my Dapper system. I have installed the
build-essential package and also the linux-headers package, so maybe the
files are in one of those somewhere.
Regards,
Tony.
--
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users
mailing list