4 messages in com.mysql.lists.plusplusCompiling on RHES 3.
FromSent OnAttachments
Jerry Seutter13 Jul 2004 12:39.txt
sinisa14 Jul 2004 06:06 
Jerry Seutter14 Jul 2004 12:11 
sinisa15 Jul 2004 06:03 
Subject:Compiling on RHES 3.
From:Jerry Seutter (jseu@gmail.com)
Date:07/13/2004 12:39:12 PM
List:com.mysql.lists.plusplus
Attachments:

Hi,

I'm having problems compiling the source package on Redhat ES 3. I get many lines of errors, the start of which is:

make all-recursive make[1]: Entering directory `/jseutter/download/mysql++-1.7.9' Making all in sqlplusint make[2]: Entering directory `/jseutter/download/mysql++-1.7.9/sqlplusint' /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/us r/include/mysql -g -O2 -c coldata.cc rm -f .libs/coldata.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -g -O2 -Wp,-MD,.dep s/coldata.pp -c -fPIC -DPIC coldata.cc -o .libs/coldata.lo In file included from const_string2.hh:2, from const_string3.hh:2, from coldata.cc:2: const_string1.hh: In member function `const char& const_string::at(unsigned int) const': const_string1.hh:50: `out_of_range' undeclared (first use this function) const_string1.hh:50: (Each undeclared identifier is reported only once for each function it appears in.) const_string1.hh: At global scope: const_string1.hh:70: syntax error before `&' token In file included from coldata1.hh:7, from coldata2.hh:5, from coldata3.hh:12, from coldata4.hh:6, from coldata.cc:3: exceptions.hh:65: syntax error before `er' exceptions.hh:65: missing ';' before right brace exceptions.hh:66: ISO C++ forbids defining types within return type exceptions.hh:66: syntax error before `;' token exceptions.hh:73: ISO C++ forbids declaration of `string' with no type exceptions.hh:73: syntax error before `;' token exceptions.hh: In constructor `MysqlBadConversion::MysqlBadConversion(const char*, const char*, unsigned int, unsigned int)': exceptions.hh:76: class `MysqlBadConversion' does not have any field named ` data' In file included from coldata1.hh:8, from coldata2.hh:5, from coldata3.hh:12, from coldata4.hh:6, from coldata.cc:3: type_info1.hh: At global scope: type_info1.hh:22: friend declaration requires class-key, i.e. `friend struct mysql_type_info' type_info1.hh:23: friend declaration requires class-key, i.e. `friend struct mysql_ti_sql_type_info_lookup' type_info1.hh:26: ISO C++ forbids declaration of `type_info' with no type type_info1.hh:26: syntax error before `*' token

=========================================

To me it looks like there is a problem with compiler versions or something? Does anyone know how to fix there errors?

The full output is attached.

ps: I hope this goes through. The email address for the list isn't actually mentioned anywhere that I could find.