Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-24-2004, 03:52 PM   #1
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Rep: Reputation: 15
building from source

I was trying to compile gtkam from source. I've done it in the past with slack 9.1 and had no problem. On my new system, I ran into a problem. I wasn't overly concerned with it so I figured i would figure it out some other time.

Now I decided I wanted to update my kernel from 2.6.2-rc3 to 2.6.3. When I try and run make menuconfig i get this error.

bash-2.05b# make menuconfig
HOSTCC scripts/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.2.3/include/limits.h:132,
from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/limits.h:11,
from scripts/fixdep.c:105:
/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 scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
scripts/fixdep.c: In function `use_config':
scripts/fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: for each function it appears in.)
scripts/fixdep.c:193: warning: unused variable `s'
scripts/fixdep.c: In function `parse_dep_file':
scripts/fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable `s'
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2

This didn't happen when I built my 2.6.2-rc3 kernel so I went back and tried that too and i get the same error.

The only major stuff i've taken out of the Default Slack install are anything referencing the 2.4.x kernel and I upgraded to the Gnome in slackware-current.

Any ideas?
Old 02-24-2004, 05:34 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you actually deleted
you may try to do a
ln -s /usr/src/linux-2.6.x/include/linux/ /usr/include/linux

Old 02-24-2004, 08:26 PM   #3
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Original Poster
Rep: Reputation: 15
I figured it out. I had to re-install the kernel headers. I don't understand why I need the 2.4.x headers if I don't use that kernel, but appearently I do. Seems to be working fine now. Thanks for the suggestion.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building compiler from source corbis_demon Programming 2 06-08-2005 08:34 AM
Building Abiword from source kotm22 Linux - Software 5 03-23-2005 04:22 PM
help for building a kernel from source sh4d0w331 Slackware 5 09-28-2004 01:27 PM
building PHP 4.3.4-11 from source michaelbhahn Linux - Software 0 09-21-2004 05:55 PM
building and learning the source narender Linux - Newbie 2 04-16-2004 06:37 AM

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration