|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Linker Error help
I keep getting a compiler error:
MPLINK 3.40, Linker Copyright (c) 2003 Microchip Technology Inc. Error - symbol 'cal_joy' has multiple definitions. Errors : 1 Even though it's only declared once in the header file (this is in my own header file and I have included the #ifndef, #define, #endif preprocessor lines. Thanks. Last edited by Dinush : 11-02-2004 at 19:56. Reason: Better title |
|
#2
|
||||
|
||||
|
Re: Linker Error help
Quote:
|
|
#3
|
|||
|
|||
|
Re: Linker Error help
Figured it out. It didn't like me declaring my variables in the header file because when I moved it to the source file, it compiled fine.
|
|
#4
|
||||
|
||||
|
Re: Linker Error help
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiler Help Needed | Darkman_X000 | Programming | 24 | 10-02-2004 12:19 |
| Linux C18 compiler? | Servo888 | Robotics Education and Curriculum | 1 | 13-12-2003 01:27 |
| C compiler for 2004 | Tim Skloss | Technical Discussion | 11 | 05-11-2003 22:02 |
| C compiler for 2004 | Tim Skloss | Robotics Education and Curriculum | 2 | 04-11-2003 16:19 |
| PBasic Compiler | Stephen Kowski | Programming | 2 | 05-06-2001 10:43 |