LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-15-2004, 08:59 AM   #1
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Rep: Reputation: 15
Problems doing make xconfig


Hi guys,

I'm trying to compile a new kernel (2.6.4) in a system with Sid, and I get the following error:


d4500:/usr/src/linux# make xconfig
make[1]: `scripts/fixdep' is up to date.
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/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
/usr/share/qt3/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
/bin/sh: line 1: g++: command not found
make[1]: *** [scripts/kconfig/qconf.o] Error 127
make: *** [xconfig] Error 2
d4500:/usr/src/linux#

Any ideas???

Thanks

PS. Make menuconfig does work.....
 
Old 03-15-2004, 09:22 AM   #2
Mr Angry
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian Sarge
Posts: 18

Rep: Reputation: 0
I ran make first, then make xconfig
 
Old 03-15-2004, 09:31 AM   #3
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
what does make do by itself???
 
Old 03-15-2004, 09:59 AM   #4
Mr Angry
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian Sarge
Posts: 18

Rep: Reputation: 0
Quote:
Originally posted by reyemarr
what does make do by itself???
I apologize, make creates links for make config to run, but I did not read that make menuconfig works, so that is not the case.


Did you apt-get install libqt3-dev make gcc bin86 libc6-dev kernel-package module-init-tools ???

Last edited by Mr Angry; 03-15-2004 at 10:07 AM.
 
Old 03-15-2004, 05:26 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
install g++ too just in case
 
Old 03-16-2004, 01:55 AM   #6
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
I have all those packages you guys suggested installed. Any more ideas???
 
Old 03-16-2004, 11:00 AM   #7
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
it looks like it's g++ that's throwing the error.
check scripts/kconfig/qconf.o to see what it's looking for.

You could start the Darwin Debian Users Group and ask everyone that turns up.....
:P
 
Old 03-16-2004, 12:19 PM   #8
Mr Angry
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian Sarge
Posts: 18

Rep: Reputation: 0
try in console g++ -v and post it
 
Old 03-16-2004, 06:41 PM   #9
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Yeah, clearly you don't have g++, you just need to go get it.

As for running "make" before running "make xconfig," that is utter nonsense. It does not "create links required for make config to run." Disregard that advice. (why on earth did you post that?)
 
Old 03-16-2004, 07:48 PM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
which g++
apt-get install g++
 
Old 03-16-2004, 07:52 PM   #11
Mr Angry
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian Sarge
Posts: 18

Rep: Reputation: 0
Quote:
Originally posted by snacky
Yeah, clearly you don't have g++, you just need to go get it.

As for running "make" before running "make xconfig," that is utter nonsense. It does not "create links required for make config to run." Disregard that advice. (why on earth did you post that?)
-at one point with kernel 2.6 through 2.6.3 I had to use make before using make xconfig
-I did see that he is able to run make menuconfig so I told him to disregard using make

cheers
 
Old 03-16-2004, 08:43 PM   #12
Mr Angry
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian Sarge
Posts: 18

Rep: Reputation: 0
root@water:/usr/src/linux# make xconfig
HOSTCC scripts/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2
root@water:/usr/src/linux# make
Makefile:392: .config: No such file or directory
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
HOSTCC scripts/fixdep
HOSTCC scripts/split-include
HOSTCC scripts/conmakehash
HOSTCC scripts/docproc
HOSTCC scripts/kallsyms
CC scripts/empty.o
HOSTCC scripts/mk_elfconfig
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTCC scripts/sumversion.o
HOSTLD scripts/modpost
HOSTCC scripts/pnmtologo
HOSTCC scripts/bin2c
make[2]: `scripts/fixdep' is up to date.
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/i386/Kconfig
optimize && ?
optimize && ?
optimize && ?
optimize && ?
***
*** You have not yet configured your kernel!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2


after that it works, :|
 
Old 03-18-2004, 05:07 AM   #13
reyemarr
Member
 
Registered: Nov 2003
Location: Darwin, Australia
Distribution: Debian,Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
Smile

Sorry I didn't respond any sooner. Anyway, after installing g++ the problem went away . Thank you all
 
Old 04-02-2004, 12:06 PM   #14
hooya27
Member
 
Registered: Aug 2003
Location: In a van down by the river
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
I love this place - installed Qt so I could xconfig a 2.6.3 for myself and got the evil error 127. I googled for [scripts/kconfig/qconf.o] Error 127 and fell right in this thread's lap. You guys are my new best friends.... If installing g++ is the fix, that is...

Remember, everyone else is just like you -- different.
 
  


Reply



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 xconfig, xconfig with weird words pakkua80 Fedora - Installation 3 11-17-2004 06:19 AM
Make xconfig and QT BaptismOfFire Linux - Software 4 09-14-2004 06:04 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM
Several problems, make xconfig & menus in kde3.2 Outabux Debian 5 04-13-2004 01:00 PM
What is the difference between 'make oldconfig' and 'make xconfig' davidas Linux - Newbie 2 04-07-2004 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:18 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
Open Source Consulting | Domain Registration