这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 新手求助:构造ecos环境时遇到的问题。

共1条 1/1 1 跳转至

新手求助:构造ecos环境时遇到的问题。

菜鸟
2004-11-08 22:56:38     打赏

安装时发生的问题。有谁能帮我?

我是在windows xp下安装了cywin后,构造gcc时,输入以下命令

PATH=/gnutools/bin:$PATH ; export PATH mkdir -p /tmp/build/gcc cd /tmp/build/gcc

/src/gcc-3.2.1/configure --target=TARGET --prefix=/gnutools --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/gnutools/TARGET/include -v 2>&1 | tee configure.out make -w all install 2>&1 | tee make.out 结果显示出错:

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 /src/gcc-3.3.1/libiberty/regex.c:8230: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8231: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8233: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8234: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8235: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8236: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8238: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8239: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c:8240: error: dereferencing pointer to incomplete type /src/gcc-3.3.1/libiberty/regex.c: At top level: /src/gcc-3.3.1/libiberty/regex.c:7905: error: storage size of `re_comp_buf' isn't known make[1]: *** [regex.o] Error 1 make[1]: Leaving directory `/tmp/build/gcc/arm-elf/libiberty' make: *** [all-target-libiberty] Error 2 make: Leaving directory `/tmp/build/gcc'

这是什么原因?怎么解决?




关键词: 新手     求助     构造     环境     遇到     问题     gcc-3.3    

共1条 1/1 1 跳转至

回复

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