XC8 error 499

This forum handles questions and discussions concerning Microchip’s 8-bit compilers, assemblers, linkers and related tools.

XC8 error 499

Postby schmitta » Wed Jun 11, 2014 2:42 am

I get the following error when compiling with xc8 : :0: error: (499) undefined symbol:
_calloc(dist/default/production/apsRTOS.X.production.obj)

But I don't know where the symbol is or what it is to fix it. Any ideas? Thank you. Alvin....
schmitta
 
Posts: 1
Joined: Fri May 30, 2014 3:39 am
PIC experience: Professional 5+ years with MCHP products

Re: XC8 error 499

Postby jtemples » Wed Jun 11, 2014 3:18 am

calloc() is for dynamic memory allocation. The 8-bit compilers don't support that.
jtemples
Verified identity
 
Posts: 195
Joined: Sun May 25, 2014 2:23 am
Location: The 805
PIC experience: Professional 5+ years with MCHP products


Return to MPLAB XC8

Who is online

Users browsing this forum: No registered users and 5 guests

cron