PDA

View Full Version : no longer able to link on Mac



ber_44
2nd July 2007, 22:49
Hello, I was doing fine on Mac so far but suddenly (maybe because I recently installed the Qt binary package--for the help tools--which is compiled with a newer gcc) I get this message during linking:
ld: /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunsdfdi.o) illegal reference to symbol: ___cmpdi2 defined in indirectly referenced dynamic library /usr/lib/libgcc_s.1.dylib
Do you know how to fix it?
I still use my earlier static Qt build like this:
../qt-mac-opensource-src-4.2.3/bin/qmake -o Makefile -config release test.pro -spec ../qt-mac-opensource-src-4.2.3/mkspecs/macx-g++/
and would be happy to uninstall the Qt binary if that is what causes it -- though I am not sure how to do that, maybe gcc libs were overwritten, etc.

ber_44
4th July 2007, 00:59
This was the solution:
shell# /Developer/Tools/uninstall-qt.py