Re: Problem with ofx when compiling gnucash on arm

Benoit Grégoire <[email protected]>
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
On May 6, 2003 10:34 pm, James A. Treacy wrote:
> When compiling gnucash on arm, it dies with the following:
>SNIP.....
> make[6]: Leaving directory
> `/build/buildd/gnucash-1.8.2/src/import-export/ofx/test'
>
> Using ofx_proc_security_cb as an example:
> There is a prototype for it in inc/libofx.h
> The routine is defined in ofx2qif/ofx2qif.c and ofxdump/ofxdump.cpp
>
> What is strange is that this problem only occurs on arm.
>
> Benoit, any idea what is going on here?

Those callback MUST be defined by by the CLIENT of libofx.  This is how libofx 
send's data to the client app.  (I know, I know, tthis is not the standard 
way of doing thing, and will change real soon now...)

In the meanwhile, try adding the following lines at the end of test-link.c:

int ofx_proc_status_cb(struct OfxStatusData data)
{
return 0;
}
int ofx_proc_security_cb(struct OfxSecurityData data)
{
return 0;
}
int ofx_proc_transaction_cb(struct OfxTransactionData data)
{
return 0;
}
int ofx_proc_statement_cb(struct OfxStatementData data)
{
return 0;
}
int ofx_proc_account_cb(struct OfxAccountData data)
{
return 0;
}

I suppose it should now compile, and I have no idea why it only screws up on 
arm...

-- 
Benoit Grégoire
http://step.polymtl.ca/~bock/


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.