View Single Post
  #1 (permalink)  
Old June 8th, 2005, 01:24 PM
philArmstead philArmstead is offline
Registered User
 
Join Date: Jun 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default [Linker error] undefined reference

So, I've been leafing though my copy of Professional C++ and working through it, but whenever I run some code which involves classes I get the error "[Linker error] undefined reference to `Records::employee::employee()'"

I have recieved this error by copying the code from the book, verbatim, and from running the code I downloaded from this website. I have compiled the code on Windows XP with DEV C++ from Bloodshed.net, and on Mandrake 10.2 with the built in C++ compiler.

Any ideas?