Help with source files

Ouattara Oumar Aziz wattazoum at gmail.com
Wed Feb 28 20:03:54 UTC 2007


Robe a écrit :
> 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?
> 
> Thanx,
> 
> --
> 
> Robe.
> 

use apt-file to know what packages contain the file you seek .

~$ apt-file search asm/processor.h

> libuclibc-dev: usr/i386-uclibc-linux/include/asm/processor.h
> xen-doc-2.6.16:
> usr/share/doc/xen-doc-2.6.16/Documentation/include/asm-i386/mach-xen/asm/processor.h.gz
> xen-doc-2.6.16:
> usr/share/doc/xen-doc-2.6.16/Documentation/include/asm-x86_64/mach-xen/asm/processor.h.gz
> xen-doc-2.6.17:
> usr/share/doc/xen-doc-2.6.17/Documentation/include/asm-i386/mach-xen/asm/processor.h.gz
> xen-doc-2.6.17:
> usr/share/doc/xen-doc-2.6.17/Documentation/include/asm-x86_64/mach-xen/asm/processor.h.gz
> xen-headers-2.6.16:
> usr/src/xen-headers-2.6.16/include/asm-i386/mach-xen/asm/processor.h
> xen-headers-2.6.17-6:
> usr/src/xen-headers-2.6.17-6/include/asm-i386/mach-xen/asm/processor.h
> xen-headers-2.6.17-6:
> usr/src/xen-headers-2.6.17-6/include/asm-x86_64/mach-xen/asm/processor.h








More information about the ubuntu-users mailing list