2 nidewode51000 nidewode51000 于 2013.09.21 21:46 提问

tinyos 2.x编译问题 大概是说gcc 命令选项错误

我在cygwin中编译tinyos的程序出现如下错误,不知道应该怎么解决。
$ make null
mkdir -p build/null
compiling BlinkAppC to a null binary
ncc -o build/null/main.exe -Os -finline-limit=100000 -Wall -Wshadow -fnesc-gcc=gcc -Wnesc-all -target=null -fnesc-cfile=build/null/app.c -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"fteworld\" -DIDENT_HOSTNAME=\"fteworld-PC\" -DIDENT_USERHASH=0x5abe572eL -DIDENT_TIMESTAMP=0x523d8ddaL -DIDENT_UIDHASH=0xcadb3341L BlinkAppC.nc -lm
gcc: 错误:unrecognized command line option ‘-_fnesc-gcc=gcc’
gcc: 错误:unrecognized command line option ‘-_fnesc-include=nesc_nx’
gcc: 错误:unrecognized command line option ‘-_fnesc-include=tos’
gcc: 错误:unrecognized command line option ‘-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask’
gcc: 错误:unrecognized command line option ‘-_fnesc-gcc=gcc’
gcc: 错误:unrecognized command line option ‘-_Wnesc-all’
gcc: 错误:unrecognized command line option ‘-_fnesc-cfile=build/null/app.c’
gcc: 错误:unrecognized command line option ‘-_fnesc-target=pc’
gcc: 错误:unrecognized command line option ‘-_fnesc-no-debug’
/opt/tinyos-2_1_2/support/make/null/null.rules:70: recipe for target `exe0' failed
make: *** [exe0] Error 1

2个回答

liu___heng
liu___heng   2015.04.13 11:18

你的这个问题解决了吗?

zhengzeshu
zhengzeshu   2015.06.15 15:57

我也遇到了这个问题,该怎么解决?

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!