Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Problem! Compiling newest kernel (

    Hello all, I've installed the Slackware 10.1, without KDE and GNOME, just with BlackBox and some things, I need to configure sound and net yet, and for that I need to compile the 2.6.x kernel so I got the lastest. But, while trying to 'make config' I got some compiling errors on 'fixdep.c', I guess there are include issues but dont know how to fix, look at the bottom of the log:

    root@acropolys:/usr/src/linux- make config
      HOSTCC  scripts/basic/fixdep
    scripts/basic/fixdep.c:105:23: sys/types.h: No such file or directory
    scripts/basic/fixdep.c:106:22: sys/stat.h: No such file or directory
    scripts/basic/fixdep.c:107:22: sys/mman.h: No such file or directory
    scripts/basic/fixdep.c:108:20: unistd.h: No such file or directory
    scripts/basic/fixdep.c:109:19: fcntl.h: No such file or directory
    scripts/basic/fixdep.c:110:20: string.h: No such file or directory
    scripts/basic/fixdep.c:111:20: stdlib.h: No such file or directory
    scripts/basic/fixdep.c:112:19: stdio.h: No such file or directory
    In file included from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/syslimits.h:7,
                     from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:11,
                     from scripts/basic/fixdep.c:113:
    /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:122:75: limits.h: No such 
    file or directory
    scripts/basic/fixdep.c:114:19: ctype.h: No such file or directory
    scripts/basic/fixdep.c:115:23: arpa/inet.h: No such file or directory
    scripts/basic/fixdep.c: In function `usage':
    Can someone explain me how to fix it? Or at least how to put the includes to work? (I know how to do on Win/MingW but no idea how to do on slack)

    thx in adv,

  2. #2
    make sure your 'kernel-headers-2.4.29' pkg is installed


    ls -lh /var/log/packages/*headers*

    it needs to be the version that your glibc was compiled "ON" not 'for', so , it needs to be 2.4 not the 2.6 pkg from the 2nd cd

    just looks like your system headers are missing

  3. #3
    Hehehe, "not FOR but FROM", yeh, I didnŽt know that its needed to compile... IŽll try it out.

  4. $spacer_open
  5. #4
    Old thread, I know, but just in case you've hit this through the search engines, as I did ...

    Had the same problem on a Debian box. It was the libc headers that I needed, not the kernel ones. Package libc6-dev on Debian. I also needed ncurses-dev at a later stage.

Posting Permissions

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