[Ace-users] link error with ARM EABI tools

Jeff Rucker jeff.rucker at gmail.com
Thu Jan 24 00:58:36 CST 2008


We have been running ACE for a few months on an embedded ARM system
running embeded Linux. Our board vendor recently switched to an ARM
EABI compiler (gcc-4.1.1), and most of our code works fine, but the
ACE lib no longer links. I'm getting eror messages like this:

.shobj/MEM_Acceptor.o:(.data.rel.ro+0x0): multiple definition of
`typeinfo for ACE_Singleton<ACE_Based_Pointer_Repository,
ACE_RW_Thread_Mutex>'
.shobj/Based_Pointer_Repository.o:(.data.rel.ro+0x0): first defined
here
.shobj/MEM_Acceptor.o:(.rodata+0x0): multiple definition of `typeinfo
name for ACE_Singleton<ACE_Based_Pointer_Repository,
ACE_RW_Thread_Mutex>'
.shobj/Based_Pointer_Repository.o:(.rodata+0x0): first defined here

The previous ARM OABI compiler still works fine - any ideas? And sorry
if I have not left enough info, I'm still a bit new with the ACE code.


More information about the Ace-users mailing list