Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Compiling on RHES 3.: msg#00006

db.mysql.c++

Subject: Compiling on RHES 3.

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.

Attachment: output.txt
Description: Text document

--
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>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation