|
|
Choosing A Webhost: |
Compiling on RHES 3.: msg#00006db.mysql.c++
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.
MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: what kind of C compiler can I use under Windows enviroment, sinisa |
|---|---|
| Next by Date: | Re: Compiling on RHES 3., sinisa |
| Previous by Thread: | what kind of C compiler can I use under Windows enviroment, Chen Yansong |
| Next by Thread: | Re: Compiling on RHES 3., sinisa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |