On Feb 17, 2006, at 10:21 AM, Roman Dilken wrote:

Hi!

Now we can get bank on linking aqbanking...


creating libqbanking.la
(cd .libs && rm -f libqbanking.la && ln -s ../libqbanking.la libqbanking.la) if g++ -DHAVE_CONFIG_H -DBUILDING_QBANKING -DPKGDATADIR=\"/usr/ share/aqbanking\" -DQBANKING_PLUGINS=\"/usr/lib/aqbanking/plugins/ 14/frontends/qbanking\" -DQBANKING_HELPDIR=\"/usr/share/aqbanking/ frontends/qbanking/help\" -DQT3_SUPPORT -I. -I. -I../../../.. - I../../../../headers -I./dialogs -I./widgets -I./views -Idialogs - Iwidgets -Iviews -I/Developer/qt/include -fvisibility=hidden -I/ sw/include -g -O2 -g -Wall -MT testlib.o -MD -MP -MF ".deps/ testlib.Tpo" -c -o testlib.o testlib.cpp; \ then mv -f ".deps/testlib.Tpo" ".deps/testlib.Po"; else rm -f ".deps/testlib.Tpo"; exit 1; fi /bin/sh ../../../../libtool --tag=CXX --mode=link g++ -g -O2 -g - Wall -L/sw/lib -L/Developer/qt/lib -g -o testlib testlib.o libqbanking.la -lintl libtool: link: cannot find the library `' or unhandled argument `Carbon'

If I'm remembering correctly, this error results from using the version of Qt that is intended for the Mac. The way I got around it is to use the generic crossplatform version of Qt available via fink. I think that one is based on the Trolltech qt-x11-free... tarball.

As you said, I tried using QT from fink but also the version provided explicitly for mac. With the CVS-version both produce nearly the same issues:

g++ -dynamiclib -single_module -o .libs/libqbanking.4 .libs/ qbflagstaff.o .libs/qbanking.o .libs/qbwaitcallback.o .libs/ qbwcb_fast.o .libs/qbwcb_simple.o .libs/qbwcb_progress.o .libs/ qbcfgmodule.o .libs/banking.o -all_load widgets/.libs/libwidgets.a dialogs/.libs/libdialogs.a views/.libs/libviews.a -L/usr/X11R6/lib -L/sw/lib/freetype219/lib -L/usr/lib -L/sw/lib /sw/lib/ libiconv.dylib /Users/rdilken/dev/aqbanking/src/libs/ aqbanking/.libs/libaqbanking.14.1.4 /usr/lib/libssl.dylib /usr/lib/ libcrypto.dylib /usr/lib/libgwenhywfar.dylib -L/Developer/qt/lib / sw/lib/libqt-mt.dylib /usr/lib/libresolv.dylib /usr/lib/libz.dylib / usr/lib/libm.dylib /usr/lib/libdl.dylib /sw/lib/libintl.dylib - install_name /usr/lib/libqbanking.4 -Wl,-compatibility_version -Wl, 5 -Wl,-current_version -Wl,5.0
ld: warning multiple definitions of symbol ___eprintf
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_eprintf.o) private external definition of ___eprintf in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libstdc++.dylib(single module) definition of ___eprintf
ld: warning multiple definitions of symbol ___divdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text)
/usr/lib/libgcc_s.10.4.dylib(_divdi3_s.o) definition of ___divdi3
ld: warning multiple definitions of symbol ___udivdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text)
/usr/lib/libgcc_s.10.4.dylib(_udivdi3_s.o) definition of ___udivdi3
ld: warning multiple definitions of symbol ___umoddi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text)
/usr/lib/libgcc_s.10.4.dylib(_umoddi3_s.o) definition of ___umoddi3
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
__ZTI14QPtrCollection
__ZTI7QObject
__ZN7QWidget14setRegionDirtyEb
__ZN7QWidget22macWidgetChangedWindowEv
__ZN7QWidget6createEibb
__ZN7QWidget8macEventEPPv
__ZTI13QListViewItem
__ZTI9QListView
__ZTI10QValidator
__ZTI7QDialog
__ZTI7QWidget
__ZTI7QWizard
/usr/bin/libtool: internal link edit command failed
make[7]: *** [libqbanking.la] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Can one tell me how to link these missing symbols?

Oops. I forgot that the current qt-crossplatform in the the fink 10.4- transitional tree forces gcc-3.3 to be used to compile qt3.3.5. If you edit the .info and .patch files (1 place in .info and 3 in .patch, I think) to refer to gcc-4.0 and g++-4.0, then qt will compile fine and be compatible with the newer aqbanking versions that require gcc4.

The fink folk are a week or two past where they thought they'd be in providing a new tree (plain 10.4) that will use gcc4 by default.





Greetings,

Roman


--
David Reiser
[EMAIL PROTECTED]



-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to