Error in building POSRD2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Error in building POSRD2

701 次查看
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 项奖励
回复
1 回复

674 次查看
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 项奖励
回复