[uClibc]"The path '../../linux/include/asm' doesn't exist."

Jason Bodnar jason at shakabuku.org
Sat Feb 9 00:33:50 UTC 2002


I'm trying to build uClibc-0.9.9 and after making changes to Config and
running 'make' I get:

$ make
 
The path '../../linux/include/asm' doesn't exist.
I bet you didn't set KERNEL_SOURCE, TARGET_ARCH or HAS_MMU in `Config'
correctly.  Please edit `Config' and fix these settings.
 
make: *** [headers] Error 1


I have defined KERNEL_SOURCE and HAS_MMU in Config:

KERNEL_SOURCE=../../linux

# Set this to `false' if your CPU doesn't have a memory management unit (MMU).
# Set it to `true' otherwise.
HAS_MMU = true


If I'm correct, TARGET_ARCH is defined in Rules.mak and it should be based on
the output of gcc -dumpmachine:

$ gcc -dumpmachine | sed -e s'/-.*//' -e 's/i.86/i386/'
i386

So I'm not sure why TARGET_ARCH is not getting set (correctly).

Finally, '../../linux/include/asm' does exist:

$ dir ../../linux/include/asm
lrwxrwxrwx    1 jbodnar  jbodnar         8 Feb  8 02:02
../../linux/include/asm -> asm-i386/


What am I doing wrong?

--
Open WebMail Project (http://openwebmail.org)




More information about the uClibc mailing list