Archive for the ‘general’ Category

The Joy of Linking

Friday, September 21st, 2007

Wouldn’t you know it - in my various console stress test apps that I wrote I had no issues compiling and linking.  Now that it’s time to integrate with my existing app that uses the Oracle libs - now I’m having linker errors everywhere. 

It looks to be a conflict between memory managers … oh… joy.

They say understanding and fixing linker errors is the sign of an experienced programmer.  I just think of it as annoyingly time consuming.

  • definition for item A couldn’t be found
  • track down item A
  • Oh look - there are several of them - which one should I use?
  • Are there any defines that need to be set?
  • Are there project dependencies that I skipped?
  • Are the two projects using the same C Runtime?  Static/Dynamic and SingleThread/MultiThread?
  • summon archaine knowlege about one of the projects your linking to - you seem to remember some mentioning how it wasn’t compatable with something & it’s not documented in the headers ;-)
  • re-compile
  • Lather, Rinse, Repeat

readme

Thursday, September 20th, 2007

Hi,

I’m Jason, a Win32/Linux developer that’s making the move from Oracle to MySQL**.  And along the way I noticed a certain lack of  unified MySQL error listing sites - or at least like the one I’m accustomed to - http://ora-code.com

This site is a poor-mans knock off of ora-code.com ;-)  As well as a place for me to document the causes of error codes I come across and my sperlunking through the MySQL experience.

Enjoy.

 -Jason De Arte


**reasons for the switch are not important, there are plenty of forums out their that will debate the merits of either DB technology for years to come.  I will not participate in these debates.  My reason is simple, my employer which is currently using Oracle decided to use me and my project as a MySQL test bed to find out the limitations/advantages of both technologies.