Dear all,
I am trying to compile some games using Scratch box for my target system
When a game have included with file <string> showing the below mention error
related to basic_string.h
#include<string>
I tried 3 games like this all showing similar type of error realted to
basic_string.h
Please help me in this
how such error can be solved.
I am using version 3.4.6 of uclibs
Thanks in advance
make
gcc -Wall -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -c src/djFont.cpp -o src/djFont.o
In file included from
/scratchbox/compilers/crosstools_hf-linux-2.6.12.0_gcc-3.4.6-20_uclibc-0.9.28-20050817-20070131/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../include/c++/3.4.6/string:53,
from src/djUtils.h:11,
from src/djFont.h:12,
from src/djFont.cpp:8:
/scratchbox/compilers/crosstools_hf-linux-2.6.12.0_gcc-3.4.6-20_uclibc-0.9.28-20050817-20070131/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../include/c++/3.4.6/bits/
*basic_string.h*:148: error: `_Atomic_word' does not name a type
/scratchbox/compilers/crosstools_hf-linux-2.6.12.0_gcc-3.4.6-20_uclibc-0.9.28-20050817-20070131/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../include/c++/3.4.6/bits/
*basic_string.h*: In member function `void std::basic_string<_CharT,
_Traits, _Alloc>::_Rep::_M_dispose(const _Alloc&)':
/scratchbox/compilers/crosstools_hf-linux-2.6.12.0_gcc-3.4.6-20_uclibc-0.9.28-20050817-20070131/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:217:
error: `__exchange_and_add' is not a member of `__gnu_cxx'
/scratchbox/compilers/crosstools_hf-linux-2.6.12.0_gcc-3.4.6-20_uclibc-0.9.28-20050817-20070131/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:
In member function `_CharT* std::basic_string<_CharT, _Traits,
_Alloc>::_Rep::_M_refcopy()':
/scratchbox/compilers/crosstools_hf-linux-2.6.12.0_gcc-3.4.6-20_uclibc-0.9.28-20050817-20070131/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:230:
error: `__atomic_add' is not a member of `__gnu_cxx'
make: *** [src/djFont.o] Error 1
--
With Best Regards
Manish Hemani
--
With Best Regards
Manish Hemani
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users