LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-30-2007, 06:48 PM   #1
multios
Member
 
Registered: Mar 2006
Location: home
Distribution: OpenBSD, FreeBSD, Slackware, Debian
Posts: 230

Rep: Reputation: 39
make menuconfig error


I have a new 11.0 install and wanted to compile a kernel for my needs.
I have done this before (several times), but this problem(s) confuses me. I searched "fixdep", but I don't have a previous config file.
It looks like other problems also.
Here is the output with my two commands included:

bash-3.1# make mrproper
bash-3.1# make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7,
from /usr/lib/gcc/i486-slackware-linux/3.4.6/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/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:204: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:204: error: for each function it appears in.)
scripts/basic/fixdep.c:204: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:300: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:300: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
bash-3.1#


Also:
bash-3.1# uname -a
Linux mybox 2.6.18 #4 Wed Sep 27 23:05:46 CDT 2006 i686 athlon-4 i386 GNU/Linux
bash-3.1#

Are there several items that didn't get installed? I know gcc is:
bash-3.1# gcc --version
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-3.1#


Thanks for help.
 
Old 01-30-2007, 06:55 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
/usr/include/linux/limits.h is in the kernel-headers-2.4.33.3-i386-1 package. Have you checked to see if that is installed?
 
Old 01-30-2007, 07:11 PM   #3
multios
Member
 
Registered: Mar 2006
Location: home
Distribution: OpenBSD, FreeBSD, Slackware, Debian
Posts: 230

Original Poster
Rep: Reputation: 39
No I didn't. Since I'm not running 2.4, I didn't know I needed the headers.
Thanks, I will check and install them.

Just installed them and make menuconfig is running
Thanks gilead, I never would have thought of that.

Last edited by multios; 01-30-2007 at 07:26 PM.
 
Old 01-30-2007, 08:42 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
No problem - glad it's working
 
Old 01-31-2007, 03:37 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
These are what you need: kernel-headers, make, gcc, binutils, perl.
If you use menuconfig make sure you have the ncurses package installed. The libs included in aaa_libs are not enough for lxdialog to compile. You also need tcl for menuconfig.
 
Old 01-31-2007, 10:50 AM   #6
multios
Member
 
Registered: Mar 2006
Location: home
Distribution: OpenBSD, FreeBSD, Slackware, Debian
Posts: 230

Original Poster
Rep: Reputation: 39
Thanks for all that. I wrote those down for next time.
I am trying to keep the installation as small as I can since I only have 5G to play with for now.
I got a kernel made, but with several problems, but that is for another topic

Thanks again.
 
  


Reply


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
error when running make menuconfig Roxxor2 Linux - Software 1 04-12-2006 02:53 PM
make menuconfig bring up an error paranoid times Linux - Software 1 10-12-2005 08:11 AM
Kernel 2.4.31 make menuconfig error technician Slackware 4 07-21-2005 11:11 PM
Error: make menuconfig Diminished7th Slackware 2 04-16-2005 04:54 AM
make menuconfig ...error st3reo Fedora 0 11-18-2004 08:32 AM


All times are GMT -5. The time now is 12:51 PM.

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