Problems building with --enable-ofx

Nigel Titley nigel@titley.com
18 Dec 2002 23:07:19 +0000


On Wed, 2002-12-18 at 23:03, Nigel Titley wrote:
> 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... 

Yep, that was it. Building away quite happily now.

> 
> 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)
> > 
> > ofxdump works quite happily on a sample OFX file from my bank.
> > 
> > However, when I do a build from the CVS tree, with the following
> > arguments
> > 
> > ./autogen.sh --enable-opt-style-install --prefix=/opt/gnucash
> > --enable-ofx
> > 
> > the ./configure phase fails with
> > 
> > checking for libofx/libofx.h... yes
> > checking for libofx... configure: error: cannot find libofx library,
> > needed for OFX support.
> > 
> > The config.log file gives
> > 
> > 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"
> > 
> >        	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) {}
> > 	
> > int main() {
> > 
> > 	ofx_proc_file();
> > 	
> > ; return 0; }
> > 
> > This is CVS, Redhat 7.3. Without the --enable-ofx it builds and works
> > like a charm.
> > 
> > Anybody got any suggestions?
> > 
> > Nigel
> > 
> > 
> > 
> > 
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel@lists.gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > 
> 
>