* 2.5.19 : 'make dep' error
@ 2002-05-29 20:14 Frank Davis
2002-05-29 20:37 ` Kai Germaschewski
0 siblings, 1 reply; 4+ messages in thread
From: Frank Davis @ 2002-05-29 20:14 UTC (permalink / raw)
To: linux-kernel
Hello all,
I received the following error for 'make dep' . 2.5.18 works fine. 'make
mrproper' was done after patching from 2.5.18.
Regards,
Frank
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.19 : 'make dep' error
2002-05-29 20:14 2.5.19 : 'make dep' error Frank Davis
@ 2002-05-29 20:37 ` Kai Germaschewski
2002-05-29 21:22 ` Arnaud Launay
0 siblings, 1 reply; 4+ messages in thread
From: Kai Germaschewski @ 2002-05-29 20:37 UTC (permalink / raw)
To: Frank Davis; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.19 : 'make dep' error
2002-05-29 20:37 ` Kai Germaschewski
@ 2002-05-29 21:22 ` Arnaud Launay
2002-05-29 21:53 ` Kai Germaschewski
0 siblings, 1 reply; 4+ messages in thread
From: Arnaud Launay @ 2002-05-29 21:22 UTC (permalink / raw)
To: linux-kernel
Le Wed, May 29, 2002 at 03:37:15PM -0500, Kai Germaschewski a écrit:
> 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.
Or use the following:
--- linux-2.5.19-old/scripts/Makefile Wed May 29 20:42:56 2002
+++ linux/scripts/Makefile Wed May 29 21:46:58 2002
@@ -8,7 +8,7 @@
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
split-include: split-include.c
- $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) -I $(HPATH) -o $@ $<
# xconfig
# ---------------------------------------------------------------------------
I find it perfectly idiotic to tell people to use older kernel
include. Better to tell them to use stable versions if they do
not know what they do.
I want applications to be build with the new kernel headers,
including new API, especially when some aren't backward
compatible, and I think I'm not alone. And the only way to find
these is to symlink those headers to the utilised kernel release.
Arnaud.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.19 : 'make dep' error
2002-05-29 21:22 ` Arnaud Launay
@ 2002-05-29 21:53 ` Kai Germaschewski
0 siblings, 0 replies; 4+ messages in thread
From: Kai Germaschewski @ 2002-05-29 21:53 UTC (permalink / raw)
To: Arnaud Launay; +Cc: linux-kernel
On Wed, 29 May 2002, Arnaud Launay wrote:
> Or use the following:
>
> --- linux-2.5.19-old/scripts/Makefile Wed May 29 20:42:56 2002
> +++ linux/scripts/Makefile Wed May 29 21:46:58 2002
> @@ -8,7 +8,7 @@
> $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
>
> split-include: split-include.c
> - $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
> + $(HOSTCC) $(HOSTCFLAGS) -I $(HPATH) -o $@ $<
>
> # xconfig
> # ---------------------------------------------------------------------------
>
> I find it perfectly idiotic to tell people to use older kernel
> include. Better to tell them to use stable versions if they do
> not know what they do.
Well, are you sure you know what you're doing? This may get you through
the kernel build (though I suspect you have to do the same for mkdep), but
basically not a single user space application will compile on your
bleeding edge box from now on...
--Kai
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-05-29 21:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-29 20:14 2.5.19 : 'make dep' error Frank Davis
2002-05-29 20:37 ` Kai Germaschewski
2002-05-29 21:22 ` Arnaud Launay
2002-05-29 21:53 ` Kai Germaschewski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.