Skip to contentSkip to conversation

Issues with xbmc and expat.

DISCUSSION Martin Ertsaas 2 participants 2 messages Aug 23, 2013

lore
Share & tools
lore
#0 lore raw

Hi.

I'm trying to build xbmc, but I am stuck at the following error:

| arm-atto-linux-gnueabi-libtool: link: arm-atto-linux-gnueabi-gcc
-march=armv7-a -mthumb-interwork -mfloat-abi=hard --sysroot=/home/martin/Programmering/attolinux/build/tmp-attolinux_next-eglibc-eglibc/sysroots/pandaboard -shared -fPIC -DPIC .libs/psymbol.o .libs/pscan.o .libs/ploader.o
.libs/pinfo.o .libs/pcontrol.o .libs/serial.o .libs/logging.o
.libs/context.o .libs/cpluff.o .libs/util.o .libs/list.o .libs/hash.o
.libs/thread_posix.o /usr/lib/libexpat.so -ldl -march=armv7-a
-mthumb-interwork -mfloat-abi=hard --sysroot=/home/martin/Programmering/attolinux/build/tmp-attolinux_next-eglibc-eglibc/sysroots/pandaboard -O4 -O2 -mno-apcs-stack-check -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed -Wl,-soname -Wl,libcpluff.so.0 -o .libs/libcpluff.so.0.0.3
| /usr/lib/libexpat.so: file not recognized: File format not recognized
| collect2: error: ld returned 1 exit status

What is strange to me is the /usr/lib/libexpat.so inside of there, which seems like it shouldn't be there. To me it looks like it tries to link to my host system expat libary, which of course would fail badly. Any tips on what might be wrong, or how to fix it?

Regards
Martin

#1 lore raw
Quoted 19 lines · Martin Ertsaas

Hi.

I'm trying to build xbmc, but I am stuck at the following error:

| arm-atto-linux-gnueabi-libtool: link: arm-atto-linux-gnueabi-gcc

(quoted diff) +0 -3
-march=armv7-a -mthumb-interwork -mfloat-abi=hard
--sysroot=/home/martin/Programmering/attolinux/build/tmp-attolinux_next-eglibc-eglibc/sysroots/pandaboard
-shared  -fPIC -DPIC  .libs/psymbol.o .libs/pscan.o .libs/ploader.o

.libs/pinfo.o .libs/pcontrol.o .libs/serial.o .libs/logging.o .libs/context.o .libs/cpluff.o .libs/util.o .libs/list.o .libs/hash.o
.libs/thread_posix.o /usr/lib/libexpat.so -ldl -march=armv7-a

(quoted diff) +0 -4
-mthumb-interwork -mfloat-abi=hard
--sysroot=/home/martin/Programmering/attolinux/build/tmp-attolinux_next-eglibc-eglibc/sysroots/pandaboard
-O4 -O2 -mno-apcs-stack-check -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed   -Wl,-soname -Wl,libcpluff.so.0 -o .libs/libcpluff.so.0.0.3

| /usr/lib/libexpat.so: file not recognized: File format not recognized | collect2: error: ld returned 1 exit status

Quoted 4 lines

What is strange to me is the /usr/lib/libexpat.so inside of there, which seems like it shouldn't be there. To me it looks like it tries to link to my host system expat libary, which of course would fail badly. Any tips on what might be wrong, or how to fix it?

most probably hosed up libtool, make sure that libtool scripts in there are 2.4 compatible and can understand sysroot.

Quoted 7 lines

Regards
Martin
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel