Re: Error in build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



3.6.2011 21:56, Kai Ruottu kirjoitti:
3.6.2011 21:41, Harry Trinta kirjoitti:

/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...

The 'linux-libc-dev_2.6.38-8.42_i386.deb' had them but
unpacking it put them to :

    usr/include/i386-linux-gnu/asm

So a symlink:

    asm -> i386-linux-gnu/asm

could be the workaround (in the i386 case)



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux