PDA

View Full Version : Fixed Knoppix 6.2 headers



mecho
07-28-2010, 09:17 PM
Anyone who uses 6.2 version of Knoppix may have noticed that compiling is a trouble. I spent some time to rebuild the headers and now compiling works just fine. At least I tested it with madwifi and tp-smapi source-packages.
If anyone needs it - let me know and I will upload deb package somewhere:
Package name:
linux-headers-2.6.31.6_2.6.31.6-10.00.Custom_i386.deb

linuxoid
08-20-2010, 10:56 PM
I had a similar problem with 2.6.32.6. It resulted in undefined common types like u32, u64, phys_addr_t, etc. The version of headers that I've used was linux-headers-2.6.32.6. Can you please provide details on what needs to be done to fix them. My solution was to define missing types manually, but I didn't like it at all.

Thanks!

kl522
08-21-2010, 12:48 PM
Did you use the debian package linux-header-2.6.32.6 or you use knoppix package ? There will be some difference between debian package verses knoppix (custom) package - because knoppix is patched with aufs2. Unless you are compiling file system drivers, otherwise it should not matter. What are you trying to compile ?

If you have exhausted everything, you can always go to www.kernel.org (http://www.kernel.org) to download the kernel source. You can't use the kernel you compiled from www.kernel.org (http://www.kernel.org), but the header files there should be good - as long as you are not compiling file system drivers.

linuxoid
08-22-2010, 04:20 PM
I used: apt-get install linux-header-`uname -r`. The package was: hwclock 2.18. What would be the right Knoppix-specific version for 2.6.32.6? When I checked the version with dpkg, it said:

ii linux-headers-2.6.32.6 2.6.32.6-10.00.Custom

Does it mean that I have the correct Knoppix version? Probably the problem is in hwclock and not in headers.

kl522
08-22-2010, 10:17 PM
Likely is the hwclock source.

hwclock is part of util-linux, the latest version in the unstable repository is 2.17.2-3.1. You are trying to compile something even later than that !