Error in building POSRD2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in building POSRD2

167 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sumangala Hegde on Mon Apr 16 23:02:19 MST 2012
I am trying to build the POSRD2 project using LPCXpressov4.2.0_264 which will be put on to the OM5597 eval board.

During this build, I am getting the following error from the file POSRD2\src\mlsOsal\FreeRTOS\syscalls.c:
/src/mlsOsal/FreeRTOS/syscalls.c:51:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_sbrk_r'

Please provide me a solution for this ASAP.

Thanks.
0 Kudos
1 Reply

140 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Apr 17 03:04:12 MST 2012

Quote: Sumangala Hegde
/src/mlsOsal/FreeRTOS/syscalls.c:51:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_sbrk_r'



Your compiler is telling you that you need to declare _sbrk_r :eek:

Whatever is in front of _sbrk_r, it's unknown for your compiler :) So just declare it, ASAP :)
0 Kudos