LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 916|回复: 0

【求助】gcc2.95make过程报错

[复制链接]
发表于 2008-7-21 15:49:46 | 显示全部楼层 |阅读模式
linux版本:
Red Hat Enterprise Linux Server release 5.1

通过configure编译成功:
../gcc-2.95/configure --prefix=/opt/powerpc-linux --enable-threads=posix --disable-checking --enable--long-long --host=i686-redhat-linux --with-system-zlib --enable-languages=c,c++

但是在make过程中就出现如下错误:
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:438,
                 from ../../gcc-2.95/gcc/frame.c:42:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that defines no instances
../../gcc-2.95/gcc/frame.c:55: extra brace group at end of initializer
../../gcc-2.95/gcc/frame.c:55: (near initialization for `object_mutex.__data')
../../gcc-2.95/gcc/frame.c:55: warning: excess elements in struct initializer
../../gcc-2.95/gcc/frame.c:55: warning: (near initialization for `object_mutex.__data')
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/root/gcc-build/gcc'
make: *** [all-gcc] Error 2

请问有没有人知道怎么解决??
谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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