Results 1 to 5 of 5

Thread: Fixed Knoppix 6.2 headers

  1. #1
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198

    Fixed Knoppix 6.2 headers

    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

  2. #2
    Junior Member
    Join Date
    Aug 2010
    Posts
    6
    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!

  3. #3
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    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 to download the kernel source. You can't use the kernel you compiled from www.kernel.org, but the header files there should be good - as long as you are not compiling file system drivers.

  4. #4
    Junior Member
    Join Date
    Aug 2010
    Posts
    6
    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.

  5. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    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 !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



Toshiba DT01ACA100 1 TB 3.5

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive

$24.99



HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD picture

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD

$41.00



Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$23.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s

$58.00



Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5

Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s

$59.00



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95