Bug#321969: linux-kernel-headers: Please install the 32-bit 'ppc' kernel headers on the ppc64 architecture
On Mon, Aug 08, 2005 at 05:30:48PM +0200, Andreas Jochens wrote:
> > never use kernel headers from userland. Use glibc-kerneheaders which in
> > already does the proper redirecting of /usr/include/asm/ to 32 or 64 bit
> > versions depending on whether you're compiling with -m64 or not.
> How does this redirection work?
Look at any file in /usr/include/asm/ on a current sid system ;-)
> with -m32. The /usr/include/linux has the 64-bit ppc64 kernel header
> files installed.
/usr/include/linux is per defintion architecture independent. Only
/usr/include/asm is architecure-dependent.