LibOFX compile failure on current CVS
Rik Harris <[email protected]>
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <[email protected]> |
I tried compiling the current version of libofx (CVS revision 1.42 on ChangeLog) and got the following error: . . . /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../inc -I/usr/include/OpenSP -DMAKEFILE_DTD_PATH=\"/usr/local/share/libofx/dtd/\" -g -O2 -c ofx_preproc.cpp rm -f .libs/ofx_preproc.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../inc -I/usr/include/OpenSP -DMAKEFILE_DTD_PATH=\"/usr/local/share/libofx/dtd/\" -g -O2 -Wp,-MD,.deps/ofx_preproc.pp -c ofx_preproc.cpp -fPIC -DPIC -o .libs/ofx_preproc.lo ofx_preproc.cpp: In function `void ofx_prep_cb(int (*)(OfxStatementData), int (*)(OfxAccountData), int (*)(OfxTransactionData), int (*)(OfxSecurityData), int (*)(OfxStatusData))': ofx_preproc.cpp:48: error: invalid conversion from `int (*)(OfxStatementData)' to `int (*)(OfxStatementData, void*)' ofx_preproc.cpp:49: error: invalid conversion from `int (*)(OfxTransactionData)' to `int (*)(OfxTransactionData, void*)' ofx_preproc.cpp:50: error: invalid conversion from `int (*)(OfxSecurityData)' to `int (*)(OfxSecurityData, void*)' ofx_preproc.cpp:51: error: invalid conversion from `int (*)(OfxAccountData)' to `int (*)(OfxAccountData, void*)' ofx_preproc.cpp:52: error: invalid conversion from `int (*)(OfxStatusData)' to `int (*)(OfxStatusData, void*)' make[2]: *** [ofx_preproc.lo] Error 1 make[2]: Leaving directory `/usr/local/src/cvs/libofx/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/cvs/libofx' make: *** [all-recursive-am] Error 2 Since it looked like the new callback stuff, I checked out at tag libofx-0-6-6 the compile worked fine. I'm compiling on a recently upgraded Mandrake 9.2. "c++ -v" gives: Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) OpenSP version 1.5. Hope this helps - let me know if you want other information about my environment. regards, rik. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn