[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ABF5328.8020901@upmc.fr>
Date: Sun, 27 Sep 2009 13:57:28 +0200
From: Bernard Pidoux <bernard.pidoux@...c.fr>
To: linux-kernel@...r.kernel.org
Subject: Re: 2.6.31.1 BUG #include <asm/bitsperlong.h>
The only file in asm-x86 directory is asm-offsets.h
This is a Mandriva 2009.1 Spring distro.
I checked that it was the same on two other machines with the same
new installed distro.
I will copy bitsperlong.h into asm-x86 as suggested.
Should other files be present in the above directory ?
Should I send a bug report to Mandriva ?
Thank you all for your help.
Bernard Pidoux
On Sun, Sep 27, 2009 at 01:16:41PM +0200, Bernard Pidoux wrote:
> The problem is that when I compile an application that never caused any
> problem before I get an error due to incorrect reference to
> <asm/bitsperlong>
>
> This was due to int-ll64.h including <asm/bitsperlong.h> which does not exists.
>
> Is the correct solution to replace symbolic link ?
>
> /usr/src/linux/include/asm->asm-x86
>
> by
>
> /usr/src/linux/include/asm->asm-generic
The correct fix is to include the missing bitsperlong in
the asm-x86 directory.
In other words your kernel headers are broken.
Looking at latest kernel we do export bitsperlong.h.
So see if you can find a fix for your broken kernel headers.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists