Hi,
I'm trying to compile ++ api but I have this error at
the compilation :
make all-recursive
make[1]: Entering directory `/usr/src/mysql++-1.7.40'
Making all in lib
make[2]: Entering directory
`/usr/src/mysql++-1.7.40/lib'
source='coldata.cpp' object='coldata.lo' libtool=yes \
depfile='.deps/coldata.Plo'
tmpdepfile='.deps/coldata.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I.. -I../lib -I/usr/include/mysql -g -O2 -c
-o coldata.lo `test -f 'coldata.cpp' || echo
'./'`coldata.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I/usr/include/mysql -g -O2 -c coldata.cpp
-Wp,-MD,.deps/coldata.TPlo -fPIC -DPIC -o
.libs/coldata.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I/usr/include/mysql -g -O2 -c coldata.cpp
-Wp,-MD,.deps/coldata.TPlo -o coldata.o >/dev/null
2>&1
mv -f .libs/coldata.lo coldata.lo
source='connection.cpp' object='connection.lo'
libtool=yes \
depfile='.deps/connection.Plo'
tmpdepfile='.deps/connection.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I.. -I../lib -I/usr/include/mysql -g -O2 -c
-o connection.lo `test -f 'connection.cpp' || echo
'./'`connection.cpp
rm -f .libs/connection.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I/usr/include/mysql -g -O2 -c connection.cpp
-Wp,-MD,.deps/connection.TPlo -fPIC -DPIC -o
.libs/connection.lo
In file included from fields.h:32,
from result.h:34,
from connection.h:39,
from connection.cpp:30:
resiter.h:117: no class template named `iterator' in
`std'
make[2]: *** [connection.lo] Error 1
make[2]: Leaving directory
`/usr/src/mysql++-1.7.40/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql++-1.7.40'
make: *** [all] Error 2
I dont have a clue of what's going wrong. Any help
greatly appreciated.
Debian, mysql 4.1
Thanks in advance
- Pratt -
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com