安装时发生的问题。有谁能帮我?
我是在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'
这是什么原因?怎么解决?