LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2010, 03:37 PM   #1
David Li
Member
 
Registered: Mar 2010
Posts: 42

Rep: Reputation: 15
I need an arm EABI version 4 libxml2.so library file


When I compile my application, I received following error:

ERROR: Source object libxml2.so has EABI version 0, but target turbine has EABI version 4.

So I need a libxml2 file with ARM EABI version 4. Can I find one from the internet? or does anyone know how to create one?

Thanks,
 
Old 04-02-2010, 04:51 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
The internet. More than likely a debian base, uclinux, or source file.
Search for arm eabi libxml and there will be a few links for reference underneath this post of yours.
 
Old 07-11-2012, 01:29 PM   #3
rasobrevilla
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Me to need an arm EABI version 4 libxml2.so library file

I also I have this result in my compilation, I tried to fixed this error by multiple ways, but specifically I'm using gcc-4.1.1-glibc-2.4-nptl-sf-1 for IPCam, because for the other card (ADS i.mx27) use the gcc-4.1.2-blibc-2.5-nptl-3, I did not have problem for compile and execute this code on the board ADS im27.

[augusto@augusto-HP lectura_xml_lcd_IPCam]$ make
rm -f XMLLCD XMLLCD.exe
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/arm-926ejs-linux/bin/gcc -c xml_lcd.c `xml2-config --cflags`
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/arm-926ejs-linux/bin/gcc -O3 -Wall -I/home/augusto/IPCam/kernel/linux-2.6.19.2/include -s -o XMLLCD `xml2-config --libs` xml_lcd.o # -L/home/augusto/IPCam/ltib-imx27ads-20070522/rootfs/usr/lib
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: ERROR: Source object /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libxml2.so has EABI version 0, but target XMLLCD has EABI version 4
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: failed to merge target specific data of file /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libxml2.so
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: ERROR: Source object xml_lcd.o has EABI version 0, but target XMLLCD has EABI version 4
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: failed to merge target specific data of file xml_lcd.o
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: ERROR: Source object /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libc.so.6 has EABI version 0, but target XMLLCD has EABI version 4
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: failed to merge target specific data of file /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libc.so.6
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: ERROR: Source object /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libc_nonshared.a(elf-init.oS) has EABI version 0, but target XMLLCD has EABI version 4
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: failed to merge target specific data of file /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libc_nonshared.a(elf-init.oS)
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: ERROR: Source object /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/ld-linux.so.2 has EABI version 0, but target XMLLCD has EABI version 4
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: failed to merge target specific data of file /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/ld-linux.so.2
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: ERROR: Source object /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/crtn.o has EABI version 0, but target XMLLCD has EABI version 4
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: failed to merge target specific data of file /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/crtn.o
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fclose@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `malloc@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fread@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `__errno_location@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fwrite@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `vsprintf@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `sprintf@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `ftell@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fseek@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fdopen@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `strcpy@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `strcat@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `memcpy@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `free@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `strlen@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fopen@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fflush@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `ferror@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fputc@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `memset@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `calloc@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `rewind@GLIBC_2.4'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/lib/libz.so: undefined reference to `fprintf@GLIBC_2.4'
collect2: ld returned 1 exit status
make: *** [all] Error 1
[augusto@augusto-HP lectura_xml_lcd_IPCam]$

Please if anyone has resolve this bug, tell me how you resolved it

Best regards

Last edited by rasobrevilla; 07-11-2012 at 01:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shared library error while running gdbserver on target with arm-926ejs processor amit123solanki Linux - Software 0 07-08-2008 12:55 AM
libxml2-devel Version question statguy SUSE / openSUSE 1 01-25-2008 12:23 PM
LXer: Debian ARM accelerates via EABI port LXer Syndicated Linux News 0 01-20-2007 04:33 PM
libxml2 source: configure file missing logicalfuzz Linux - Software 4 11-30-2005 11:46 AM
php configuration erro libxml2 version 2.5.10 or higher required raninix Linux - Newbie 2 10-28-2004 10:59 AM


All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration