Guest offie Posted February 21, 2003 Report Share Posted February 21, 2003 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 Quote Link to comment Share on other sites More sharing options...
paul Posted February 22, 2003 Report Share Posted February 22, 2003 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 Quote Link to comment Share on other sites More sharing options...
toxaq Posted July 14, 2003 Report Share Posted July 14, 2003 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. Quote Link to comment Share on other sites More sharing options...
toxaq Posted July 14, 2003 Report Share Posted July 14, 2003 Okay don´t worry I think I found it here I was searching for mysql not libmysql.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.