QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2405|回复: 0

gcc 编译出错

[复制链接]
发表于 2007-6-7 21:17:12 | 显示全部楼层 |阅读模式
../.././gcc/gthr-posix.h:512: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:521: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:527: error: expected ‘)’ before ‘key’
../.././gcc/gthr-posix.h:533: error: expected ‘)’ before ‘key’
../.././gcc/gthr-posix.h:539: error: expected ‘)’ before ‘key’
../.././gcc/gthr-posix.h:545: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:554: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:563: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:573: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:594: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:600: error: expected ‘)’ before ‘*’ token
../.././gcc/gthr-posix.h:606: error: expected ‘)’ before ‘*’ token
make[3]: *** [libgcc/./unwind-dw2.o] 错误 1
make[3]: Leaving directory `/CrossCompile/source/gcc-4.1.0/host-i686-pc-linux-gnu/gcc'
make[2]: *** [libgcc.a] 错误 2
make[2]: Leaving directory `/CrossCompile/source/gcc-4.1.0/host-i686-pc-linux-gnu/gcc'
make[1]: *** [all-gcc] 错误 2
make[1]: Leaving directory `/CrossCompile/source/gcc-4.1.0'
make: *** [all] 错误 2

[tlh@localhost gcc-4.1.0]$ ./configure --target=arm-linux --prefix=/CrossCompile   
                 --with-headers=../linux-2.6.18.3/include --with-local-prefix=/CrossCompile/arm-linux --disable-shared

make LANGUAGES=c
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 02:35 , Processed in 0.112209 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表