[uClibc]Kernel ASM Includes error (path does not exsits)?

Michael Stevenson theprototype at shaw.ca
Wed Jan 8 22:30:54 UTC 2003


On Wed, 08 Jan 2003, you wrote:
> On Wed Jan 08, 2003 at 10:29:30AM -0600, theprototype at shaw.ca wrote:
> > > I am recieving this error when I attempt to compile uClib 0.9.16 (or any version for that matter).
> > > 
> > > The path '/usr/src/linux/include/asm' doesn't exist.
> > > I bet you didn't set KERNEL_SOURCE, TARGET_ARCH or UCLIBC_HAS_MMU correctly when you configured uClibc.
> > > Please fix these settings.
> > > 
> > > This happens no matter what kernel I use and where it is located. I have tried 4 different locations, kernels, and no go.
> > 
> > My kernel source dir is set to '/usr/src/linux/' and the include/asm link do exsist as well.
> > 
> > I've checked everything time and time again.
> > 
> > This SHOULD be working.
> 
> Tried running 'make -d' and watching what make is doing when it
> finds the failure, in particular, look where it says
>     Must remake target `headers'.
> 
> since for some reason, it isn't finding uClibc/include/asm/unistd.h.
> What does uClibc/include/asm point to?
> 
>  -Erik
> 
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc

THERES A BUNCH OF THIS (1500 lines or so):

  Trying implicit prerequisite `RCS/all.sh,v'.
  Trying pattern rule with stem `all.sh'.
  Trying implicit prerequisite `RCS/all.sh'.
  Trying pattern rule with stem `all.sh'.
  Trying implicit prerequisite `s.all.sh'.
  Trying pattern rule with stem `all.sh'.
  Trying implicit prerequisite `SCCS/s.all.sh'.
 No implicit rule found for `all'.
  Considering target file `headers'.
   File `headers' does not exist.
    Considering target file `include/bits/uClibc_config.h'.
      Pruning file `.config'.
      Pruning file `extra/Configs/Config.in'.
      Pruning file `extra/Configs/Config.in.arch'.
      Pruning file `extra/Configs/Config.mipsEEel'.
     Finished prerequisites of target file `include/bits/uClibc_config.h'.
     Prerequisite `.config' is older than target `include/bits/uClibc_config.h'.
     Prerequisite `extra/Configs/Config.in' is older than target `include/bits/uClibc_config.h'.
     Prerequisite `extra/Configs/Config.in.arch' is older than target `include/bits/uClibc_config.h'.
     Prerequisite `extra/Configs/Config.mipsEEel' is older than target `include/bits/uClibc_config.h'.

THEN THIS:

    No need to remake target `include/bits/uClibc_config.h'.
   Finished prerequisites of target file `headers'.
  Must remake target `headers'.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 1 unreaped children.
Got a SIGCHLD; 1 unreaped children.
rm -f include/asm;
Putting child 0x10013b58 (headers) PID 800 on the chain.
Live child 0x10013b58 (headers) PID 800 
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x10013b58 PID 800 
Live child 0x10013b58 (headers) PID 801 
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x10013b58 PID 801 
Live child 0x10013b58 (headers) PID 803 
 
The path '/mnt/lfs/usr/src/linux/include/asm' doesn't exist.
I bet you didn't set KERNEL_SOURCE, TARGET_ARCH or UCLIBC_HAS_MMU
correctly when you configured uClibc.  Please fix these settings.
 
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x10013b58 PID 803 
make: *** [headers] Error 1
Removing child 0x10013b58 PID 803  from chain.

And thats it after running a "make -d"

Does this help?



More information about the uClibc mailing list