asm/page.h: No such file or directory

Mike Frysinger vapier at
Sat Jan 5 07:59:56 UTC 2008

On Sunday 04 November 2007, Haavard Skinnemoen wrote:
> On Sat, 3 Nov 2007 10:35:48 +0100
> "Carmelo Amoroso" <carmelo73 at> wrote:
> > > arm-softfloat-linux-uclibc-strip -x -R .note -R .comment brk.o
> > > ioperm.c:47:22: error: asm/page.h: No such file or directory
> >
> > It seems you don't have kernel headers properly configured
> > for your architecture, or worst no properly installed.
> > Check firstly if include/asm is a symlink to include/asm-<arch>.
> Actually, <asm/page.h> is about to be removed on all architectures, and
> it's been empty for some time on several architectures (avr32, arm, ...)

i made a preemptive strike in Gentoo a while ago and nuked page.h and friends 
so as to catch the bad packages earlier than most

> I think ioperm.c should be fixed so that it doesn't rely on PAGE_SIZE
> (which I assume is the reason why it needs asm/page.h in the first
> place.)

it was fixed some time ago ... but the version in Gentoo does not contain the 
fix, so from time to time, people get bitten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the uClibc mailing list