View previous topic :: View next topic |
Author |
Message |
jsw n00b
Joined: 03 Nov 2002 Posts: 47 Location: Germany
|
Posted: Thu Sep 11, 2003 3:00 pm Post subject: Error während Kompilierung von Kernel 2.4.22 bei "make |
|
|
Hi Forum,
ich bekomme den Kernel 2.4.22 einfach nicht kompiliert.
Nach Installieren der vanilla-sources habe ich ein "make oldconfig" erfolgreich durchgeführt und auch mit "make menuconfig" probehalber mal geprüft. Schien alles okay zu sein.
binutils und modutils sind auf dem aktuellsten Stand, gcc ist 3.2.3, glibc ist 2.3.2.
Beim "make dep" kommt folgende Fehlermeldung inkl. Abbruch:
Quote: |
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/ mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/limits.h: 132,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/syslimits .h:7,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/limits.h: 11,
from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: for each function it appears in.)
scripts/mkdep.c:221: warning: unused variable `resolved_path'
make: *** [scripts/mkdep] Error 1
|
Gleiches mit Kernel 2.4.21 läuft sauber durch.
Hat jemand eine Ahnung, was faul sein könnte?
Gruss,
Jörg |
|
Back to top |
|
|
rincewind Apprentice
Joined: 16 Aug 2002 Posts: 172 Location: Essen, Germany
|
Posted: Fri Sep 12, 2003 5:45 am Post subject: |
|
|
Hi,
Ich hab zwar nicht so den plan aber das hier
Quote: | linux/limits.h: No such file or directory |
sieht für mich so aus als ob das script den link auf /usr/src/linux
gesetzt haben will, hast du das mal probiert ?
gruss rince |
|
Back to top |
|
|
jsw n00b
Joined: 03 Nov 2002 Posts: 47 Location: Germany
|
Posted: Fri Sep 12, 2003 8:26 am Post subject: Problem gefunden, trotzdem etwas merkwürdig alles... |
|
|
Hi Forum.
Die Ursache liegt darin, dass es ein Paket "sys-kernel/linux-headers" in der Version 2.4.19 gibt, welches ich installiert hatte und im Rahmen von Aufräumarbeiten gelöscht habe. Dieses Paket legt in /usr/include/linux die Header-Dateien von Kernel 2.4.19 ab.
Bei Kernel 2.4.21 ging es doch nicht, ich habe es nochmal ausprobiert, da ja obiges paket nicht mehr da war und demnach die gleiche Problematik bestand.
Werde nun mal versuchen
a) die Header von 2.4.19 wieder zu installieren, wobei ich mich frage, ob das Sinn macht und nicht Probleme gibt mit einem neueren Kernel, der ja nun auch neuere Headerdateien hat?
Hat einer eine Ahnung, ob es ratsam ist? Oder lieber gleich Variante b) ausprobieren?
b) in /usr/include einen Symlink auf /usr/src/linux/include/linux anlegen, da dort ja die Headerdateien des aktuellen Kernels liegen und er die ja verwenden kann.
Gruss,
Jörg |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|