2002-07-06 11:43:29

by Dominik Geisel

[permalink] [raw]
Subject: 2.5.25 compile error

Hi,

on 'make dep' with 2.5.25 I get the following error:

-----------------------------------------------------------------------------
make[1]: Wechsel in das Verzeichnis Verzeichnis ?/usr/src/linux?
make[2]: Wechsel in das Verzeichnis Verzeichnis ?/usr/src/linux/scripts?
gcc -Wp,-MD,./.split-include.d -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[2]: *** [split-include] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/linux/scripts?
make[1]: *** [scripts] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/linux?
make: *** [.hdepend] Fehler 2
-----------------------------------------------------------------------------

Any ideas?

Greetings,
Dominik Geisel

--
We may not imagine how our lives could be more frustrating and
complex--but Congress can.
-Cullen Hightower (contributed by Chris Johnston)
907D F135 0EF8 5A4D 633B 805D 25E7 478B 1322 4688


2002-07-07 16:08:55

by Stephen Rothwell

[permalink] [raw]
Subject: Re: 2.5.25 compile error

Hi Dominik,

On Sat, 6 Jul 2002 13:45:58 +0200 (CEST) Dominik Geisel <[email protected]> wrote:
>
> on 'make dep' with 2.5.25 I get the following error:
>
> -----------------------------------------------------------------------------
> make[1]: Wechsel in das Verzeichnis Verzeichnis ?/usr/src/linux?
> make[2]: Wechsel in das Verzeichnis Verzeichnis ?/usr/src/linux/scripts?
> gcc -Wp,-MD,./.split-include.d -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[2]: *** [split-include] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/linux/scripts?
> make[1]: *** [scripts] Fehler 2
> make[1]: Verlassen des Verzeichnisses Verzeichnis ?/usr/src/linux?
> make: *** [.hdepend] Fehler 2
> -----------------------------------------------------------------------------
>
> Any ideas?

Remove the symlinks between /usr/include/{linux,asm} and your kernel
source tree ...

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/