- 论坛徽章:
- 0
|
在linux as4平台下编译出现以下错误
../mysys/libmysys.a(mf_pack.o)(.text+0x3ec): In function `unpack_dirname':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../mysys/libmysys.a(mf_pack.o)(.text+0x3fc): In function `unpack_dirname':
: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/yejr/mysql-chplus-5.0.37/source/lib/libHLSplit.a(HLSegFunc.o)(.text+0x243): In function `HLInitSegA':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libHLSplit.a(HLSegFunc.o)(.text+0x25: In function `HLInitSegA':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libHLSplit.a(HLSegFunc.o)(.text+0x360): In function `HLInitSegA':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libHLSplit.a(HLSegFunc.o)(.text+0x37: In function `HLInitSegA':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libHLSplit.a(HLSegFunc.o)(.text+0x44c): In function `HLInitSegA':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libHLSplit.a(HLSegFunc.o)(.text+0x461): more undefined references to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' follow
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x4a): In function `CHLString::CHLString()':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x59): In function `CHLString::CHLString()':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x76): In function `CHLString::CHLString()':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x85): In function `CHLString::CHLString()':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0xa7): In function `CHLString::CHLString(CHLString const&':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0xb6): more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' follow
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x127): In function `CHLString::CHLString(CHLString const&':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x153): In function `CHLString::CHLString(CHLString const&':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x162): In function `CHLString::CHLString(CHLString const&':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x1d3): In function `CHLString::CHLString(CHLString const&':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x1fd): In function `CHLString::CHLString(char const*)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x211): In function `CHLString::CHLString(char const*)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x2af): In function `CHLString::CHLString(char const*)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x2d9): In function `CHLString::CHLString(char const*)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x2ed): In function `CHLString::CHLString(char const*)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x38b): In function `CHLString::CHLString(char const*)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x3c1): In function `CHLString::CHLString(char, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x3d2): In function `CHLString::CHLString(char, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x45f): In function `CHLString::CHLString(char, int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x495): In function `CHLString::CHLString(char, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x4a6): In function `CHLString::CHLString(char, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x533): In function `CHLString::CHLString(char, int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x569): In function `CHLString::CHLString(char const*, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x57a): In function `CHLString::CHLString(char const*, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x60b): In function `CHLString::CHLString(char const*, int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x641): In function `CHLString::CHLString(char const*, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x652): In function `CHLString::CHLString(char const*, int)':
: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x6e3): In function `CHLString::CHLString(char const*, int)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x1025): In function `CHLString::Mid(int, int) const':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(HLString.o)(.text+0x10a9): In function `CHLString::Mid(int, int) const':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(MultiThread.o)(.text+0x17f): In function `CThNamedSem::CThNamedSem(char const*)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(MultiThread.o)(.text+0x200): In function `CThNamedSem::CThNamedSem(char const*)':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
/home/yejr/mysql-chplus-5.0.37/source/lib/libBaseClass.a(MultiThread.o)(.text+0x234): more undefined references to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' follow
collect2: ld returned 1 exit status
make[3]: *** [myisamchk] 错误 1
make[3]: Leaving directory `/home/yejr/mysql-chplus-5.0.37/source/mysql-5.0.37/myisam'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/yejr/mysql-chplus-5.0.37/source/mysql-5.0.37'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/yejr/mysql-chplus-5.0.37/source/mysql-5.0.37'
make: *** [mysql] 错误 2 |
|