ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS7800 Compile and use Boost ASIO

To:
Subject: Re: [ts-7000] Re: TS7800 Compile and use Boost ASIO
From: Bruno Selva <>
Date: Wed, 9 Feb 2011 16:18:42 -0200


I tried to do that, but no success.
I am trying other ways to compile, now I got the following error (I am compiling Boost and my application with the same compiler):

/opt/arm-none-linux-gnueabi/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: ERROR: Source object lib/arm/libboost_system.so has EABI version 0, but target socketserver_arm has EABI version 4
/opt/arm-none-linux-gnueabi/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file lib/arm/libboost_system.so
lib/arm/libboost_system.so: undefined reference to '
lib/arm/libboost_system.so: undefined reference to '
lib/arm/libboost_system.so: undefined reference to '
lib/arm/libboost_system.so: undefined reference to '
lib/arm/libboost_system.so: undefined reference to '
lib/arm/libboost_system.so: undefined reference to `__gxx_personality_sj0'


2011/2/8 Harold <>
 



--- In ts-7000%40yahoogroups.com, "" <> wrote:
>
> Hi,
>
> I am trying to use boost asio with my ts-7800 board.
>
> When I use the crosstool-linux-gcc-4.0.1-glibc-2.3.5 seems to be ok and I can run almost everything.
> But when I try to use "async_accept" method, I got the following error to compile my program:
> /tmp/ccA9ErDy.s: Assembler messages:
> /tmp/ccA9ErDy.s:6345: Error: bad instruction `dmb'
>
>
> So I tried to use the arm-none-linux-gnueabi, I can compile boost, compile my program, but I can't run on my board: No such file or directory.
>
> I think the problem with EABI is something easy, but I can't find out. Can someone help me?
>
> Thanks
>

Try using static linking with EABI, by using -static when you link.
Also, try using -mcpu=arm9 when you compile.




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU