Oscar Erlandsson wrote: []
I'm doing all this on a pristine Panther install onto which I have only manually copied my Homedirectory, so I really don't think it's possible for anything qt-related to be installed.
OK, I'll explain my analysis of this error in my case. You can then compare whether this happened in a similar way to you or if the cause is something different. How you can do the comparison, I don't know, it depends on what you find in your /sw/src/qt3* directory in in the build log. Sorry for the long message, but hunting interesting bugs takes some patience :-)
In any case, the fatal error message
ld: Undefined symbols: qInitImages_designercore()
comes much later than the actual error. This symbol is, in a successfully run qt3 build process, defined in the file
tools/designer/designer/qmake_image_collection.cpp :
void qInitImages_designercore()
{
if ( !factory ) {
factory = new MimeSourceFactory_designercore;
QMimeSourceFactory::defaultFactory()->addFactory( factory );
}
}What make understanding difficult is the fact that this file is not part of the original sources, but created on the fly via the command
/sw/src/qt3-3.2.2-11/qt-x11-free-3.2.2/bin/uic -L /sw/src/qt3-3.2.2-11/qt-x11-free-3.2.2/plugins -embed designercore images/designer_adjustsize.png [follows a list of some 200 png files] -o qmake_image_collection.cpp
In my case, I got after this line 216 lines of error messages of the type
uic: cannot load image file images/designer_adjustsize.png
for each one of the 216 png files. The compilation doesn't stop, but the file in question is truncated and therefore the definition of qInitImages_designercore() is missing.
The reason for this failure of loading the png image files was that the newly built binary uic did not run correctly, because it tried to load /sw/lib/libqt-mt.dylib which was an older version than what it expected, so that it crashed.
There is actually a crash report in /Library/Logs/CrashReporter/uic.crash.log
that says
Link (dyld) error:
dyld: bin/uic version mismatch for library: /sw/lib/libqt-mt.3.dylib (compatibility version of user: 3.2.0 greater than library's version: 3.0.0)
OK, this is what I found. Now I am curious what you are finding.
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
