Re: Re: [Kmymoney2-developer] LibOFX CVS

Bob Ewart <[email protected]> Mon, 29 Aug 2005 22:18:47 -0400
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
>
>
>On Monday 29 August 2005 02:15 pm, Bill wrote:
> 
> > >
> > >I should have done and added the following on my original post:
> > >root@hb5 ~ # find /usr -iname libstdc++.so
> > >/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32/libstdc++.so
> > >/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/libstdc++.so
> > >/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/32/libstdc++.so
> > >/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.3/libstdc++.so
> > >
> > >Bill
> >
> > I get
> > suse9264:/home/bob # find /usr -iname libstdc++.so
> > /usr/lib/libstdc++.so
> > /usr/lib64/libstdc++.so
> > and
> > suse9264:/home/bob # ls -l /usr/lib/libstdc++.so
> > lrwxrwxrwx  1 root root 18 2005-08-14 14:32 /usr/lib/libstdc++.so ->
> > libstdc++.so.5.0.7
> > suse9264:/home/bob # ls -l /usr/lib64/libstdc++.so
> > lrwxrwxrwx  1 root root> libstdc++.so.5.0.7
> >
> > So the files are there
> 
> Hi Bob, I have a more up-to-date version of libstdc++.so. When I do 'ls -la' I 
> get
> 
> root@hb5 ~ # ls -la /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32/libstdc++.so
> lrwxrwxrwx  1 root root 18 Oct 30  
> 2004 /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32/libstdc++.so -> 
> libstdc++.so.6.0.2
> 
> My GNU compiler is:
> root@hb5 /opt/libofx # gcc --version
> gcc (GCC) 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
> 
> For the hell of it, I just did a checkout from cvs and it compiled without any 
> problems.
> 
> Is upgrading your C-compiler an option for you? I don't have any idea what 
> that would do to your Suse system.
> 
> In your libofx dir you should find a file 'config.log'. Does it provide any 
> more info than 'Can't read the file' or whatever your message said?
> 
> HTH,
> Bill
>
Hi Bill

SuSE 9.2 and 9.3 both point to libstdc++.so.5.0.7, but the file sizes 
are different. Both have the same problem.

My GNU compiler is
bob@suse9264:~> gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)

The 9.3 compiler is 3.3.5 (prerelease)

Beta 2 of 10.0 uses 4.0.2, so it doesn't look like 3.4 is easily 
available.  It uses libstdc++.so.6.0.5.

The problem showed up in the make, but the following was in the config.log:

configure:20010: g++ -o conftest -g -O2 -I/usr/include/OpenSP   
conftest.cc -L/usr/lib -losp  >&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libstdc++.so when searching for -lstdc++
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libstdc++.a when searching for -lstdc++
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s

The config.log and a log of the make (2nd time) are attached.

I tried to compile it in 10.0 and came up with an entirely different 
problem, see make10.log.  That's from the CVS, but libofx.0.8.0 has the 
same problem.

Can you

