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/
|