Results 1 to 10 of 12
Hey guys, ok, here's my problem:
I'm trying to compile my 2.6.10 kernel (which has worked many times in the past) but when I try and run "make xconfig" i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-09-2005 #1Just Joined!
- Join Date
- Feb 2005
- Location
- St. Louis, Missouri, USA
- Posts
- 21
Make Xconfig error
Hey guys, ok, here's my problem:
I'm trying to compile my 2.6.10 kernel (which has worked many times in the past) but when I try and run "make xconfig" i get this error message:
Any idea what packages/libraries I need to reinstall to get it to work properly?Code:root@Slackware:~/linux-2.6.10# make xconfig HOSTCC scripts/basic/fixdep In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:122, 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/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/netinet/in.h:212, from /usr/include/arpa/inet.h:23, from scripts/basic/fixdep.c:115: /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory scripts/basic/fixdep.c: In function `use_config': scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:201: error: (Each undeclared identifier is reported only once scripts/basic/fixdep.c:201: error: for each function it appears in.) scripts/basic/fixdep.c:201: warning: unused variable `s' scripts/basic/fixdep.c: In function `parse_dep_file': scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:297: warning: unused variable `s' make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2
-Mike
- 02-09-2005 #2
It might be a problem with the xconfig, but I'm not sure. What does running:
say?Code:make menuconfig
- 02-10-2005 #3Just Joined!
- Join Date
- Feb 2005
- Location
- St. Louis, Missouri, USA
- Posts
- 21
The output of "make menuconfig" is as follows:
I think i'm just going to use some of my Windows troubleshooting skills and do a reinstallCode:root@Slackware:~/linux-2.6.10# make menuconfig HOSTCC scripts/basic/fixdep In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:122, 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/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/netinet/in.h:212, from /usr/include/arpa/inet.h:23, from scripts/basic/fixdep.c:115: /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory scripts/basic/fixdep.c: In function `use_config': scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:201: error: (Each undeclared identifier is reported only once scripts/basic/fixdep.c:201: error: for each function it appears in.) scripts/basic/fixdep.c:201: warning: unused variable `s' scripts/basic/fixdep.c: In function `parse_dep_file': scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this function) scripts/basic/fixdep.c:297: warning: unused variable `s' make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2
Anyways, thanks or your help!!
- 02-10-2005 #4
hmmm did u
befor you tried to run make xconfig or make menucanfig?Code:make clean
if so then i would sugest trying new kernel sources~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 02-28-2005 #5Just Joined!
- Join Date
- Feb 2005
- Location
- Silicon Valley
- Posts
- 1
missing directory
Ran into the same thing, while i havent finished compiling my kernel yet i can at least run make menuconfig. What i did was to grab the include/asm-i386 directory and copy it to include/asm and rerun the command, fired right up.
HTH
- 02-28-2005 #6
perhaps you only have the kernel headers installed, not the kernel itself?
- 03-01-2005 #7Linux Engineer
- Join Date
- Sep 2003
- Location
- Knoxhell, TN
- Posts
- 1,078
actually, that's a problem with the headers not being installed. install the kernel headers and then try again.
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 04-12-2005 #8Just Joined!
- Join Date
- Jul 2003
- Location
- Harare, Zimbabwe
- Posts
- 11
did u finally manage? I had the same prob and i solved it by creating the following link
where /usr/src/linux-2.6.xx is where u extracted your kernel sourceCode:/usr/include/asm -> /usr/src/linux-2.6.xx/include/asm-ppc
- 04-29-2005 #9Just Joined!
- Join Date
- Apr 2005
- Location
- UK
- Posts
- 2
Hi,
I stumbled on this thread as a result of searching for a solution to a similar problem via Google.
I'm just starting a project at work which involves developing C++ code for a PC Linux target using the Rhapsody UML tool on a Windows NT4 machine. To facilitate this, I'm trying to build GCC as a cross-compiler using the Crosstool scripts from http://kegel.com/crosstool/
As I'm a relative novice at Linux programming, it's all a bit daunting. Talk about 'in at the deep end'.
Anyway, the build gets as far as trying to build 'fixdep' at falls over with the following:
As you can see, I'm using version 0.31 of Crosstool which uses the sources for gcc 3.4.3, glibc 2.3.4 and linux 2.6.8. It also uses binutils 2.14 glibc-linuxthreads 2.3.4Code:<snipped: downloading unpacking and patching of tarballs, etc.> Prepare kernel headers + cd /cygdrive/d/apps/crosstool-0.31/build/i686-unknown-linux-gnu/gcc-3.4.3-glibc-2.3.4/linux-2.6.8 + test -f /cygdrive/d/apps/crosstool-0.31/i686.config + cp /cygdrive/d/apps/crosstool-0.31/i686.config .config + test -f .config + yes + make ARCH=i386 oldconfig HOSTCC scripts/basic/fixdep fixdep: : No such file or directory
Oh, and I'm running the latest version of Cygwin of which I've installed absolutely everything.
Does this look like the same problem? I thought Croostool was just supposed to work.
What does 'creating the link' involve? Remember, being a novice I'll need subtitles for the hard of thinking.
Originally Posted by manulite
Cheers,
John.
- 04-29-2005 #10Just Joined!
- Join Date
- Jul 2003
- Location
- Harare, Zimbabwe
- Posts
- 11
You use the ln command. On the console you do (as root)What does 'creating the link' involve? Remember, being a novice I'll need subtitles for the hard of thinking.
where /usr/src/linux-2.6.xx is the path to your kernel source.Code:ln -s /usr/include/asm /usr/src/linux-2.6.xx/include/asm-ppc
This creates a symbolic link in /usr/include called asm which points to /usr/src/linux-x.x.x/include/asm-ppc. Don't know though if this will solve your problem. Not much of an expert myself, I rely heavily on what google suggests but i guess its worth a try
you can always remove the link if its no help.



