ccarm -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -Wall -Id:\
tornado2.2\target/h -Id:\tornado2.2\target/src/drv/ -DCPU=ARMARCH4 -DTOOL_FAMIL
Y=gnu -DTOOL=gnu -DARMEL -c -o d:\tornado2.2\target\lib\arm\ARMARCH4\common
\objwdb/wdbSlipPktDrv.o wdbSlipPktDrv.c
In file included from wdbSlipPktDrv.c:62:
d:/tornado2.2/target/h/string.h:44: parse error before `size_t'
d:/tornado2.2/target/h/string.h:45: parse error before `size_t'
d:/tornado2.2/target/h/string.h:46: parse error before `size_t'
d:/tornado2.2/target/h/string.h:47: parse error before `size_t'
d:/tornado2.2/target/h/string.h:48: parse error before `size_t'
d:/tornado2.2/target/h/string.h:55: parse error before `strcspn'
d:/tornado2.2/target/h/string.h:55: warning: type defaults to `int' in declarati
on of `strcspn'
d:/tornado2.2/target/h/string.h:55: warning: data definition has no type or stor
age class
d:/tornado2.2/target/h/string.h:56: parse error before `strlen'
d:/tornado2.2/target/h/string.h:56: warning: type defaults to `int' in declarati
on of `strlen'
d:/tornado2.2/target/h/string.h:56: warning: data definition has no type or stor
age class
d:/tornado2.2/target/h/string.h:57: parse error before `size_t'
d:/tornado2.2/target/h/string.h:58: parse error before `size_t'
d:/tornado2.2/target/h/string.h:59: parse error before `size_t'
d:/tornado2.2/target/h/string.h:62: parse error before `strspn'
d:/tornado2.2/target/h/string.h:62: warning: type defaults to `int' in declarati
on of `strspn'
d:/tornado2.2/target/h/string.h:62: warning: data definition has no type or stor
age class
d:/tornado2.2/target/h/string.h:65: parse error before `strxfrm'
d:/tornado2.2/target/h/string.h:65: parse error before `size_t'
d:/tornado2.2/target/h/string.h:65: warning: type defaults to `int' in declarati
on of `strxfrm'
d:/tornado2.2/target/h/string.h:65: warning: data definition has no type or stor
age class
wdbSlipPktDrv.c: In function `wdbSlipPktDevInit':
wdbSlipPktDrv.c:164: warning: passing arg 3 of pointer to function from incompat
ible pointer type
wdbSlipPktDrv.c:166: warning: passing arg 3 of pointer to function from incompat
ible pointer type
make[2]: *** [d:\tornado2.2\target\lib\arm\ARMARCH4\common\objwdb/wdbSlipPktDrv.
o] Error 0x1
make[2]: Leaving directory `D:\Tornado2.2\target\src\drv\wdb'
make[1]: *** [wdb] Error 0x2
make[1]: Leaving directory `D:\Tornado2.2\target\src\drv'
make: *** [drv] Error 0x2
这样的error怎么解决呢,是makefile有什么地方要注意吗?
关键词:
Tornado2.2
编译
问题
求救
torna