[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems trying to recompile the Linux Kernel 64 bits on Knoppix 6.7



Hi Klaus,
I still have problems trying to recompile the Linux Kernel 64 bits on Knoppix 6.7:
After un-tar of the /usr/src/linux-source-2.6.39.3-64.tar.bz2 included in the Knoppix 6.7 DVD and then
run "make xconfig" I find out that the header of the .config file changed such as the kernel name is not
64 bits anymore as in the /boot/config-2.6.39.3-64 (no more "-64" at the end of the 2.6.39.3 cf below)
which after compile and install creates serious issues (as for the location of the kernel modules
in /lib/modules as an example). What file needs to be fixed for the kernel name to be correct ?
Did you try to recompile the Kernel 64 bits using the Knoppix 6.7 DVD ? (6.5 was ok)
I also have trouble compiling and create 64 bits binaries without forcing it with the -m64 flag.
It looks like that something changed with gcc between Knoppix 6.5 and Knoppix 6.7.
Thank you very much for your help and advise.
Best Regards,
Gilles

PS: no need to say that all this was done after installing (via synaptic) the "amd64-libs-dev" package
and it's 12 dependencies required to (cross-)compile 64 bits binaries.

======================================

/boot/config-2.6.39.3-64 (original header)
#
# Automatically generated make config: don't edit
# Linux/x86_64 2.6.39.3-64 Kernel Configuration
# Sat Jul 23 16:44:02 2011

======================================

/usr/src/linux-source-2.6.39.3-64/.config (header after make xconfig):
#
# Automatically generated make config: don't edit
# Linux/x86_64 2.6.39.3 Kernel Configuration
# Sat Aug 20 04:58:52 2011

======================================


Reply to: