Pumpkin, Inc.

Pumpkin User Forums

"undefined symbols" problem

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

"undefined symbols" problem

Postby CharCharChar » Fri Jun 11, 2004 7:17 am

Hi,
i am building my first code with salvo, the following is the problem i got and I have spent couples of hours on that but i am not lucky enough. is there anybody can help me? thanks a lot. (please scoll all way down to see the error message, sorry for the long message.)

Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"main.cce" "main.c" -O"main.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"binsem.cce" "binsem.c" -O"binsem.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"delay.cce" "delay.c" -O"delay.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"event.cce" "event.c" -O"event.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"idle.cce" "idle.c" -O"idle.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"init.cce" "init.c" -O"init.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"inittask.cce" "inittask.c" -O"inittask.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"mem.cce" "mem.c" -O"mem.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"qins.cce" "qins.c" -O"qins.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"sched.cce" "sched.c" -O"sched.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"timer.cce" "timer.c" -O"timer.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -C -E"util.cce" "util.c" -O"util.obj" -I"f:salvoinclude" -I"c:htsoftpic18include" -I"f:picsalvoex" -Zg9 -O -Q -MPLAB -18C452
Executing: "C:HTSOFTPIC18inpicc18.exe" -E"myex1.lde" "F:PICsalvoExmain.obj" "F:Salvosourceinsem.obj" "F:Salvosourcedelay.obj" "F:Salvosourceevent.obj" "F:Salvosourceidle.obj" "F:Salvosourceinit.obj" "F:Salvosourceinittask.obj" "F:Salvosourcemem.obj" "F:Salvosourceqins.obj" "F:Salvosourcesched.obj" "F:Salvosource imer.obj" "F:Salvosourceutil.obj" -W-9 -O"myex1.cof" -O"myex1.hex" -Q -MPLAB -18C452
Warning[000] : function clear_common is never called
Warning[000] : function copy_data is never called
Warning[000] : function clear_ram is never called
Warning[000] : function copy_big is never called
Error[000] : undefined symbols:
Error[000] : _OSInitEcb (F:Salvosourceinit.obj)
Error[000] : _OSInitTcb (F:Salvosourceinit.obj)
BUILD FAILED: Fri Jun 11 22:59:35 2004

CharCharChar
 
Posts: 7
Joined: Thu Jun 10, 2004 11:00 pm

Re: "undefined symbols" problem

Postby aek » Fri Jun 11, 2004 10:08 am

Please refer to "Locations of Salvo Functions" in the Salvo User Manual:

OSInitEcb() is is initecb.c.
OSInitTcb() is in inittcb.c.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: "undefined symbols" problem

Postby CharCharChar » Tue Jun 22, 2004 7:00 am

Thank you so much.
CharCharChar
 
Posts: 7
Joined: Thu Jun 10, 2004 11:00 pm

Re: "undefined symbols" problem

Postby tata » Fri Jul 30, 2004 11:01 am

hi,

Is it possible for the member who post the message to kindly tell me what he/she did to rectify this error...as i am getting the same errors...
Error[000] : undefined symbol:
Error[000] : _OSIdlingHook (C:salvosrcsched.obj)
BUILD FAILED: Fri Jul 30 12:09:03 2004

Trying to build tu1pro.mcp

regards

tata
 
Posts: 3
Joined: Sun Jul 25, 2004 11:00 pm

Re: "undefined symbols" problem

Postby tata » Fri Jul 30, 2004 11:04 am

Should defining in The salvocfg.h

#define OSENABLE_IDLING_HOOK TRUE

work?????
Thankx in advance

tata
 
Posts: 3
Joined: Sun Jul 25, 2004 11:00 pm


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 2 guests

cron