Re: compile error
brad <[email protected]> Thu, 20 Jan 2011 20:41:19 -0700
| Newsgroups | gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <1295581279.1583.24.camel@brad-desktop> |
I found this http://bugs.gentoo.org/attachment.cgi?id=150530&action=view Looks very similar. I reverted back to libofx-0.9.0 and now I can get it to build, but now I get this error when running: ofxdump test.ofx LibOFX INFO: libofx_proc_file(): File format not specified, autodecting... (Above message occured on Line 4294967295, Column 4294967295) LibOFX INFO: libofx_proc_file(): Detected file format: OFX (Open Financial eXchange (OFX or QFX)) (Above message occured on Line 4294967295, Column 4294967295) LibOFX ERROR: find_dtd():Unable to find the DTD named opensp.dcl (Above message occured on Line 4294967295, Column 4294967295) LibOFX ERROR: find_dtd():Unable to find the DTD named ofx160.dtd (Above message occured on Line 4294967295, Column 4294967295) LibOFX ERROR: ofx_proc_file(): FATAL: Missing DTD, aborting (Above message occured on Line 4294967295, Column 4294967295) If I run the ofxdump that's installed by the apt-get it works with the same file. LibOFX INFO: libofx_proc_file(): File format forced to: OFX (Open Financial eXchange (OFX or QFX)) (Above message occured on Line 4294967295, Column 4294967295) LibOFX STATUS: find_dtd():DTD found: /usr/share/libofx4/0.9.0/dtd/opensp.dcl (Above message occured on Line 4294967295, Column 4294967295) LibOFX STATUS: find_dtd():DTD found: /usr/share/libofx4/0.9.0/dtd/ofx160.dtd (Above message occured on Line 4294967295, Column 4294967295) I ran configure w/ --prefix and I see opensp.dcl & the other in a local dtd directory. How do I configure it to find these files? On Thu, 2011-01-20 at 18:14 -0700, brad wrote: > I should of mentioned, I'm using ubuntu 10.04 > > On Wed, 2011-01-19 at 21:29 -0700, brad wrote: > > Can anybody give me a quick hint on this build error? > > > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../inc -I/usr/include/OpenSP > > -DMAKEFILE_DTD_PATH=\"/usr/local/share/libofx/dtd/\" -g -O2 -MT > > ofx_utilities.lo -MD -MP -MF .deps/ofx_utilities.Tpo -c > > ofx_utilities.cpp -fPIC -DPIC -o .libs/ofx_utilities.o > > ofx_utilities.cpp: In function 'time_t ofxdate_to_time_t(std::string)': > > ofx_utilities.cpp:116: error: 'time' is not a member of 'std' > > ofx_utilities.cpp:120: error: 'atoi' was not declared in this scope > > ofx_utilities.cpp:139: error: 'atof' was not declared in this scope > > > > There were a few more error msgs. Everything above this compiled OK. > > > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d