|
|
Choosing A Webhost: |
Re: free(): invalid pointer: msg#00039db.mysql.c++
I'm using Fedora Core 4 with MySQL 4.1.16. I used the mysql++ 2 rpm suggested/implied in the online mysql++ document. I compiled and run resetdb successfully. It created the sample database. Then I compiled simple1.cpp, but when I run it, it dumps this: [root@localhost examples]# ./simple1 Item Num Weight Price Date Nürnberger Brats 92 1.5 8.79 2005-03-10 Pickle Relish 87 1.5 1.75 1998-09-04 Hot Mustard 75 0.95 0.97 1998-05-25 Hotdog Buns 65 1.1 1.1 1998-04-23 *** glibc detected *** ./simple1: free(): invalid pointer: 0x08947ab0 *** So i used the mysql++ source and recompiled it in Fedora Core 4 with GCC 4. Then I no longer have the invalid pointer error. Maybe the rpm was built using GCC 3+ and will have issues under GCC 4. On 1/16/06, Warren Young <mysqlpp@xxxxxxxxxxx> wrote: > Verfranc Raganas wrote: > > I have solved this problem by compiling > > http://tangentsoft.net/mysql++/releases/mysql++-2.0.7.tar.gz in Fedora > > Core 4. > > What were you doing before? > > -- > MySQL++ Mailing List > For list archives: http://lists.mysql.com/plusplus > To unsubscribe: http://lists.mysql.com/plusplus?unsub=verfranc@xxxxxxxxx > > -- 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: Problem connecting do lampp mysql server, Jonas Jurczok |
|---|---|
| Next by Date: | Stepping into libmySQL.dll with VC6l, Jan M |
| Previous by Thread: | Re: free(): invalid pointer, Warren Young |
| Next by Thread: | undefined reference to 'mysql_shutdown@4':help!, brizio85 |
| 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 |