vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am getting following compilation error while compiling with our own front end. <hr /> "/usr/vacpp/include/xlocale", line 461: error #77-D: this declaration has no storage class or type specifier _EXTERN_STATIC_DATA3(codecvt<char, char, mbstate_t>) ^ "/usr/vacpp/include/xlocale", line 461: error #65: expected a ";" _EXTERN_STATIC_DATA3(codecvt<char, char, mbstate_t>) ^ "/usr/vacpp/include/xlocale", line 462: error #77-D: this declaration has no storage class or type specifier _EXTERN_STATIC_DATA3(codecvt<wchar_t, wchar_t, mbstate_t>) ^ "/usr/vacpp/include/xlocale", line 462: error #247: variable "std::__ExternStaticData" has already been defined _EXTERN_STATIC_DATA3(codecvt<wchar_t, wchar_t, mbstate_t>) ^ "/usr/vacpp/include/xlocale", line 462: error #65: expected a ";" _EXTERN_STATIC_DATA3(codecvt<wchar_t, wchar_t, mbstate_t>) ^ "/usr/vacpp/include/xlocale", line 607: error #77-D: this declaration has no storage class or type specifier _EXTERN_STATIC_DATA3(codecvt<wchar_t, char, mbstate_t>) ^ "/usr/vacpp/include/xlocale", line 607: error #247: variable "std::__ExternStaticData" has already been defined _EXTERN_STATIC_DATA3(codecvt<wchar_t, char, mbstate_t>) <hr /> To avoid this error, I tried to build by passing the flag - D__BUILD_RT__ while compilation.With this, the above mentioned error could not be seen, but I got following new errors with xlC9.0 compiler.<hr /> command: xlC_r -c -qnotempinc -qlanglvl=ansi -qlonglong -g -q32 schema.cxx -o schema.o ld: 0711-317 ERROR: Undefined symbol: std::_StdStringOldRefCount ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more informa tion. <hr /> Can any body please help me solving the above problems and tell how I will get the value of keyword __ExternStaticData. Thanks and Regards, Reshma |