[pkg-boost-devel] Bug#485434: Bug#485434: undefined reference to __sync_fetch_and_add_4

Steve M. Robbins steve at sumost.ca
Mon Jun 9 17:47:59 UTC 2008


On Mon, Jun 09, 2008 at 04:07:30PM +0200, Kai Fischer wrote:
> Package: libboost1.35-dev
> Version: 1.35.0-5
> Architecture: armel (most probably also on arm)
> 
> During linking the following error is thrown: undefined reference to
> `__sync_fetch_and_add_4'

For now, you can avoid this by compiling your application with
-DBOOST_SP_USE_PTHREADS.  You need this on: hppa, sparc, arm,
and armel.

I'll take a look at the trunk changes, later.

Thanks,
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20080609/50f378a6/attachment.pgp 


More information about the pkg-boost-devel mailing list