ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: TS7800 Compile and use Boost ASIO
From: "Donb" <>
Date: Thu, 10 Feb 2011 16:29:14 -0000
I am no expert but when I compiled ZeroMQ for the TS-7800, I had to use the 
arm-none-linux-gnueabi-g++ as compiler and linker. I am still using stock 
2.6.21 kernel and file system.


--- In  Bruno Selva <> wrote:
>
> 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  "brunoselva@" <brunoselva@> 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.
> >
> >  
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<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