make-kpkg Parameter an Makefile weitergeben
Hallo,
gibt es eine Möglichkeit make-kpkg Parameter mitzugeben welche dann
an die aufgerufenen make-Befehle weitergegeben werden?
Seit dem gcc-Upgrade auf 3.2 schlägt nämlich das Übersetzen des
Kernels fehl. Erst eine Änderung des C-Compilers in
/usr/src/linux/Makefile (HOSTCC = gcc-2.95) ließ mich den Kernel
übersetzen.
Fehlermeldung:
----
|You appear to be compiling the NVIDIA kernel module with
|a compiler different from the one that was used to compile
|the running kernel. This may be perfectly fine, but there
|are cases where this can lead to unexpected behaviour and
|system crashes.
|
|If you know what you are doing and want to override this
|check, you can do so by setting IGNORE_CC_MISMATCH.
Ist gesetzt: export IGNORE_CC_MISMATCH=1
|
|In any other case, set the CC environment variable to the
|name of the compiler that was used to compile the kernel.
Aktueller Kernel wurde mit gcc-2.95 erstellt.
|
|*** Failed cc sanity check. Bailing out! ***
|make[2]: *** [gcc-check] Error 1
|make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.4191/NVIDIA_kernel-1.0-4191'
|make[1]: *** [build-stamp] Error 2
|make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-1.0.4191'
|Module /usr/src/modules/nvidia-kernel-1.0.4191 failed.
|Hit return to Continue?
----
Nachdem der Bug #135897 noch besteht, gehe ich davon aus, daß das Modul
nicht mit gcc-3.* funktionieren wird (oder habe ich da was falsch
verstanden?)
Gruß
Jörg
--
http://www.lug-untermain.de/ -
http://mypenguin.bei.t-online.de/
Dipl.-Ing. Jörg Schütter
joerg@schuetter.org
Reply to: