Page 1 of 1

Compiler Error - unknown FNREC type "88"

PostPosted: Thu Jun 03, 2010 5:19 am
by michaelb
Hi,

I'm trying to build a mplab project for PIC16F using the salvo RTOS. I get the following error:

Build C:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4\Test4 for device 16F877
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe

Make: The target "C:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4\mem.p1" is up to date.
Make: The target "C:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4\main.p1" is up to date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" -oTest4.cof -mTest4.map --summary=default,-psect,-class,+mem,-hex --output=default,-inhx032 mem.p1 main.p1 C:\salvo\lib\htpicc\sfp42cab.lib --chip=16F877 -IC:\salvo\src "-IC:\Program Files\HI-TECH Software\PICC\9.70\include" "-IC:\Documents and Settings\Tom\Desktop\PIC\Projects\Test4" -IC:\salvo\inc -P --runtime=default,+clear,+init,-keep,+osccal,-download,-resetbits,+stackcall,+stackwarn,+clib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -D__DEBUG=1 --double=24 --float=24 --addrqual=ignore -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Error [375] ; . unknown FNREC type "88"

********** Build failed! **********


I'm using Salvo-lite v3.2.3, MPLAB v8.50 and Hi-TECH PIC (lite mode) for PIC10/12/16 v9.70.
The PIC I'm using is 16F877 and standard library sfp42cab.lib.

The salvocfg.h file is as follow:
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB

The main c file is as follows:
/************************************************************
SALVO Sample Program
salvotest.c

BASIC SCHEDULLING OF 2 TASKS
************************************************************/
#include <pic.h>
#include <salvo.h>

//*****************( PROTOTYPES )***************************

_OSLabel(TaskA1)
_OSLabel(TaskB1)
_OSLabel(TaskC1)


//*****************( TASKS )********************************

void TaskA(void)
{
for(;;)
{
NOP();
RB1 ^= 1;
OS_Yield(TaskA1);
}
}

void TaskB(void)
{
for(;;)
{
NOP();
RB2 ^= 1;
OS_Yield(TaskB1);
}
}

void TaskC(void)
{
for(;;)
{
NOP();
RB3 ^= 1;
OS_Yield(TaskC1);
}
}



//*****************( MAIN )*********************************

void main(void)
{
TRISB = 0x00;

OSInit();

OSCreateTask(TaskA, OSTCBP(1), 10);
OSCreateTask(TaskB, OSTCBP(2), 10);
OSCreateTask(TaskC, OSTCBP(3), 10);


for(;;)
OSSched();
}

//*****************( OS Idle )*********************************

void OSIdlingHook( void )
{
NOP();
}


I have also included the mem.c source file in the project.


I checked the error message on the Hi-Tech website and all I could find is it's an internal compiler error and to contact Hi-Tech support.

I'm checking here first in case someone has seen this before or maybe I do not have the project configured correctly.

Any help greatly appreciated.

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Tue Oct 12, 2010 1:10 am
by nickbungus
:? Hi

I'm having the same issue. Did you get it sorted? If so, how?

Thanks

Nick

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Tue Oct 12, 2010 11:43 am
by aek
We'll only be able to resolve this once we've added support for the latest HI-TECH compilers, unfortunately.

We do not have a date for that yet.

--Andrew

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Wed Oct 13, 2010 2:31 am
by nickbungus
What are the latest version(s) of the Hi-Tech Compilers that you support?

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Thu Oct 14, 2010 11:02 am
by aek
If I'm not mistaken, it's the 8.x series of the HI-TECH compilers ...

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Thu Nov 18, 2010 4:31 pm
by sams_0
Hi, I have the same error but im working with pic16f877a, do you solve it?, If you do can you tell me how.
Saludos.

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Thu Nov 18, 2010 4:45 pm
by sams_0
I have the same error, but im using pic16f877a dou you solve it?

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Fri Nov 19, 2010 8:51 am
by aek
It's not the chip type that is the problem ... it's the compiler.

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Fri Nov 19, 2010 12:43 pm
by sams_0
I have the same error, how can it be solved?

Re: Compiler Error - unknown FNREC type "88"

PostPosted: Fri Nov 19, 2010 8:45 pm
by sams_0
aek wrote:It's not the chip type that is the problem ... it's the compiler.


how can it be solved?