Apache OpenOffice (AOO) Bugzilla – Issue 332
sal won't compile
Last modified: 2004-08-12 17:39:50 UTC
cc -KPIC -c -n32 -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxirxm3.p ro/inc -I. -I/test/k/oo_614_src/solver/614/unxirxm3.pro/inc -I/test/k/oo_614_src /solver/614/unxirxm3.pro/inc/external -I/test/k/oo_614_src/solenv/unxirxm3/inc - I/test/k/oo_614_src/solenv/inc -I/test/k/oo_614_src/res -I/usr/include -I/usr/ds k/tmp/k/STLport-4.1b4//port -I/test/k/oo_614_src/solenv/inc/Xp31 -I/usr/java/inc lude -I/usr/java/include/irix -I/usr/java/include/native_threads/include -I/usr/ include -I/usr/include -I. -I../../res -I. -DVCL -D_PTHREADS -D_STD_NO_NAMES PACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -O -Xcpluscomm -woff 1009,1021,11 07,1110,1155,1171,1183,1185,1188,1233,1234,1257,1440,1516,1681,1682 -DIRIX -DU NX -DVCL -DC730 -DC730 -DMIPS -DTF_UCB -DENABLEUNICODE -DTF_SDBAPI -DCVER=C730 - D__DMAKE -DUNIX -DSUPD=614 -DBUILD=6004 -DSOLAR_PLUGIN -DVCL -DSO3 -DPRODUCT -DN DEBUG -DPRODUCT_FULL -DOPTIMIZE -DGUI -DSRC614 -DTF_ONE51 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxirxm3.pro/slo/isocket.o isocket.c "../../inc/sal/types.h", line 153: warning(1035): #error directive: ("unknown platform") # error("unknown platform") ^ "../../inc/sal/types.h", line 156: error(1070): incomplete type is not allowed void SAL_CALL sal_setInt64(sal_Int64* newInt, sal_uInt32 lowInt, sal_Int32 hig hInt); ^ "../../inc/sal/types.h", line 156: error(1065): expected a ";" void SAL_CALL sal_setInt64(sal_Int64* newInt, sal_uInt32 lowInt, sal_Int32 hig hInt); ^ "../../inc/sal/types.h", line 157: error(1065): expected a ";" void SAL_CALL sal_getInt64(sal_Int64 newInt, sal_uInt32* lowInt, sal_Int32* hi ghInt); ^ "../../inc/sal/types.h", line 159: error(1065): expected a ";" void SAL_CALL sal_setUInt64(sal_uInt64* newInt, sal_uInt32 lowInt, sal_uInt32 highInt); ....that's just the beginning....here's the end "../../inc/rtl/ustring.h", line 318: error(1065): expected a ";" void SAL_CALL rtl_ustr_toAsciiLowerCase( sal_Unicode * str ); ^ "../../inc/rtl/ustring.h", line 325: error(1065): expected a ";" void SAL_CALL rtl_ustr_toAsciiUpperCase_WithLength(sal_Unicode * str, sal_Int3 2 len); ^ "../../inc/rtl/ustring.h", line 326: error(1065): expected a ";" void SAL_CALL rtl_ustr_toAsciiUpperCase(sal_Unicode * str); ^ "../../inc/rtl/ustring.h", line 338: error(1065): expected a ";" sal_Int32 SAL_CALL rtl_ustr_trim_WithLength( sal_Unicode * str, sal_Int32 len ); ^ "../../inc/rtl/ustring.h", line 339: error(1065): expected a ";" sal_Int32 SAL_CALL rtl_ustr_trim( sal_Unicode * str ); ^ "../../inc/rtl/ustring.h", line 351: error(1065): expected a ";" sal_Int32 SAL_CALL rtl_ustr_valueOfBoolean( sal_Unicode * str, sal_Bool b ); ^ Error limit reached. 100 errors detected in the compilation of "isocket.c". Compilation terminated. dmake: Error code 2, while making '../../unxirxm3.pro/slo/isocket.obj'
Please get version 1.3 of sal/inc/sal/types.h (now also on the OO614B branch). The version in OO614B is way too old compared to OO613B 8-(
Closing ...