LinuxQuestions.org
Help answer threads with 0 replies.
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 10-20-2004, 08:59 PM   #1
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Rep: Reputation: 30
none of the "make" commands work


eveyr time i go to configure a new kernel (2.6.7), i get this error. i tried make menuconfig, make oldconfig, make xconfig, make gconfig, everything in my knowledge, and this is what i get. i was told to install glibc, so i did, and it still hasnt changed.

scripts/kconfig/mconf.c: In function `exec_conf':
scripts/kconfig/mconf.c:243: error: `EINTR' undeclared (first use in this function)
scripts/kconfig/mconf.c:243: error: (Each undeclared identifier is reported only once
scripts/kconfig/mconf.c:243: error: for each function it appears in.)
scripts/kconfig/mconf.c:243: error: `EAGAIN' undeclared (first use in this function)
cc1: Permission denied: opening dependency file scripts/kconfig/.mconf.o.d
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
 
Old 10-20-2004, 09:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Are you trying this as normal user by any chance?



Cheers,
Tink
 
Old 10-20-2004, 09:21 PM   #3
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
i tried both root and normal user.
 
Old 10-20-2004, 09:47 PM   #4
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Code:
ls -l
in the source directory and post the results.
 
Old 10-20-2004, 09:55 PM   #5
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Rep: Reputation: 30
does the problem only exist with the 2.6.7 kernel? can you still do normal make commands on other programs? maybe you're kernel download is corrupted? try downloading the source off of kernel.org and making from there.
 
Old 10-20-2004, 09:58 PM   #6
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
dave@HAL:/usr/src/linux-2.6.7$ ls -l
total 233
-rw-r--r-- 1 500 500 18691 2004-06-15 23:19 COPYING
-rw-r--r-- 1 500 500 85695 2004-06-15 23:19 CREDITS
drwxrwxr-x 42 500 500 4128 2004-06-15 23:20 Documentation/
-rw-r--r-- 1 500 500 51458 2004-06-15 23:19 MAINTAINERS
-rw-r--r-- 1 500 500 36643 2004-06-15 23:19 Makefile
-rw-r--r-- 1 500 500 13976 2004-06-15 23:19 README
-rw-r--r-- 1 500 500 2815 2004-06-15 23:19 REPORTING-BUGS
drwxrwxr-x 22 500 500 536 2004-06-15 23:18 arch/
drwxrwxr-x 2 500 500 848 2004-06-15 23:20 crypto/
drwxrwxr-x 44 500 500 1128 2004-06-15 23:20 drivers/
drwxrwxr-x 52 500 500 2816 2004-06-15 23:20 fs/
drwxrwxr-x 33 500 500 872 2004-10-20 19:55 include/
drwxrwxr-x 2 500 500 392 2004-06-15 23:20 init/
drwxrwxr-x 2 500 500 304 2004-06-15 23:20 ipc/
drwxrwxr-x 3 500 500 1152 2004-06-15 23:20 kernel/
drwxrwxr-x 4 500 500 872 2004-06-15 23:20 lib/
drwxrwxr-x 2 500 500 1032 2004-06-15 23:20 mm/
drwxrwxr-x 32 500 500 968 2004-06-15 23:20 net/
drwxrwxr-x 7 500 500 1352 2004-06-15 23:20 scripts/
drwxrwxr-x 3 500 500 272 2004-06-15 23:20 security/
drwxrwxr-x 15 500 500 496 2004-06-15 23:20 sound/
drwxrwxr-x 2 500 500 136 2004-06-15 23:20 usr/
dave@HAL:/usr/src/linux-2.6.7$




ive already downloaded 3 different kernels, its not corrupt. i tried 2.6.7, 2.6.8, and the 2.6.4 slackware 10 beta kernel (i think its 2.6.4, not sure) nothing worked.
 
Old 10-20-2004, 10:59 PM   #7
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Code:
#chmod +x Makefile
Try that and then try to make gconfig.
 
Old 10-20-2004, 11:12 PM   #8
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
make gconfig (after doing the chmod thing)


root@HAL:/usr/src/linux-2.6.7# make gconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/gconf.o
In file included from /usr/include/gtk-2.0/gtk/gtkactiongroup.h:34,
from /usr/include/gtk-2.0/gtk/gtk.h:37,
from scripts/kconfig/gconf.c:17:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:53: warning: function declaration isn't a prototype
scripts/kconfig/images.c:6: warning: `xpm_load' defined but not used
scripts/kconfig/images.c:36: warning: `xpm_save' defined but not used
scripts/kconfig/images.c:66: warning: `xpm_back' defined but not used
scripts/kconfig/images.c:175: warning: `xpm_symbol_no' defined but not used
scripts/kconfig/images.c:192: warning: `xpm_symbol_mod' defined but not used
scripts/kconfig/images.c:209: warning: `xpm_symbol_yes' defined but not used
scripts/kconfig/images.c:226: warning: `xpm_choice_no' defined but not used
scripts/kconfig/images.c:243: warning: `xpm_choice_yes' defined but not used
scripts/kconfig/images.c:277: warning: `xpm_menu_inv' defined but not used
scripts/kconfig/images.c:294: warning: `xpm_menuback' defined but not used
scripts/kconfig/gconf.c:975: warning: `renderer_toggled' defined but not used
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function `exec_conf':
scripts/kconfig/mconf.c:243: error: `EINTR' undeclared (first use in this function)
scripts/kconfig/mconf.c:243: error: (Each undeclared identifier is reported only once
scripts/kconfig/mconf.c:243: error: for each function it appears in.)
scripts/kconfig/mconf.c:243: error: `EAGAIN' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [gconfig] Error 2
root@HAL:/usr/src/linux-2.6.7#
 
Old 10-21-2004, 04:05 PM   #9
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
make and the other make config options still output the same error. i was told it might be g++, so i downloaded it and installed it, same error.
 
Old 10-21-2004, 08:26 PM   #10
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Incidentally, I had the same problem today. Have you changed the Makefile at all? Because that's what screwed things up for me. Try using the original Makefile if you're not.

Also, if this is indeed the problem, what were you trying to change in the Makefile?
 
Old 10-21-2004, 08:47 PM   #11
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
what do you mean have i changed the makefile? i dont thik i did. basically, every kernel i downloaded i just unzipped and ran make mrproper, then male menuconfig, and i get that error. im pretty sure i didnt change anything in the Makefile.
 
Old 10-21-2004, 09:01 PM   #12
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Did you check the md5sum? I downloaded it alright, and didn't have any problem getting to the configuration part. I'm going to have to guess corrupted kernel source. Especially if you've been able to configure other kernels.
 
Old 10-21-2004, 09:16 PM   #13
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
no. ive already said ive downloaded 3 different kernels and tried them, none of which worked. but, ill try the newest if that'll help. this will make 4 kernels.


---edit---
same error. its not a corrupt file. its not a corrupt file. its not a corrupt file. its not a corrupt file. should i download a 5th one and try again?

Last edited by DAChristen29; 10-21-2004 at 09:31 PM.
 
Old 10-21-2004, 10:10 PM   #14
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
I had the same problem trying to compile kernel 2.6.9... tons of errors trying to "make bzImage". Transferred good 2.6.8.1 bz2 kernel from another machine (that worked)... same errors with a kernel that I know is good.

Looks like a swaret update does it again.

I'm starting to think that "current" is for the birds - nothing to gain and all the pain.
 
  


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
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
"how to make "gyach" work" b0nd Linux - Newbie 1 02-07-2005 04:47 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM
"depmod" and "modprobe" commands don't work The1PatO Fedora 7 06-10-2004 12:10 PM
Must I "append" the LILO to make the eth1 card work? piratebiter Linux - Networking 5 08-31-2003 10:56 AM


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

Main Menu
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