[asterisk-users] Can't compile on NSLU2 LE
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Feb 3 08:40:55 CST 2009
On Tue, Feb 03, 2009 at 05:14:42AM -0800, Gunner wrote:
> 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' .
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list