This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error in build


3.6.2011 21:41, Harry Trinta kirjoitti:

I am using Ubuntu 11..
I tried install linux-libc-dev.. look:

/ home / harry / gcc / build # apt-get install linux-libc-dev
Reading package lists ... Ready
Building dependency tree
Reading state information ... Ready
linux-libc-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.

I already have it installed

/usr/include/linux/errno.h: 4:23: fatal error: asm/errno.h:
No such file or directory

The Ubuntu 11.04 kernel headers ('include/asm' and 'include/linux') seem to have some weird arrangement. What I found for the i386 release as packages was:

linux-headers-2.6.38-8-generic-pae_2.6.38-8.42_i386.deb
linux-headers-2.6.38-8-generic_2.6.38-8.42_i386.deb
linux-headers-2.6.38-8-virtual_2.6.38-8.42_i386.deb
linux-headers-2.6.38-8_2.6.38-8.42_all.deb
linux-libc-dev_2.6.38-8.42_i386.deb

I needed these for a crosscompiler to Ubuntu 11.04... In some of
these were the 'include/asm' headers...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]