header designation

David Reiser <[email protected]> Fri, 24 Mar 2006 01:25:30 -0500
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
I updated my source tree from cvs about an hour ago, and tried to  
build it. I get:

Making all in ofxconnect
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../inc -I/sw/include/libxml2 - 
I/sw/include -I/sw/include/libxml++-1.0 -I/sw/lib/libxml++-1.0/ 
include   -I/sw/include  -I/sw/include -MT cmdline.o -MD -MP -MF  
".deps/cmdline.Tpo" -c -o cmdline.o cmdline.c; \
then mv -f ".deps/cmdline.Tpo" ".deps/cmdline.Po"; else rm -f ".deps/ 
cmdline.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../inc -I/sw/include/libxml2 - 
I/sw/include -I/sw/include/libxml++-1.0 -I/sw/lib/libxml++-1.0/ 
include   -I/sw/include  -I/sw/include -MT nodeparser.o -MD -MP -MF  
".deps/nodeparser.Tpo" -c -o nodeparser.o nodeparser.cpp; \
then mv -f ".deps/nodeparser.Tpo" ".deps/nodeparser.Po"; else rm -f  
".deps/nodeparser.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../inc -I/sw/include/libxml2 - 
I/sw/include -I/sw/include/libxml++-1.0 -I/sw/lib/libxml++-1.0/ 
include   -I/sw/include  -I/sw/include -MT ofxpartner.o -MD -MP -MF  
".deps/ofxpartner.Tpo" -c -o ofxpartner.o ofxpartner.cpp; \
then mv -f ".deps/ofxpartner.Tpo" ".deps/ofxpartner.Po"; else rm -f  
".deps/ofxpartner.Tpo"; exit 1; fi
ofxpartner.cpp:24:27: error: libofx/libofx.h: No such file or directory
ofxpartner.h:30: error: 'OfxFiServiceInfo' does not name a type
ofxpartner.cpp:140: error: 'OfxFiServiceInfo' does not name a type
make[2]: *** [ofxpartner.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


if I change <libofx/libofx.h> to just <libofx.h> in both  
ofxpartner.cpp and ofxpartner.h, then the build completes. But if I then
ofxdump --list-import formats

I get a list of 4 lines, followed by a bus error.

I really don't understand file substitutions, so it may be obvious to  
you that I'm causing self-inflicted wounds...

Mac OS X 10.4.5, gcc 4.0.1, fink compiled OpenSP 1.5.1

I recently tried to compile libofx using a darwinports base, but had  
even more problems. I'll have to get back to that in a while, since  
the fink gnome install won't print for me (but darwinports based  
gnome does). Sigh.

I have successfully compiled and used libofx 0.8.1 as recently as  
January this year.
--
David Reiser
[email protected]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642