Bennett Helm wrote:
On Jun 26, 2006, at 12:44 PM, Abdelrazak Younes wrote:
You compiled Qt4 yourself right? I think that Qt needs some libraries
to link with, libstdc++ most probably. Please verify that the final
link is done with g++ and/or that -lstdc++ is somewhere in this
linking command.
Here's more output (below). g++-4 is used, but -lstdc++ is not there.
Yes, I compiled Qt4 myself, though I have a working Qt-4.1.3, which I
tried with your branch as well, and I get the same problem.
This is not related to your linking errors but those two messages is
maybe an indication of what fails WRT to Mac an locales:
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
../intl/libintl.a(localcharset.o) definition of _locale_charset in
section (__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
I don't know what's going on there Bennett. Maybe a make clean will help.
Abdel.
/usr/bin/ld: Undefined symbols:
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_S_empty_rep_storage
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned long, std::allocator<char> const&)
__ZNSt15basic_streambufIcSt11char_traitsIcEEC4Ev
__ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::_S_force_new
std::__default_alloc_template<true, 0>::_S_free_list
std::__default_alloc_template<true, 0>::_S_node_allocator_lock
std::__default_alloc_template<true, 0>::allocate(unsigned long)
std::__default_alloc_template<true, 0>::_S_refill(unsigned long)
__ZNSaIcED4Ev
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
__ZNSsD4Ev
collect2: ld returned 1 exit status