Christophe Trophime wrote:
> Hi,
> I retrieve the latest version of systemimager from svn with the gcc43
> patches. Trying to compile systemimager as root I end-up with the
> following error :

[snip]

> fsck.cramfs.c:79:22: error: asm/page.h: No such file or directory
> make[2]: *** [fsck.cramfs.o] Error 1

asm/page.h is no more exported to userspace tools in recent kernels,
see:

http://lkml.org/lkml/2007/1/4/20

A workaround for this is to create a symlink:
ln -s /usr/src/linux/include/asm/page.h /usr/include/asm

In perspective all the new versions of userspace tools will fix the
problem for the future.

> I also wish to be able to rebuild the rpm as a "non-root" user.

I would suggest to use fakeroot for this (I usually use it to build
official RPMs as non-root user). Just run a `fakeroot make rpm` and fix
your path from command line if needed.

-Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to