scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\application.o
In file included from C:\Users\hmchen\Documents\workspace\fw\RTT\include/rtthread.h:36:0,
from applications\application.c:15:
C:\Users\hmchen\Documents\workspace\fw\RTT\include/rtdebug.h:33:2: error: #error "POSIX poll/select, stdin need file BSD socket API(RT_USING_DFS_NET)"
#error "POSIX poll/select, stdin need file BSD socket API(RT_USING_DFS_NET)"
^
scons: *** [build\applications\application.o] Error 1
scons: building terminated because of errors.
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\application.o
CC build\applications\canapp.o
applications\canapp.c:30:23: error: macro "RT_CAN_FILTER_ITEM_INIT" requires 7 arguments, but only 5 given
LPC_CAN_AF_STD_INIT(1),
^
In file included from applications\canapp.c:19:0:
drivers/drv_lpccan.h:21:6: error: 'RT_CAN_FILTER_ITEM_INIT' undeclared here (not in a function)
RT_CAN_FILTER_ITEM_INIT(id,0,0,0,0xFFFFFFFF)
^
applications\canapp.c:30:2: note: in expansion of macro 'LPC_CAN_AF_STD_INIT'
LPC_CAN_AF_STD_INIT(1),
^
applications\canapp.c:31:29: error: macro "RT_CAN_FILTER_ITEM_INIT" requires 7 arguments, but only 5 given
LPC_CAN_AF_STD_GRP_INIT(3,5),
^
applications\canapp.c:32:23: error: macro "RT_CAN_FILTER_ITEM_INIT" requires 7 arguments, but only 5 given
LPC_CAN_AF_EXT_INIT(2),
^
applications\canapp.c:33:29: error: macro "RT_CAN_FILTER_ITEM_INIT" requires 7 arguments, but only 5 given
LPC_CAN_AF_EXT_GRP_INIT(4,6),
^
scons: *** [build\applications\canapp.o] Error 1
scons: building terminated because of errors.