Jump to content

MYSQHELL!


Guest offie
 Share

Recommended Posts

Hi,

 

I have recently installed a new system using Mandrake Linux 9 and have

Mysql up and running. I am trying to compile the Mysql++ source

distribution from mysql.com and I am having no luck. After applying

the patch (as I am using gcc v3.2) I still get a string of errors

while compiling connection.cc. It starts off when gives a warning

about:

 

connection.cc:26: default argument given for parameter 6 of

'MysqlConnection::MysqlConnection(const char*, const char*, const

char*, const char*, unsigned int, char = 0, unsigned int = 60, bool =

true, const char* = "", unsigned int = 0)'

 

It gives a few more of these that are near identical and then gives

up.

 

any ideas?

 

offie

 

:cry:

Link to comment
Share on other sites

yeah I had the same problem ..... .this is what i did

 

I found an older version in rpm, and installed that (this sets up all the links and stuff that are Mandrake specific)

 

then I got then new version for mysql.com, and it installed fine .... go figure.

 

this was on 8.2 with gcc 2.96 but I suspect that it might work on 9.x the same

Link to comment
Share on other sites

  • 4 months later...

I am having a problem trying to compile with mysql too. I have just ´upgraded´ to 9.1 which changes mysql from 3.23 to 4.01... that wouldn´t be too bad if I could find how to install the development libraries so I could link my application to it. Where can I look to find the dev libraries... I tried to remove mysql 4 and step down to 3.23 but got a segmentation fault when trying to start it...

 

All ideas appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...