关于gcc 编译问题
sxzhj 2005-04-14 02:43:45 1.机器:ds10 digital unix osf4.0
2.c环境:3.0.4
gcc是自己提升的版本,当时编译gcc配置如下:
../gcc-3.0.4/configure --prefix=/usr/users/test/gcc/install3.0.4 --enable-languages=c,c++ --with-gc=page --enable-threads
3.现在用gcc3.0.4编译 ACE5.1版本
编译时选择了config-osf1-4.0.h 和platform_osf1_4.0.GNU
出现下列错误:
//这个错误贯穿整个编译过程
/usr/users/test/ACE_wrappers/ace/OS.i:403: `class ACE_Time_Value' has no member
named `tv_'
我看了原代码 tv_是 ACE_Time_Value 的私有成员
//这个也是贯穿整个编译过程
cc1plus: Unrecognized option `-fno-strict-prototypes'
最终编译都是失败的