After reading the reply by jan I. I decided to try again with GCC. Now, compilation proceeds with no stupid problems as before. BTW, main/soltools/adjustvisibility/adjustvisibility.c does not compile with g++ but it compiles with CC so this is the only thing I had to do manually. However, now compilation stops as follows:
Entering /extra/sources/OpenOffice/aoo4/main/sal/osl/unx tr -d "\015" < asm/interlck_x86.s > ../../unxsogi.pro/misc/interlck_x86.s /usr/bin/gas -o ../../unxsogi.pro/obj/interlck.o ../../unxsogi.pro/misc/interlck_x86.s touch ../../unxsogi.pro/obj/interlck.obj Making: cpposl.lib /usr/bin/gas -o ../../unxsogi.pro/slo/interlck.o ../../unxsogi.pro/misc/interlck_x86.s touch ../../unxsogi.pro/slo/interlck.obj Making: cpposl.lib dmake: Warning: -- Target [../../unxsogi.pro/misc/s_interlck.dpcc] was made but the time stamp has not been updated. dmake: Warning: -- Target [../../unxsogi.pro/misc/o_interlck.dpcc] was made but the time stamp has not been updated. Entering /extra/sources/OpenOffice/aoo4/main/sal/textenc Entering /extra/sources/OpenOffice/aoo4/main/sal/osl/all Entering /extra/sources/OpenOffice/aoo4/main/sal/util Making: sal.lib Making: asal.lib Making: libsal.a ar: creating ../unxsogi.pro/lib/libsal.a Making: libuno_sal.so.3 : ERROR: ld.so.1: checkdll: fatal: relocation error: file ../unxsogi.pro/lib/check_libuno_sal.so.3: symbol osl_isSingleCPU: referenced symbol not found dmake: Error code 1, while making '../unxsogi.pro/lib/libuno_sal.so.3' 1 module(s): sal need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /extra/sources/OpenOffice/aoo4/main/sal/util When you have fixed the errors in that module you can resume the build by running: build --all:sal I see that file interlck_x86.s is old... but I have no idea why linking fails. Any ideas and/or suggestions? Rgds, A.S. -- Apostols Syropoulos Xanthi, Greece