I'm trying to build some external software using both fink and non- fink libraries. After using the trolltech install of qt3.3.5, and having the external software complain about not being able to find Carbon during linking, it occurred to me that I really ought to be using the cross platform fink version.

So I moved /developer/qt out of the way, installed the cross platform qt3.3.5 from fink (OS X 10.4.3), cleaned out the source directory, set off to make again. I saw:

Making all in widgets
/sw/bin/uic qbprogress.ui -impl qbprogress.ui.h -o qbprogress.ui.cpp
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO
  Expected in: /sw/lib/libJPEG.dylib

I can play with the symlink to get /sw/lib/libJPEG.dylib to point back into /System/...../ImageIO/libJPEG.dylib, but what the heck is uic doing over in /System? (If one takes out the 'cg' in that missing symbol name, the symbol is in the /sw/lib/libJPEG.dylib target.)

While I don't know all the details of the software build, I can almost guarantee that Qt is the only thing that has any clue that a Mac might be involved.

After I do the symlink shenanigans, the build continues, but I end up at:

g++ -I/opt/include -g -Wall -g -o .libs/aqofxconnect-qt3-wizard qt3_wizard.o -Wl,-bind_at_load -L/opt/lib ../libs/.libs/ libqt3wizard.a -L/Users/dbr/desktop/aqbanking-1.6.1/src/libs/ aqbanking -L/sw/lib -L/Users/dbr/desktop/aqbanking-1.6.1/src/ frontends/qbanking /Users/dbr/desktop/aqbanking-1.6.1/src/frontends/ qbanking/.libs/libqbanking.dylib -L/sw/lib/freetype219/lib -L/usr/ X11R6/lib -L/Users/dbr/desktop/aqbanking-1.6.1/src/plugins/backends/ aqofxconnect/plugin /opt/lib/libaqofxconnect.dylib /opt/lib/ libaqbanking.dylib /opt/lib/libofx.dylib /sw/lib/libosp.dylib - lpthread -lstdc++ /opt/lib/libgwenhywfar.dylib /sw/lib/libintl.dylib / sw/lib/libiconv.dylib -lc -lssl -lcrypto /sw/lib/libqt-mt.dylib - lresolv -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft / sw/lib/freetype219/lib/libfreetype.dylib -lfontconfig -lXext -lX11 - lm -lSM -lICE -ldl
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteri
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) definition of _glPointParameteri /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol _glPointParameteriv
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) definition of _glPointParameteriv /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteriv
/usr/bin/ld: Undefined symbols:
typeinfo for QPtrCollection
typeinfo for QListViewItem
typeinfo for QListView
typeinfo for QDialog
typeinfo for QWidget
collect2: ld returned 1 exit status

and it looks like I have something amiss in my Qt setup somewhere else. This software does build and run on Linux.

Anyone know what I've missed?
--
David Reiser
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to