Problems building with --enable-ofx

Nigel Titley nigel@packetexchange.net
18 Dec 2002 22:54:03 +0000


--=-RbqxD+oEmugrGhT1diB1
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Its always the same, I post a query, then just as the mouse rebounds I
solve it myself (I think)... My version of libofx is too old (0.3).

I'm just downloading a new version. Sorry folks...=20

Nigel

On Wed, 2002-12-18 at 22:21, Nigel Titley wrote:
> I'm trying hard to build with OFX support but failing miserably. I've
> built OpenSP 1.5 and installed it in /usr/lib, likewise libofx (v3.0)
>=20
> ofxdump works quite happily on a sample OFX file from my bank.
>=20
> However, when I do a build from the CVS tree, with the following
> arguments
>=20
> ./autogen.sh --enable-opt-style-install --prefix=3D/opt/gnucash
> --enable-ofx
>=20
> the ./configure phase fails with
>=20
> checking for libofx/libofx.h... yes
> checking for libofx... configure: error: cannot find libofx library,
> needed for OFX support.
>=20
> The config.log file gives
>=20
> configure:10951: checking for libofx
> configure:10970: gcc -o conftest -g -O2    conftest.c -lm   -lofx
> -lstdc++ 1>&5
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libofx.so: undefined
> reference to `ofx_proc_statement'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libofx.so: undefined
> reference to `ofx_proc_account'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libofx.so: undefined
> reference to `ofx_proc_status'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libofx.so: undefined
> reference to `ofx_proc_transaction'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 10955 "configure"
> #include "confdefs.h"
>=20
>        	void ofx_proc_security_cb(void) {}
>        	void ofx_proc_transaction_cb(void) {}
>        	void ofx_proc_statement_cb(void) {}
>        	void ofx_proc_status_cb(void) {}
>        	void ofx_proc_account_cb(void) {}
>=20=09
> int main() {
>=20
> 	ofx_proc_file();
>=20=09
> ; return 0; }
>=20
> This is CVS, Redhat 7.3. Without the --enable-ofx it builds and works
> like a charm.
>=20
> Anybody got any suggestions?
>=20
> Nigel
>=20
>=20
>=20
>=20
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>=20


--=-RbqxD+oEmugrGhT1diB1
Content-Type: application/DEFANGED-7024; name="signature_asc.DEFANGED-7024"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA+APyLP+B4VJuYb4kRAo5eAKDg9ElyXEDA4uXKUfLizWhACQVM7ACfRE06
j8FE5/PykQCJ0iu67JRt+i4=
=wKVi
-----END PGP SIGNATURE-----

--=-RbqxD+oEmugrGhT1diB1--