PDA

View Full Version : Issue Compiling SDK


MitchKelly
01-31-2010, 02:42 AM
Hey,

Have a small issues trying to run menuconfig on the 5.1 SDK. Here is the error:

mitch@phlox:~/SDK.UBNT.v5.1/openwrt$ make menuconfig V=99
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: i386:x86-64 architecture of input file `zconf.tab.o' is incompatible with i386 output
make[1]: *** [mconf] Error 1
make: *** [scripts/config/mconf] Error 2


I have followed to the letter:
http://www.ubnt.com/wiki/index.php/Setting_up_build_environment_in_Ubuntu_for_re-compiling_AirOS

amark48
02-01-2010, 06:48 PM
Hey,

Have a small issues trying to run menuconfig on the 5.1 SDK. Here is the error:

mitch@phlox:~/SDK.UBNT.v5.1/openwrt$ make menuconfig V=99
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: i386:x86-64 architecture of input file `zconf.tab.o' is incompatible with i386 output
make[1]: *** [mconf] Error 1
make: *** [scripts/config/mconf] Error 2


I have followed to the letter:
http://www.ubnt.com/wiki/index.php/Setting_up_build_environment_in_Ubuntu_for_re-compiling_AirOS
Unpack the SDK.
cd SDK.UBNT.v5.1/openwrt
rm scripts/config/*.o
rm scripts/config/conf

make menuconfig

make your changes and you are good to go.

I had the same problem before. I saw this solution after searching around. It's works.

Report back if that works for you.

FlemmingFrandsen
02-24-2010, 02:51 AM
Can I ask what you guys are building with the SDK, anything exiting?

The reason I ask is that I have collected a patch set containing Quagga, UCARP and BIRD:
http://dren.dk/airos-plus.html so if you're doing something generally useful we might be able to help eachother.

sxpert
02-24-2010, 04:45 AM
Can I ask what you guys are building with the SDK, anything exiting?

The reason I ask is that I have collected a patch set containing Quagga, UCARP and BIRD:
http://dren.dk/airos-plus.html so if you're doing something generally useful we might be able to help eachother.

can you add IPv6 to the mix ?

FlemmingFrandsen
02-24-2010, 07:17 AM
Well, I don't use IPv6 right now, so I don't have any way of testing anything, so the best I could do is to add your .diff file that adds IPv6 and check that it compiles.

sxpert
02-24-2010, 10:35 AM
Well, I don't use IPv6 right now, so I don't have any way of testing anything, so the best I could do is to add your .diff file that adds IPv6 and check that it compiles.

that would be a good start. I can test for you ;)

FlemmingFrandsen
02-26-2010, 08:16 AM
Well, you'd need to develop too:) I don't have the need for IPv6 at the moment.

CzechEnglishFrenchGermanItalianPolishPortugueseRussianSpanish
Translations delivered by vBET 3.5.4