lkml.org 
[lkml]   [2002]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.19 : 'make dep' error
On Wed, 29 May 2002, Frank Davis wrote:

> make[1]: Entering directory `/usr/src/linux/scripts'
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o split-include split-include.c
> In file included from /usr/include/linux/errno.h:4,
> from /usr/include/bits/errno.h:25,
> from /usr/include/errno.h:36,
> from split-include.c:26:
> /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
> make[1]: *** [split-include] Error 1
> make[1]: Leaving directory `/usr/src/linux/scripts'
> make: *** [scripts/mkdep] Error 2

Uh-oh, your system doesn't build user space applications (that's not even
kernel specific). I suppose you have a symlink from /usr/include/asm
to /usr/src/linux/include/asm? Ask google why that is not a good idea -
well, actually, you have the answer right there ;-)

The kernel asm-i386/errno.h was changed to just include
asm-generic/errno.h in 2.5.19. Unfortunately, due to the symlink, your
userspace includes the kernel asm/errno.h, which now points to the (for
userspace non existing) asm-generic/errno.h - bad luck.

So fix your setup to not use symlinks, or, at least, put an older kernel
back into /usr/src/linux and compile the new kernels elsewhere.

--Kai


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.065 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site