From: David R. <dbr...@ea...> - 2007-10-31 04:19:54
|
I've been having some problems with either my network port or my system software, so I commandeered my wife's intel mac to build libofx HEAD and try the beta of aqbanking. I set up everything the way it is on my mac (a slightly older PPC based mac), checked out the source, ran autogen and configure (cutting and pasting the same env's and switches as I successfully used before). But when I run make, I end up with: gcc -g -O2 -o .libs/ofx2qif ofx2qif.o ../lib/.libs/libofx.dylib -L/sw/ lib /sw/lib/libosp.dylib -lpthread /sw/lib/libintl.dylib -lc /sw/lib/ libiconv.dylib -lstdc++ creating ofx2qif Making all in ofxdump make[2]: *** No rule to make target `cmdline.c', needed by `cmdline.o'. Stop. make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 am I missing a dependency? I was pretty sure I had all of them covered because I built 0.8.3 via fink (and then removed just libofx to build Head outside of fink). any other ideas? Dave -- David Reiser dbr...@ea... |
From: brad <bra...@fa...> - 2011-01-20 04:43:01
|
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. |
From: Perry S. <pe...@ea...> - 2011-01-20 23:42:36
|
What platform? On Jan 19, 2011, at 10:29 PM, 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. > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Libofx-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libofx-devel |
From: brad <bra...@fa...> - 2011-01-21 01:27:44
|
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. > |
From: brad <bra...@fa...> - 2011-01-21 03:41:28
|
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. > > > |
From: Martin P. <aqu...@gm...> - 2011-01-21 16:45:10
|
Hi, On Freitag 21 Januar 2011, brad wrote: [...] > LibOFX ERROR: ofx_proc_file(): FATAL: Missing DTD, aborting > (Above message occured on Line 4294967295, Column 4294967295) [...] Did you ran "sudo make install" before the test? Otherwise the DTD files might not be at the place where your self-compiled version expects them... Regards Martin -- "Things are only impossible until they're not" Martin Preuss - http://www2.aquamaniac.de/ AqBanking - http://www.aqbanking.de/ LibChipcard - http://www.libchipcard.de/ |
From: brad <bra...@fa...> - 2011-01-21 17:03:46
|
Thx, that worked. On Fri, 2011-01-21 at 17:44 +0100, Martin Preuss wrote: > Hi, > > On Freitag 21 Januar 2011, brad wrote: > [...] > > LibOFX ERROR: ofx_proc_file(): FATAL: Missing DTD, aborting > > (Above message occured on Line 4294967295, Column 4294967295) > [...] > > Did you ran "sudo make install" before the test? Otherwise the DTD files might > not be at the place where your self-compiled version expects them... > > > Regards > Martin > > |
From: Benoit <bo...@st...> - 2007-11-01 23:56:32
|
On Wednesday 31 October 2007, David Reiser wrote: > I've been having some problems with either my network port or my > system software, so I commandeered my wife's intel mac to build libofx > HEAD and try the beta of aqbanking. > > I set up everything the way it is on my mac (a slightly older PPC > based mac), checked out the source, ran autogen and configure (cutting > and pasting the same env's and switches as I successfully used > before). But when I run make, I end up with: > > gcc -g -O2 -o .libs/ofx2qif ofx2qif.o ../lib/.libs/libofx.dylib -L/sw/ > lib /sw/lib/libosp.dylib -lpthread /sw/lib/libintl.dylib -lc /sw/lib/ > libiconv.dylib -lstdc++ > creating ofx2qif > Making all in ofxdump > make[2]: *** No rule to make target `cmdline.c', needed by > `cmdline.o'. Stop. > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > am I missing a dependency? I was pretty sure I had all of them covered > because I built 0.8.3 via fink (and then removed just libofx to build > Head outside of fink). any other ideas? You need gengetopt to build from CVS (it's not needed when building from th= e=20 tarball). =2D-=20 Benoit Gr=E9goire Technologies Coeus inc. |
From: Matej C. <mc...@re...> - 2012-05-15 07:00:13
|
On 2.11.2007 00:55, Benoit Grégoire wrote: > You need gengetopt to build from CVS (it's not needed when building from the > tarball). The same here on Fedora 17. How come both ./autogen.sh and ./configure succeeded without any problem? IMHO, they shouldn't. Matěj |
From: Matěj C. <mc...@re...> - 2012-05-15 21:21:22
|
On 15.5.2012 22:45, Benoit Grégoire wrote: > On May 15, 2012 09:00:10 AM Matej Cepl wrote: >> On 2.11.2007 00:55, Benoit Grégoire wrote: >>> You need gengetopt to build from CVS (it's not needed when building from >>> the tarball). >> >> The same here on Fedora 17. How come both ./autogen.sh and ./configure >> succeeded without any problem? IMHO, they shouldn't. > > Ok, fixed in git. Better, but apparently not there yet (or is it too new gcc?): make[2]: Entering directory `/home/matej/archiv/knihovna/repos/tmp/libofx/ofxconnect' gengetopt --unamed-opts < cmdline.ggo gcc -DHAVE_CONFIG_H -I. -I.. -I../inc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include '-DCMDLINE_PARSER_PACKAGE="ofxconnect"' -DIN_LIBOFX -fvisibility=hidden -g -O2 -MT cmdline.o -MD -MP -MF .deps/cmdline.Tpo -c -o cmdline.o cmdline.c mv -f .deps/cmdline.Tpo .deps/cmdline.Po g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include '-DCMDLINE_PARSER_PACKAGE="ofxconnect"' -DIN_LIBOFX -fvisibility=hidden -fvisibility-inlines-hidden -fvisibility=hidden -g -O2 -MT nodeparser.o -MD -MP -MF .deps/nodeparser.Tpo -c -o nodeparser.o nodeparser.cpp mv -f .deps/nodeparser.Tpo .deps/nodeparser.Po g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include '-DCMDLINE_PARSER_PACKAGE="ofxconnect"' -DIN_LIBOFX -fvisibility=hidden -fvisibility-inlines-hidden -fvisibility=hidden -g -O2 -MT ofxpartner.o -MD -MP -MF .deps/ofxpartner.Tpo -c -o ofxpartner.o ofxpartner.cpp ofxpartner.cpp: In function ‘bool OfxPartner::post(const string&, const string&, const string&)’: ofxpartner.cpp:198:26: error: ‘unlink’ was not declared in this scope make[2]: *** [ofxpartner.o] Error 1 make[2]: Leaving directory `/home/matej/archiv/knihovna/repos/tmp/libofx/ofxconnect' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/matej/archiv/knihovna/repos/tmp/libofx' make: *** [all] Error 2 wycliff:libofx (master) $ gcc --version gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5) Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. wycliff:libofx (master) $ Best, Matěj -- http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC - Do you think of yourself as a Christian artist? - I'm an artist who is a Christian. I'm not a Christian artist. -- Johny Cash in his last interview |
From: Benoit G. <be...@co...> - 2012-05-15 21:44:06
|
On May 15, 2012 11:21:23 PM Matěj Cepl wrote: > error: ‘unlink’ was not declared in this scope Indeed, gcc 4.7 related. I don't have it installed, but can you try git again? -- Benoit Grégoire, ing., PMP, PSM |