Log in

View Full Version : Help with error please ? could not find definition of symbol 'Serial_Char_Callback'


gemccnp
19-02-2005, 20:39
Has anyone seen this error before ? If so, do you have any suggestions ?

Make: The target "C:\mcc18\main.o" is up to date.
Make: The target "C:\mcc18\user_SerialDrv.o" is up to date.
Make: The target "C:\mcc18\user_routines.o" is up to date.
Make: The target "C:\mcc18\user_routines_fast.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast.c" -fo="user_routines_fast.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "C:\mcc18\ifi_utilities.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "C:\mcc18\ifi_startup.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "C:\mcc18\user_camera.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_camera.c" -fo="user_camera.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "C:\mcc18\auto.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "auto.c" -fo="auto.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "C:\mcc18\FrcCode.cof" is out of date.
Executing: "c:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "18f8520user.lkr" "C:\mcc18\main.o" "C:\mcc18\user_SerialDrv.o" "C:\mcc18\user_routines.o" "C:\mcc18\user_routines_fast.o" "C:\mcc18\ifi_utilities.o" "C:\mcc18\ifi_startup.o" "C:\mcc18\user_camera.o" "C:\mcc18\auto.o" "C:\mcc18\FRC_library.lib" /o"FrcCode.cof"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol 'Serial_Char_Callback' in file 'C:\mcc18\user_SerialDrv.o'.
Errors : 1

BUILD FAILED: Sat Feb 19 18:33:33 2005

Workaphobia
19-02-2005, 21:28
I got this error when I tried to drop in Kevin Watson's user_routines_fast.c (for his encoder interrupt module) as a replacement for the file already in my team's version of the default code. I don't remember what version of the code it is, I just know it had a separate file for serial communications.

Anyway, I looked at the original user_routines_fast.c and saw it had an empty function defined to satisfy that requirement, so I just copied it over to the new one and it worked fine.