Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error with make menuconfig
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat May 16, 2009 1:08 pm    Post subject: error with make menuconfig Reply with quote

Just emerged tuxonice-2.6.28-r2

make menuconfig gives this:

Code:
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/mconf.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/zconf.tab.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/lxdialog/checklist.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/lxdialog/util.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/lxdialog/inputbox.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/lxdialog/textbox.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/lxdialog/yesno.o' is incompatible with i386 output
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `scripts/kconfig/lxdialog/menubox.o' is incompatible with i386 output


if I back into the ...-r1 directory make menuconfig works fine.

Anyone know what's going on here?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
foxicatko
n00b
n00b


Joined: 15 Mar 2008
Posts: 14

PostPosted: Sat May 16, 2009 4:41 pm    Post subject: Reply with quote

The linker is trying to link files that have been created for x86_64 architecture, but the linker has been built for i386.
I'd say you have either wrong version of gcc (i386) or wrong source.
Try running
Code:
 make mrproper; make menuconfig
to see if you can get rid of the object files, if you're sure you're running the correct version of gcc (ld).
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat May 16, 2009 5:32 pm    Post subject: Reply with quote

Since I have no trouble building tuxonice-2.6.29-r1 this looks
like a mispackaging problem of some kind ...

does -r2 work for anyone here?


EDIT: I copied the r1/scripts/kconfig files to the r2/scripts/kconfig
directory and then everything worked :? Needless to say, this
is bullshit.
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum