On Sat, Dec 31, 2005 at 02:01:01PM +0530, Anurag Arjun wrote:
> Hi,
>     I encountered the following error while compiling PWLIB library with the
> default uclibc ARM toolchain for Scratchbox:
> 
> --exchange_and_add' undeclared (first use this function)
> ....
> /scratchbox/compilers/arm-gcc-3.3.2-uclibc-snapshot-20040229/arm-linux-uclibc/include/c++/bits/basic_string.h:206:
> error:

> Is the library broken or do I have to set some additional parameters?

It looks like that broken version of bits/atomicity.h has got its way to
your include path. The one that should be used is
/scratchbox/compilers/arm-gcc-3.3.2-uclibc-snapshot-20040229/arm-linux-uclibc/include/bits/atomicity.h
(re)moving the invalid ones away should help.


-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to