View Single Post
  #1   Spotlight this post!  
Unread 01-04-2004, 13:37
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
multiple definition error in MCC/Linker (possible bug?)

Hey,
I have just been working on my code, when all of a sudden I started getting multiple definition errors from the linker on a variable named drive_mode.
I searched through all the files involved (grep drive_mode {*.c,*.h}), and found only one definition.
I have also deleted all the object files, then re-compiled from scratch and changed the variables name.
I think this is a bug with MCC or the linker because it started out being one variable, and now it is this one.
Sorry I cant give any compiler output, but I am at a regional, and can not move the computer with the code on it.
If anyone really wants, I could get it tonight (when I go home thou).
I have asked a couple of the programmers here, and they cant figure out what the problem is either.
Thanks a lot!
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one