[asterisk-users] Can't compile on NSLU2 LE
Gunner
gunner_sinclair at yahoo.com
Tue Feb 3 09:30:24 CST 2009
>> Hi,
>> I keep getting the following on my slug no matter what version I try (1.2, 1.4, 1.6, 1.6svn):
>>
>> ...
>> make[2]: Leaving directory `/usr/portage/distfiles/svn/trunk/menuselect/mxml'
>> gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
>> menuselect.o: file not recognized: File format not recognized
>> collect2: ld returned 1 exit status
>> distcc[19221] ERROR: compile (null) on localhost failed
>> make[1]: *** [menuselect] Error 1
>> make[1]: Leaving directory `/usr/portage/distfiles/svn/trunk/menuselect'
>> make: *** [menuselect/menuselect] Error 2
>>
>> Sybil ~ # file /usr/portage/distfiles/svn/trunk/menuselect/menuselect.o
>> /usr/portage/distfiles/svn/trunk/menuselect/menuselect.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
>>
> >
>> Sybil ~ # uname -a
>> Linux Sybil 2.6.21.7 #1 PREEMPT Mon Dec 24 17:32:03 UTC 2007 armv5tel XScale-IXP42x Family rev 1 (v5l) Linksys NSLU2 GNU/Linux
>>
>> Looks like it is making code for x86 and not ARM. I know people have compiled on the slug, what am I missing?
>
>Do you build this on the NSLU2 machine?
>
>Left-over files from an x86 build? Try 'make clean' .
This is native on the NSLU2. It was right from svn, but I just tried a make clean and it still has the same error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090203/fe34f200/attachment.htm
More information about the asterisk-users
mailing list