The Joy of Linking

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

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word