Hi Gérard,

I'm wondering which version of Solaris x86 you are using? All my versions of Solaris (Solaris 8, Solaris 9, OpenSolaris Develepor Edition 09/07) know about the -P switch of /usr/ccs/bin/as. It just preprocesses the file before assembling.

You could replace interlck_x86.s with a preprocessed file and remove -P from AFLAGS in solenv/inc/unxsoli4.mk

Heiner

Gérard Henry wrote:
hello all,
i'm trying to compile OOO on solaris machines.
Firstly, as i'm new to this process, i got OOG680_m5, but what's the difference with SRC680_m233?
I dowloaded these files:
ncftpget ftp://ftp.free.fr/mirrors/ftp.openoffice.org/stable/2.3.0/OOo_2.3.0_src_*.tar.bz2
After setting paths and some variables, i did configure:
caiman-henry% ./configure --disable-mozilla --with-jdk-home=/usr/jdk/latest --with-mingwin=no --with-gnu-patch=/usr/bin/gpatch --with-gnu-cp=/opt/csw/bin/gcp CPPFLAGS="-I/opt/csw/include" CC=cc CXX=CC | & tee CONFIG.LOG
then dmake ended with this error:
caiman-henry% dmake
...
adjustvisibility -p ../../unxsoli4.pro/slo/file_url.o
if ( -e ../../unxsoli4.pro/slo/file_url.o ) touch ../../unxsoli4.pro/slo/file_url.obj
tr -d "\015" < asm/interlck_x86.s > ../../unxsoli4.pro/misc/interlck_x86.s
/usr/ccs/bin/as -P -o ../../unxsoli4.pro/slo/interlck.o ../../unxsoli4.pro/misc/interlck_x86.s
/usr/ccs/bin/as: unrecognized option `-P'
dmake:  Error code 1, while making '../../unxsoli4.pro/slo/interlck.o'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /home/henry/ooo/OOG680_m5/sal/osl/unx
dmake:  Error code 1, while making 'build_instsetoo_native'

I'm using SunStudio 12.

Anybody can help,

thanks in advance,

gerard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Jens-Heiner Rechtien
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to