Kernel compilation error
Hello, while trying to compile a module (shfs) for my kernel (compiled from source, version 2.6.5) I got a segmentation fault error. I deleted my kernel-source folder, while keeping a copy of my configuration, and tried to recompile it. I got the same error again, here it is : === make menuconfig /bin/sh: line 1: 9613 Segmentation fault gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -S -o /dev/null -xc /dev/null /dev/null 21 HOSTCC scripts/basic/fixdep /bin/sh: line 1: 9616 Segmentation fault gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c make[1]: *** [scripts/basic/fixdep] Error 139 make: *** [scripts_basic] Error 2 === I was wondering if it was because of a problem of GCC but I know no way of checking this. I'm using debian unstable and made an 'apt-get update;apt-get upgrade' before trying. The problem isn't kernel related since the compilation worked before, and I get the same error with the 2.6.9 sources. Anyone can help me out ? Thanks in advance _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel compilation error
Yes I have, with the latest provided by debian : 2.6.9 The problem seems to be unrelated to the version of the kernel because even module compilation fails, as I stated before. Thanks for helping Hi Have you tried to compile another 2.6.x kernel with your 2.6.5/.config ? Moreover you will have an up to date kernel. Good luck, Rem _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel compilation error
I do have all the necessary packages. The thing is that I configured my kernel a couple of months ago (when 2.6.5 was the latest stable kernel version). It worked fine. Yesterday I found shfs module, and while trying to compile it I got this error message. It isn't a normal compilation error, all the more, the message says SEGMENTATION FAULT, which means that something goes wrong, really wrong. I'm wondering if it's my gcc that's having problems. Might have to reinstall it, if that's possible. What can I do to force the compilation with another version of GCC, I seem to have 3 of 4 versions installed (2.9something, 3.3 and 3.4 I think) ? and of course you have all the packages needed to compile a kernel ? gcc kernel-package libncurses5-dev module-init-tools ( pour 2.6 uniquement ) binutils modutils And yes, I saw that the compilation processus failed really early, it's strange, it doesn't look like a wrong configuration with make menuconfig, it's like a bug. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel compilation error
I removed some of my gcc's, keeping the gcc-x.x-base files though, they seemed necessary. I tried again, same error. The funny thing, even 'make clean' fails : ... /bin/sh: line 1: 15413 Segmentation fault gcc -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -S -o /dev/null -xc /dev/null /dev/null 21 /bin/sh: line 1: 15420 Segmentation fault gcc -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -S -o /dev/null -xc /dev/null /dev/null 21 ... That's really weird, and starts to worry me a little bit... Something's wrong and I really can't find what it might be... (since apparently it isn't a general gcc bug, I wouldn't be the only one having it...) _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re : compilation error
Oh ok, now I got it... Well it IS a problem with gcc... Even 'gcc -v' gives me a segmentation fault... I'll try to reinstall it... How can this be done actually with apt-get ? _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel compilation error
And it seems all my gcc-3.x packages don't work... gcc-2.95 is fine, but too old... _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel compilation error
I've managed to reinstall gcc-3.3 (with aptitude), after having cleared my apt cache (apt-get clean) so as to be sure that a correct version would be downloaded... Same problem, segmentation fault when I do 'gcc -v' _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
gcc always does a segmentation fault
I posted a little while ago a message here, Kernel Compilation error, because I was facing difficulties with re-compiling correctly my kernel. It seems that gcc is the cause of my problems. It ends with a segmentation fault, always, even the simple command 'gcc -v' gives me : Reading specs from /usr/lib/gcc-lib/i486-linux/2.8.1/specs Segmentation fault I reinstalled my gcc with aptitude, after typing 'apt-get clean' but still the same problem... Anyone can help me out ? Thanks in advance _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re : gcc always does a segmentation fault
Yes Rem, everything is working fine, except gcc... I don't get it... I'm using sid yes... _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gcc always does a segmentation fault
I reinstalled gcc but it didn't work. I changed myself the link to /usr/bin/gcc-3.3 still segfault. But you're right :) I linked /usr/lib/gcc-lib/i486-linux/2.8.1 to /usr/lib/gcc-lib/i486-linux/3.3.5 and it worked ! Now what I need to know is WHY does my gcc try to access 2.8.1 and not 3.3.5 ?! Anyone can help ? _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gcc always does a segmentation fault
Ok, two friends of mine tried 'gcc -v'. They have the exact same error. The funny thing is that one of them seems to have a functionnal gcc (he managed to compile shfs module, I couldn't (that's why I found out of this bug)).. Anyway, I'm sending a mail to the package maintainer... _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re : compilation error
I tried it and it failed... It can't really, AFAIK. I would download the deb again manually, and install it with dpkg. It's a pity apt-get does not have a raw quot;getquot; function which simply downloads a named package, no matter whether it is installed already, etc. Not very modular of it. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re : compilation error
I removed all old versions of gcc. I only kept gcc-3.3 The error persists, but when I move /usr/lib/gcc-lib/i486-linux/2.8.1 directory, everything goes back normal. (at least gcc -v works :) But when I tried to recompile a kernel that had compiled well a couple of months ago (same config used), I got another error... Since this config worked before, I still believe it is gcc related. Here's the error message : include/linux/kernel.h:71: error: parse error before va_list include/linux/kernel.h:71: warning: function declaration isn't a prototype _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Cannot run 'make *config'...
Hi there. I just downloaded the latest kernel-sources of the 2.6 series and I cannot configure them. Whatever I try ('make config, menuconfig, xconfig, gconfig') I get the same error : [...] /usr/include/asm-generic/errno.h:8: error: stray '\270' in program /usr/include/asm-generic/errno.h:9: error: stray '\320' in program /usr/include/asm-generic/errno.h:9: error: stray '\222' in program /usr/include/asm-generic/errno.h:9: error: stray '\320' in program /usr/include/asm-generic/errno.h:9: error: stray '\265' in program /usr/include/asm-generic/errno.h:9: error: stray '\321' in program /usr/include/asm-generic/errno.h:9: error: stray '\207' in program /usr/include/asm-generic/errno.h:9: error: stray '\320' in program scripts/kconfig/mconf.c: In function `exec_conf': scripts/kconfig/mconf.c:243: warning: implicit declaration of function `__errno_location' scripts/kconfig/mconf.c:243: error: invalid type argument of `unary *' 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: invalid type argument of `unary *' scripts/kconfig/mconf.c:243: error: `EAGAIN' undeclared (first use in this function) make[1]: *** [scripts/kconfig/mconf.o] Error 1 make: *** [menuconfig] Error 2 I do though manage to do a 'make xconfig' with the old sources... I tried to compile something else to see, so I downloaded the lyx sources and I got the same problem... Can someone help me out ? Oh, almost forgot, I'm using SID... Thanks in advance __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]