Pumpkin, Inc.

Pumpkin User Forums

AN-8 fail to compile

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®).

AN-8 fail to compile

Postby cerebronico » Thu Jun 23, 2005 5:33 am

Hi, I was trying to compile sample from AN8 and i get the following:

Executing: "C:HT-PICBINPICC.EXE" -C -E"swrxuart.cce" "swrxuart.c" -O"swrxuart.obj" -I";C:Salvoinclude;" -I"C:Salvoinclude" -I" C:Salvodemod5" -Q -MPLAB -16F877 -fakelocal -G -INTEL
Executing: "C:HT-PICBINPICC.EXE" -C -E"swtxuart.cce" "swtxuart.c" -O"swtxuart.obj" -I";C:Salvoinclude;" -I"C:Salvoinclude" -I" C:Salvodemod5" -Q -MPLAB -16F877 -fakelocal -G -INTEL
Warning[000] C:Salvodemod5swtxuart.c 87 : Wrong number of macro arguments for "OS_WaitBinSem" - 3 instead of 2
Warning[000] C:Salvodemod5swtxuart.c 119 : function declared implicit int
Warning[000] C:Salvodemod5swtxuart.c 121 : function declared implicit int
Executing: "C:HT-PICBINPICC.EXE" -C -E"buff.cce" "buff.c" -O"buff.obj" -I";C:Salvoinclude;" -I"C:Salvoinclude" -I" C:Salvodemod5" -Q -MPLAB -16F877 -fakelocal -G -INTEL
Executing: "C:HT-PICBINPICC.EXE" -C -E"int.cce" "int.c" -O"int.obj" -I";C:Salvoinclude;" -I"C:Salvoinclude" -I" C:Salvodemod5" -Q -MPLAB -16F877 -fakelocal -G -INTEL
Executing: "C:HT-PICBINPICC.EXE" -C -E"main.cce" "main.c" -O"main.obj" -I";C:Salvoinclude;" -I"C:Salvoinclude" -I" C:Salvodemod5" -Q -MPLAB -16F877 -fakelocal -G -INTEL
Warning[000] C:Salvodemod5main.c 269 : function declared implicit int
Warning[000] C:Salvodemod5main.c 271 : function declared implicit int
Executing: "C:HT-PICBINPICC.EXE" -C -E"mem.cce" "mem.c" -O"mem.obj" -I";C:Salvoinclude;" -I"C:Salvoinclude" -I" C:Salvodemod5" -Q -MPLAB -16F877 -fakelocal -G -INTEL
Error[000] C:Salvosourcemem.c 73 : invalid dimension
Halting build on first failure as requested.
BUILD FAILED: Thu Jun 23 20:12:24 2005

what i'm doing wrong

please help!!!

j040
cerebronico
 
Posts: 1
Joined: Wed Jun 22, 2005 11:00 pm
Location: Daule, Guayas, Ecuador

Re: AN-8 fail to compile

Postby aek » Thu Jun 23, 2005 8:13 am

Please note that we don't actively support older demo projects, and d5 hasn't been built in a while, so I can only guess here ...
quote:
Wrong number of macro arguments for "OS_WaitBinSem" - 3 instead of 2
.Solve this one first. This is usally easy, and often revolves around whether timeouts are enabled / supported or not ... d5 was originally probably built with pre-Salvo v3, which might be the problem.
quote:
Error[000] C:Salvosourcemem.c 73 : invalid dimension
I have no idea what is causing this one ...

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

[This message has been edited by aek (edited June 23, 2005).]

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


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 4 guests

cron