qt3-mac compile error

Jean-Christophe Michel jc.michel at symetrie.com
Thu Sep 21 00:15:42 PDT 2006


Hi, trying to install qt3-mac on powerpc/10.3.9, I got:

--->  Building qt3-mac with target symlinks src-qmake src-moc sub-src  
sub-tools
Error: Target com.apple.build returned: shell command "cd  
"/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_aqua_qt3-mac/work/qt-mac-free-3.3.4" && QMAKESPEC='' QTDIR=''  
DYLD_LIBRARY_PATH="/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_aqua_qt3-mac/work/qt-mac-free-3.3.4/lib" make symlinks src-qmake  
src-moc sub-src sub-tools" returned error 2
Command output: /usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private  
external definition of  
std::allocator<char>::allocator(std::allocator<char> const&) in section  
(__TEXT,__text)
ld: multiple definitions of symbol std::allocator<char>::allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<char>::allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<char>::allocator() in section  
(__TEXT,__text)
ld: multiple definitions of symbol std::allocator<char>::~allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<char>::~allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<char>::~allocator() in section  
(__TEXT,__text)
ld: multiple definitions of symbol std::allocator<char>::~allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<char>::~allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<char>::~allocator() in section  
(__TEXT,__text)
ld: multiple definitions of symbol  
std::allocator<wchar_t>::allocator(std::allocator<wchar_t> const&)
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<wchar_t>::allocator(std::allocator<wchar_t> const&)
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of  
std::allocator<wchar_t>::allocator(std::allocator<wchar_t> const&) in  
section (__TEXT,__text)
ld: multiple definitions of symbol std::allocator<wchar_t>::allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<wchar_t>::allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<wchar_t>::allocator() in section  
(__TEXT,__text)
ld: multiple definitions of symbol  
std::allocator<wchar_t>::allocator(std::allocator<wchar_t> const&)
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<wchar_t>::allocator(std::allocator<wchar_t> const&)
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of  
std::allocator<wchar_t>::allocator(std::allocator<wchar_t> const&) in  
section (__TEXT,__text)
ld: multiple definitions of symbol std::allocator<wchar_t>::allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<wchar_t>::allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<wchar_t>::allocator() in section  
(__TEXT,__text)
ld: multiple definitions of symbol std::allocator<wchar_t>::~allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<wchar_t>::~allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<wchar_t>::~allocator() in section  
(__TEXT,__text)
ld: multiple definitions of symbol std::allocator<wchar_t>::~allocator()
/usr/lib/libstdc++.6.dylib(single module) definition of  
std::allocator<wchar_t>::~allocator()
/usr/lib/gcc/darwin/3.3/libstdc++.a(stl-inst.o) private external  
definition of std::allocator<wchar_t>::~allocator() in section  
(__TEXT,__text)
make[1]: *** [../lib/libqt-mt.3.3.4.dylib] Error 1
make: *** [sub-src] Error 2

Error: Status 1 encountered during processing.


Jean-Christophe Michel




More information about the macports-users mailing list