Hi everyone,
I just got around to building Qt 4.1.1 on my G4 eMac. It built and installed OK, and the programs I build with it run OK as well. However, dozens of linker warnings got displayed while linking Qt itself and again while linking programs built with it.
The warnings from building Qt dispeared when they were pushed up out of terminal memory by the "make install" messages. However, here are some of the warnings from linking applications:
c++ -headerpad_max_install_names -o catkin-qtm.app/Contents/MacOS/catkin-qtm catkin.o main.o XmlRpcHandler.o moc_catkin.o -F/Developer/Trolltech/Qt-4.1.1/lib -L/Developer/Trolltech/Qt-4.1.1/lib -framework QtXml -F/private/tmp/qt-mac-opensource-src-4.1.1/lib -L/private/tmp/qt-mac-opensource-src-4.1.1/lib -framework QtGui -framework Carbon -framework QuickTime -framework QtNetwork -framework QtCore -lz -lm -framework ApplicationServices
/usr/bin/ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0x30000) of /Developer/Trolltech/Qt-4.1.1/lib/QtXml.framework/Versions/4.0/QtXml
/usr/bin/ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0x383000) of /Developer/Trolltech/Qt-4.1.1/lib/QtGui.framework/Versions/4.0/QtGui
/usr/bin/ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0x3b000) of /Developer/Trolltech/Qt-4.1.1/lib/QtNetwork.framework/Versions/4.0/QtNetwork
/usr/bin/ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0xde000) of /Developer/Trolltech/Qt-4.1.1/lib/QtCore.framework/Versions/4.0/QtCore
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0x30000) of /Developer/Trolltech/Qt-4.1.1/lib/QtXml.framework/Versions/4.0/QtXml
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __DATA segment (address = 0x30000 size = 0x6000) of /Developer/Trolltech/Qt-4.1.1/lib/QtXml.framework/Versions/4.0/QtXml
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __LINKEDIT segment (address = 0x36000 size = 0x2a000) of /Developer/Trolltech/Qt-4.1.1/lib/QtXml.framework/Versions/4.0/QtXml
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0x383000) of /Developer/Trolltech/Qt-4.1.1/lib/QtGui.framework/Versions/4.0/QtGui
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0x3b000) of /Developer/Trolltech/Qt-4.1.1/lib/QtNetwork.framework/Versions/4.0/QtNetwork
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __DATA segment (address = 0x3b000 size = 0xa000) of /Developer/Trolltech/Qt-4.1.1/lib/QtNetwork.framework/Versions/4.0/QtNetwork
/usr/bin/ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x3d000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __TEXT segment (address = 0x0 size = 0xde000) of /Developer/Trolltech/Qt-4.1.1/lib/QtCore.framework/Versions/4.0/QtCore
/usr/bin/ld: warning prebinding not disabled because (__DATA segment (address = 0x3e000 size = 0x8000) of catkin-qtm.app/Contents/MacOS/catkin-qtm overlaps with __LINKEDIT segment (address = 0x36000 size = 0x2a000) of /Developer/Trolltech/Qt-4.1.1/lib/QtXml.framework/Versions/4.0/QtXml
I can't think of anything I'm doing differently from when I built Qt 4.1.0. I configured with a different prefix (/Developer/Trolltech rather than /usr/local/Trolltech) and with GIF support (both as with 4.1.0), but building apps with 4.1.0 did not give me this flood of linker warnings (although I did get a couple of prebinding not disabled warnings per build, but nothing on this level).
Anyone know what's up?
Bookmarks