dbTalk Databases Forums  

Newbie compile error

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Newbie compile error in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
hugo pratt
 
Posts: n/a

Default Newbie compile error - 06-29-2005 , 03:10 AM






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

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: Newbie compile error - 06-29-2005 , 12:10 PM






hugo pratt wrote:

Quote:
resiter.h:117: no class template named `iterator' in
`std'
That sounds like a nonconforming compiler to me.

Quote:
Debian, mysql 4.1
Debian has been around for a very long time. I can't begin to guess
what compiler you're using. If it's GCC 2.x, read the FAQ on the main
MySQL++ page: http://tangentsoft.net/mysql++/

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.