List:Packagers« Previous MessageNext Message »
From:Michael Shigorin Date:September 11 2003 8:00pm
Subject:q: libmysql++
View as plain text  
did anyone build libmysql++-1.7.9 successfully against moderately
recent gcc and autotools?

I have all kinds of dirty output when trying to get it to build
with these:


('dirty': usual heaps of warnings in gcc2-style laxy code; that
would be still OK if the whole thing would build)

In file included from /usr/include/c++/3.2.3/backward/iterator.h:30,
                 from ../sqlplusint/resiter1.hh:6,
                 from ../sqlplusint/row1.hh:10,
                 from ../sqlplusint/compare1.hh:6,
                 from ../sqlplusint/sqlplus.hh:13,
                 from util.hh:4,
/usr/include/c++/3.2.3/backward/backward_warning.h:32:2: warning: #warning This file
includes at least one deprecated or antiquated header. Please consider using one of the 32
headers found in section of the C++ standard. Examples include substituting the
<X> header for the <X.h> header for C++ includes, or <sstream> instead
of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
/bin/sh ../libtool --mode=link g++  -pipe -Wall -O2 -march=athlon   -o resetdb  resetdb.o
util.o ../sqlplusint/ -lz -lmysqlclient
mkdir .libs
g++ -pipe -Wall -O2 -march=athlon -o .libs/resetdb resetdb.o util.o 
../sqlplusint/.libs/ /usr/lib/ -lz -lcrypt -lnsl -lm
../sqlplusint/.libs/ undefined reference to
collect2: ld returned 1 exit status
make[2]: *** [resetdb] Error 1
make[2]: Leaving directory `/var/tmp/BUILD/mysql++-1.7.9/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/BUILD/mysql++-1.7.9'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/BUILD/mysql++-1.7.9'

Previous build (some half a year ago, with gcc3 but somewhat less fresh
libtool/auto*) was a bit bumpy but successful.

 ---- WBR, Michael Shigorin <mike@stripped>
  ------ Linux.Kiev

Attachment: [application/pgp-signature]
q: libmysql++Michael Shigorin11 Sep