4 messages in com.mysql.lists.plusplusRe: Compiling on RHES 3.| From | Sent On | Attachments |
|---|---|---|
| Jerry Seutter | 13 Jul 2004 12:39 | .txt |
| sinisa | 14 Jul 2004 06:06 | |
| Jerry Seutter | 14 Jul 2004 12:11 | |
| sinisa | 15 Jul 2004 06:03 |
| Subject: | Re: Compiling on RHES 3.![]() |
|---|---|
| From: | sinisa (sin...@beotel.yu) |
| Date: | 07/14/2004 06:06:00 AM |
| List: | com.mysql.lists.plusplus |
Jerry Seutter wrote:
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.
Jerry Seutter
ps: I hope this goes through. The email address for the list isn't actually mentioned anywhere that I could find.
------------------------------------------------------------------------
make: *** No targets specified and no makefile found. Stop.
There seems something wrong with your C++ installation.
Both out_of_range and string are standard C++ reserved words. Re-install your C++ compiler.
--
Sincerely,
-- For technical support contracts, go to https://order.mysql.com/?ref=msmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sin...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Full time Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus





.txt