LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-16-2005, 01:21 AM   #1
Diminished7th
Member
 
Registered: Apr 2004
Distribution: Gentoo, FreeBSD
Posts: 88

Rep: Reputation: 15
Error: make menuconfig


When I attempt to

Code:
/usr/src/linux# make menuconfig
I receive this:
Code:
bash-3.00# make menuconfig
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:105:23: sys/types.h: No such file or directory
scripts/basic/fixdep.c:106:22: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:107:22: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:108:20: unistd.h: No such file or directory
scripts/basic/fixdep.c:109:19: fcntl.h: No such file or directory
scripts/basic/fixdep.c:110:20: string.h: No such file or directory
scripts/basic/fixdep.c:111:20: stdlib.h: No such file or directory
scripts/basic/fixdep.c:112:19: stdio.h: No such file or directory
In file included from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/syslim
its.h:7,
                 from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits
.h:11,
                 from scripts/basic/fixdep.c:113:
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:122:75: limits.h: N
o such file or directory
scripts/basic/fixdep.c:114:19: ctype.h: No such file or directory
scripts/basic/fixdep.c:115:23: arpa/inet.h: No such file or directory
scripts/basic/fixdep.c: In function `usage':
scripts/basic/fixdep.c:129: warning: implicit declaration of function `fprintf'
scripts/basic/fixdep.c:129: error: `stderr' undeclared (first use in this functi
on)
scripts/basic/fixdep.c:129: error: (Each undeclared identifier is reported only 
once
scripts/basic/fixdep.c:129: error: for each function it appears in.)
scripts/basic/fixdep.c:130: warning: implicit declaration of function `exit'
scripts/basic/fixdep.c: In function `print_cmdline':
scripts/basic/fixdep.c:135: warning: implicit declaration of function `printf'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:138: error: `NULL' undeclared here (not in a function)
scripts/basic/fixdep.c: In function `grow_config':
scripts/basic/fixdep.c:151: warning: implicit declaration of function `realloc'
scripts/basic/fixdep.c:151: warning: assignment makes pointer from integer witho
ut a cast
scripts/basic/fixdep.c:152: error: `NULL' undeclared (first use in this function
)
scripts/basic/fixdep.c:153: warning: implicit declaration of function `perror'
scripts/basic/fixdep.c: In function `is_defined_config':
scripts/basic/fixdep.c:169: warning: implicit declaration of function `memcmp'
scripts/basic/fixdep.c: In function `define_config':
scripts/basic/fixdep.c:182: warning: implicit declaration of function `memcpy'
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this func
tion)
scripts/basic/fixdep.c:215: warning: implicit declaration of function `tolower'
scripts/basic/fixdep.c:201: warning: unused variable `s'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:220: error: parse error before "size_t"
scripts/basic/fixdep.c:221: warning: function declaration isn't a prototype
scripts/basic/fixdep.c: In function `parse_config_file':
scripts/basic/fixdep.c:222: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:222: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:228: warning: implicit declaration of function `ntohl' /usr/src/linux# make menuconfig scripts/basic/fixdep.c:228: warning: implicit declaration of function `ntohl'
scripts/basic/fixdep.c:239: warning: implicit declaration of function `isalnum'
scripts/basic/fixdep.c: In function `strrcmp':
scripts/basic/fixdep.c:252: warning: implicit declaration of function `strlen'
scripts/basic/fixdep.c: In function `do_config_file':
scripts/basic/fixdep.c:263: error: storage size of `st' isn't known
scripts/basic/fixdep.c:267: warning: implicit declaration of function `open'
scripts/basic/fixdep.c:267: error: `O_RDONLY' undeclared (first use in this func
tion)
scripts/basic/fixdep.c:269: error: `stderr' undeclared (first use in this functi
on)
scripts/basic/fixdep.c:273: warning: implicit declaration of function `fstat'
scripts/basic/fixdep.c:275: warning: implicit declaration of function `close'
scripts/basic/fixdep.c:278: warning: implicit declaration of function `mmap'
scripts/basic/fixdep.c:278: error: `NULL' undeclared (first use in this function
)
scripts/basic/fixdep.c:278: error: `PROT_READ' undeclared (first use in this fun
ction)
scripts/basic/fixdep.c:278: error: `MAP_PRIVATE' undeclared (first use in this f
unction)
scripts/basic/fixdep.c:278: warning: assignment makes pointer from integer witho
ut a cast
scripts/basic/fixdep.c:287: warning: implicit declaration of function `munmap'
scripts/basic/fixdep.c:263: warning: unused variable `st'
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:292: error: parse error before "size_t"
scripts/basic/fixdep.c:293: warning: function declaration isn't a prototype
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:294: error: `map' undeclared (first use in this function)
scripts/basic/fixdep.c:295: error: `len' undeclared (first use in this function)
scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this func
tion)
scripts/basic/fixdep.c:299: warning: implicit declaration of function `strchr'
scripts/basic/fixdep.c:301: error: `stderr' undeclared (first use in this functi
on)
scripts/basic/fixdep.c:297: warning: unused variable `s'
scripts/basic/fixdep.c: In function `print_deps':
scripts/basic/fixdep.c:334: error: storage size of `st' isn't known
scripts/basic/fixdep.c:338: error: `O_RDONLY' undeclared (first use in this func
tion)
scripts/basic/fixdep.c:340: error: `stderr' undeclared (first use in this functi
on)
scripts/basic/fixdep.c:350: error: `NULL' undeclared (first use in this function
)
scripts/basic/fixdep.c:350: error: `PROT_READ' undeclared (first use in this fun
ction)
scripts/basic/fixdep.c:350: error: `MAP_PRIVATE' undeclared (first use in this f
unction)
scripts/basic/fixdep.c:350: warning: assignment makes pointer from integer witho
ut a cast
scripts/basic/fixdep.c:334: warning: unused variable `st'
scripts/basic/fixdep.c: In function `traps':
scripts/basic/fixdep.c:369: error: `stderr' undeclared (first use in this functi
on)
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Does anyone know what this means and what I can do to correct it? Of course, this is taking place while I'm trying to compile the 2.6.10 kernel.
 
Old 04-16-2005, 02:12 AM   #2
BenneJezzerette
Member
 
Registered: Mar 2005
Location: In a Box where Slackware Rocks
Distribution: Slackware 11 -current
Posts: 274

Rep: Reputation: 30
Re: Error: make menuconfig

Quote:
Originally posted by Diminished7th
When I attempt to

Code:
/usr/src/linux# make menuconfig
I receive this:
[CODE]bash-3.00# make menuconfig
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:105:23: sys/types.h: No such file or directory
scripts/basic/fixdep.c:106:22: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:107:22: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:108:20: unistd.h: No such file or directory
scripts/basic/fixdep.c:109:19: fcntl.h: No such file or directory
scripts/basic/fixdep.c:110:20: string.h: No such file or directory
scripts/basic/fixdep.c:111:20: stdlib.h: No such file or directory
scripts/basic/fixdep.c:112:19: stdio.h: No such file or directory
In file included from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/syslim
its.h:7,


Does anyone know what this means and what I can do to correct it? Of course, this is taking place while I'm trying to compile the 2.6.10 kernel.

<Snips>

Did you 1: get teh file from Kernel.org's FTP site?

2: install it from the Slackware CD?

3: found a dead cd in the street and copied it from there??

The last does not count. If you used the pkgtool to install the one from the cd or the slackware site, then it may have become corrupted and you did not decomptress the file correctly. or maybe you typed in the wrong path

/usr/src/linux-2.6.10/make menuconfig, but you also need to actually be in the directory, not at root

Be sure you are, as that is what it appears to be what has happened here.
 
Old 04-16-2005, 04:54 AM   #3
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Did you install the kernel-headers package ? Also be sure to not miss any mandatory
developpement package from d/ (you could install all packages from d/ as they not
take too much disk space)
 
  


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
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
Make Menuconfig error lxtemp.c not found? Merovech Linux - Newbie 2 03-22-2005 10:06 AM
make menuconfig ...error st3reo Fedora 0 11-18-2004 08:32 AM
Debian woody : make menuconfig ERROR pedro99 Linux - Newbie 7 01-23-2003 02:10 PM


All times are GMT -5. The time now is 01:12 AM.

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