这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » Tornado2.2编译问题求救

共2条 1/1 1 跳转至

Tornado2.2编译问题求救

菜鸟
2004-02-27 17:37:23     打赏
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    

菜鸟
2004-03-01 18:54:00     打赏
2楼
这可是string.h头文件啊,难道要我去改string.h?

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]