Professional Web Applications Themes

Problem compiling kernel (or anything) - Linux Setup, Configuration & Administration

I've just installed a downloaded copy of Slackware 9.0. I'm trying to recompile the kernel to get some hardware to work but gcc seems to miss some definition files (that are in fact there) (These error messages may not be exactly correct because they were jotted down off of the screen) scripts/mkdep.c 33:19 ctype.h scripts/mkdep.c 34:19 fcutl.h In file included from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7 In file included from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h In file included from scripts/mkdep.c: 35 Then it tells me limits.h not found and that's followed by a whole slew of error messages probably resulting from things not being defined right. Am I ...

  1. #1

    Default Problem compiling kernel (or anything)

    I've just installed a downloaded copy of Slackware 9.0. I'm
    trying to recompile the kernel to get some hardware to work but gcc
    seems to miss some definition files (that are in fact there)

    (These error messages may not be exactly correct because they were
    jotted down off of the screen)

    scripts/mkdep.c 33:19 ctype.h
    scripts/mkdep.c 34:19 fcutl.h
    In file included from
    /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7
    In file included from
    /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h
    In file included from scripts/mkdep.c: 35

    Then it tells me limits.h not found and that's followed by a whole
    slew of error messages probably resulting from things not being
    defined right. Am I missing an environment variable here? Any ideas?
    don510antiswen@comcast.net Guest

  2. #2

    Default Re: Problem compiling kernel (or anything)

    net wrote: 
    --snip errors-- 

    Do you have the "kernel-headers" from the "d" directory installed?

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.2.2
    Uptime: 3 days, 23:54, 1 user, load average: 1.21, 1.16, 1.05

    David Guest

  3. #3

    Default Re: Problem compiling kernel (or anything)

    On Tue, 30 Sep 2003 00:16:44 GMT, David <net>
    wrote:
     

    In /var/log/packages, I have:
    kernel-headers-2.4.20-i386-5
    kernel-ide-2.4.20-i486-5
    kernel-source-2.4.20-noarch-5

    Looking closer at the error message at compile time:
    /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132:75
    file or directory not found

    Looking in this file, line 132 is:
    #include_next <limits.h>

    It is in an if block that goes like:
    #ifdef _GCC_NEXT_LIMITS_H
    #include_next <limits.h>
    #endif
    don510antiswen@comcast.net Guest

  4. #4

    Default Re: Problem compiling kernel (or anything)

    net wrote: 
    >
    > In /var/log/packages, I have:
    > kernel-headers-2.4.20-i386-5
    >
    > Looking closer at the error message at compile time:
    > /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132:75
    > file or directory not found[/ref]

    That file is in the "gcc" package.

    /var/log/packages/gcc-3.2.2-i386-3: \
    usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h
     

    Ok do you have the "glibc" package from the "l" directory installed?

    Make sure you have these packages installed.

    binutils
    bin86
    gawk
    gcc
    gcc-g++
    gdbm
    glibc from "l" directory
    make
    automake
    autoconf
    ncurses
    perl
    zlib

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.2.2
    Uptime: 4 days, 2:54, 1 user, load average: 1.02, 1.11, 1.09

    David Guest

  5. #5

    Default Re: Problem compiling kernel (or anything)

    On Tue, 30 Sep 2003 03:30:21 GMT, David <net>
    wrote:
     
    >>
    >> In /var/log/packages, I have:
    >> kernel-headers-2.4.20-i386-5
    >>
    >> Looking closer at the error message at compile time:
    >> /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132:75
    >> file or directory not found[/ref]
    >
    >That file is in the "gcc" package.
    >
    >/var/log/packages/gcc-3.2.2-i386-3: \
    >usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h

    >
    >Ok do you have the "glibc" package from the "l" directory installed?[/ref]

    Actually I overlooked the entire "l" package-set, so I'm feeling
    really silly now. I'm up and running now though, thanks for the help.
    don510antiswen@comcast.net Guest

Similar Threads

  1. Kernel 2.6.0 compiling problems
    By Marino Fernandez in forum Debian
    Replies: 9
    Last Post: July 21st, 08:30 AM
  2. compiling the kernel with GCC 3.3
    By Raffaele Sandrini in forum Debian
    Replies: 4
    Last Post: July 7th, 05:10 AM
  3. Compiling kernel with patches
    By Christophe Courtois in forum Debian
    Replies: 4
    Last Post: July 5th, 05:20 PM
  4. Error compiling the kernel...
    By Sumedh Takbhate in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: June 30th, 04:23 PM
  5. Trouble compiling 2.4.21 kernel
    By Travis Crump in forum Debian
    Replies: 3
    Last Post: June 30th, 02:10 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139