David Reiser wrote:
When I've had 'undefined symbols' problems with Qt, it has been because
I was mixing gcc 3.3 and 4.0. The trolltech docs mention that qt-3.3.5
added support for gcc 4, but all the other 3.x.x qt's required compiling
with gcc 3.x. I'm a bit fuzzy on this, but I think the qt-3.3.5 cross
platform version in fink still asks for gcc 3.3. The qt libraries, if
generated by gcc 3.3, are definitely incompatible as links to/with gcc 4
compiled code.
Try switching your compiler to gcc 3.3 to see if the symbols problems go
away.
Yes. At least the C++ compiler needs to be 3.3. All packages in the
10.4-transitional tree are compiled with g++-3.3 as C++ compiler. The
message
/usr/bin/ld: Undefined symbols:
typeinfo for QPtrCollection
is typical for the incompatibility between g++-3.3 and g++-4.0.
When the 10.4 (non-transitional) tree opens, it is possible that qt3mac
will use g++-4.0 as compiler and you can then use g++-4.0 for your projects.
--
Martin
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users