vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 wrote: > 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) > --snip errors-- > > 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? 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 |
| |||
| On Tue, 30 Sep 2003 00:16:44 GMT, David <thunderbolt01@netscape.net> wrote: > >Do you have the "kernel-headers" from the "d" directory installed? 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 wrote: > On Tue, 30 Sep 2003 00:16:44 GMT, David <thunderbolt01@netscape.net> > wrote: > >>Do you have the "kernel-headers" from the "d" directory installed? > > 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 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 > 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 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 |
| ||||
| On Tue, 30 Sep 2003 03:30:21 GMT, David <thunderbolt01@netscape.net> wrote: >don510antiswen@comcast.net wrote: >> On Tue, 30 Sep 2003 00:16:44 GMT, David <thunderbolt01@netscape.net> >> wrote: >> >>>Do you have the "kernel-headers" from the "d" directory installed? >> >> 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 > >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 > >> 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 > >Ok do you have the "glibc" package from the "l" directory installed? 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. |