-- 
--
Bob
config.log.tar.gz (application/x-gzip, 8.7 KB) - not displayed
make.log (text/x-log, 2.3 KB)
make  all-recursive
make[1]: Entering directory `/home/bob/source/libofx'
Making all in inc
make[2]: Entering directory `/home/bob/source/libofx/inc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/libofx/inc'
Making all in dtd
make[2]: Entering directory `/home/bob/source/libofx/dtd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/libofx/dtd'
Making all in lib
make[2]: Entering directory `/home/bob/source/libofx/lib'
/bin/sh ../libtool --mode=link --tag=CXX g++  -g -O2   -o libofx.la -rpath /usr/local/lib -version-info 1:0:0 messages.lo ofx_utilities.lo file_preproc.lo context.lo ofx_preproc.lo ofx_container_generic.lo ofx_container_main.lo ofx_container_security.lo ofx_container_statement.lo ofx_container_account.lo ofx_container_transaction.lo ofx_containers_misc.lo ofx_request.lo ofx_request_accountinfo.lo ofx_request_statement.lo ofx_sgml.lo ofc_sgml.lo @LIBOBJ@ -L/usr/lib -losp -lstdc++ 
g++ -shared -nostdlib /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crti.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/crtbeginS.o  .libs/messages.o .libs/ofx_utilities.o .libs/file_preproc.o .libs/context.o .libs/ofx_preproc.o .libs/ofx_container_generic.o .libs/ofx_container_main.o .libs/ofx_container_security.o .libs/ofx_container_statement.o .libs/ofx_container_account.o .libs/ofx_container_transaction.o .libs/ofx_containers_misc.o .libs/ofx_request.o .libs/ofx_request_accountinfo.o .libs/ofx_request_statement.o .libs/ofx_sgml.o .libs/ofc_sgml.o  -L/usr/lib64 -L/usr/lib /usr/lib64/libosp.so -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64 -L/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/libstdc++.so -lm -lc -lgcc_s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/crtendS.o /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../lib64/crtn.o  -Wl,-soname -Wl,libofx.so.1 -o .libs/libofx.so.1.0.0
/usr/lib/libstdc++.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [libofx.la] Error 1
make[2]: Leaving directory `/home/bob/source/libofx/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bob/source/libofx'
make: *** [all] Error 2
make10.log (text/x-log, 6.2 KB)
make  all-recursive
make[1]: Entering directory `/home/bob/source/libofx'
Making all in inc
make[2]: Entering directory `/home/bob/source/libofx/inc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/libofx/inc'
Making all in dtd
make[2]: Entering directory `/home/bob/source/libofx/dtd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bob/source/libofx/dtd'
Making all in lib
make[2]: Entering directory `/home/bob/source/libofx/lib'
if /bin/sh ../libtool --tag=CXX --mode=compile 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 messages.lo -MD -MP -MF ".deps/messages.Tpo" -c -o messages.lo messages.cpp; \
then mv -f ".deps/messages.Tpo" ".deps/messages.Plo"; else rm -f ".deps/messages.Tpo"; exit 1; fi
mkdir .libs
 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 messages.lo -MD -MP -MF .deps/messages.Tpo -c messages.cpp  -fPIC -DPIC -o .libs/messages.o
 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 messages.lo -MD -MP -MF .deps/messages.Tpo -c messages.cpp -o messages.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile 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 -o ofx_utilities.lo ofx_utilities.cpp; \
then mv -f ".deps/ofx_utilities.Tpo" ".deps/ofx_utilities.Plo"; else rm -f ".deps/ofx_utilities.Tpo"; exit 1; fi
 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
 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 -o ofx_utilities.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile 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 file_preproc.lo -MD -MP -MF ".deps/file_preproc.Tpo" -c -o file_preproc.lo file_preproc.cpp; \
then mv -f ".deps/file_preproc.Tpo" ".deps/file_preproc.Plo"; else rm -f ".deps/file_preproc.Tpo"; exit 1; fi
 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 file_preproc.lo -MD -MP -MF .deps/file_preproc.Tpo -c file_preproc.cpp  -fPIC -DPIC -o .libs/file_preproc.o
 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 file_preproc.lo -MD -MP -MF .deps/file_preproc.Tpo -c file_preproc.cpp -o file_preproc.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile 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 context.lo -MD -MP -MF ".deps/context.Tpo" -c -o context.lo context.cpp; \
then mv -f ".deps/context.Tpo" ".deps/context.Plo"; else rm -f ".deps/context.Tpo"; exit 1; fi
 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 context.lo -MD -MP -MF .deps/context.Tpo -c context.cpp  -fPIC -DPIC -o .libs/context.o
 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 context.lo -MD -MP -MF .deps/context.Tpo -c context.cpp -o context.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile 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_preproc.lo -MD -MP -MF ".deps/ofx_preproc.Tpo" -c -o ofx_preproc.lo ofx_preproc.cpp; \
then mv -f ".deps/ofx_preproc.Tpo" ".deps/ofx_preproc.Plo"; else rm -f ".deps/ofx_preproc.Tpo"; exit 1; fi
 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_preproc.lo -MD -MP -MF .deps/ofx_preproc.Tpo -c ofx_preproc.cpp  -fPIC -DPIC -o .libs/ofx_preproc.o
ofx_preproc.cpp: In function 'int libofx_proc_buffer(void*, const char*, unsigned int)':
ofx_preproc.cpp:231: warning: comparison is always false due to limited range of data type
ofx_preproc.cpp:236: warning: comparison is always false due to limited range of data type
ofx_preproc.cpp:243: warning: comparison is always false due to limited range of data type
ofx_preproc.cpp:255: warning: comparison is always false due to limited range of data type
ofx_preproc.cpp:260: warning: comparison is always false due to limited range of data type
ofx_preproc.cpp:268: warning: comparison is always false due to limited range of data type
 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_preproc.lo -MD -MP -MF .deps/ofx_preproc.Tpo -c ofx_preproc.cpp -o ofx_preproc.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile 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_container_generic.lo -MD -MP -MF ".deps/ofx_container_generic.Tpo" -c -o ofx_container_generic.lo ofx_container_generic.cpp; \
then mv -f ".deps/ofx_container_generic.Tpo" ".deps/ofx_container_generic.Plo"; else rm -f ".deps/ofx_container_generic.Tpo"; exit 1; fi
 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_container_generic.lo -MD -MP -MF .deps/ofx_container_generic.Tpo -c ofx_container_generic.cpp  -fPIC -DPIC -o .libs/ofx_container_generic.o
tree.hh:72: error: explicit qualification in declaration of `void kp::destructor(T1*)'
make[2]: *** [ofx_container_generic.lo] Error 1
make[2]: Leaving directory `/home/bob/source/libofx/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bob/source/libofx'
make: *** [all] Error 2