Eagle
21.06.06, 22:22
Hallo Freunde,
ich habe mir den neuen Kernel 2.6.17.1 geholt und wollte ihn gleich installieren. Jetzt nur das Compilieren mit make-kpkg nicht mehr. Ich bekomme da Meldungen wie
/usr/src/linux-2.6.17.1/scripts/gcc-version.sh: line 1: i486-linux-gnu-gcc: command not found
/usr/src/linux-2.6.17.1/scripts/gcc-version.sh: line 1: i486-linux-gnu-gcc: command not found
make: i486-linux-gnu-gcc: Kommando nicht gefunden
/usr/share/kernel-package/rules:1637: *** Error. I do not know where the kernel image goes to [kimagedest undefined] The usual case for this is that I could not determine which arch or subarch tihs machine belongs to. Please specify a subarch, and try again.. Schluss.
Und wenn ich mir das Script ansehe, dann steht da drin:
#!/bin/sh
#
# gcc-version gcc-command
#
# Prints the gcc version of `gcc-command' in a canonical 4-digit form
# such as `0295' for gcc-2.95, `0303' for gcc-3.3, etc.
#
compiler="$*"
MAJOR=$(echo __GNUC__ | $compiler -E -xc - | tail -n 1)
MINOR=$(echo __GNUC_MINOR__ | $compiler -E -xc - | tail -n 1)
printf "%02d%02d\\n" $MAJOR $MINOR
Irgendwie findet der, meine ich mal, meinen gcc-Compiler nicht. Ein gcc -v liefert mir aber
Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Konfiguriert mit: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread-Modell: posix
gcc-Version 3.3.5 (Debian 1:3.3.5-13)
Ich bin jetzt etwas ratlos, weil das Compilieren bislang immer klappte. Einzig könnte ich mir vorstellen, dass der Compiler doch nicht stimmt.
Grüsse
Eagle
ich habe mir den neuen Kernel 2.6.17.1 geholt und wollte ihn gleich installieren. Jetzt nur das Compilieren mit make-kpkg nicht mehr. Ich bekomme da Meldungen wie
/usr/src/linux-2.6.17.1/scripts/gcc-version.sh: line 1: i486-linux-gnu-gcc: command not found
/usr/src/linux-2.6.17.1/scripts/gcc-version.sh: line 1: i486-linux-gnu-gcc: command not found
make: i486-linux-gnu-gcc: Kommando nicht gefunden
/usr/share/kernel-package/rules:1637: *** Error. I do not know where the kernel image goes to [kimagedest undefined] The usual case for this is that I could not determine which arch or subarch tihs machine belongs to. Please specify a subarch, and try again.. Schluss.
Und wenn ich mir das Script ansehe, dann steht da drin:
#!/bin/sh
#
# gcc-version gcc-command
#
# Prints the gcc version of `gcc-command' in a canonical 4-digit form
# such as `0295' for gcc-2.95, `0303' for gcc-3.3, etc.
#
compiler="$*"
MAJOR=$(echo __GNUC__ | $compiler -E -xc - | tail -n 1)
MINOR=$(echo __GNUC_MINOR__ | $compiler -E -xc - | tail -n 1)
printf "%02d%02d\\n" $MAJOR $MINOR
Irgendwie findet der, meine ich mal, meinen gcc-Compiler nicht. Ein gcc -v liefert mir aber
Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Konfiguriert mit: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread-Modell: posix
gcc-Version 3.3.5 (Debian 1:3.3.5-13)
Ich bin jetzt etwas ratlos, weil das Compilieren bislang immer klappte. Einzig könnte ich mir vorstellen, dass der Compiler doch nicht stimmt.
Grüsse
Eagle