You should upgrade to a newer version of gcc to see if the problem goes
away. You could also try modifying the Makefile to remove the optimizer
flag (-O).
Dave
|---------+--------------------------->
| | [EMAIL PROTECTED]|
| | m (Corinna |
| | Kinchin) |
| | |
| | 04/03/2002 01:36|
| | AM |
| | Please respond |
| | to xalan-dev |
| | |
|---------+--------------------------->
>---------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc: [EMAIL PROTECTED] (Richard Davies), (bcc: David N
Bertoni/Cambridge/IBM) |
| Subject: Problem building under Solaris 2.6 ...
|
>---------------------------------------------------------------------------------------------------------------------------|
Hi everyone,
I'm attempting to build Xalan 1.3 under Solaris 2.6
using gcc version 2.95.2, but the compilation
keeps failing when compiling KeyTable.c with the following
error:
g++ -O -DNDEBUG -fPIC -instances=static -DSOLARIS -D_REENTRANT -c -I.
-I/ap/xml/unix/xalan-1.3/xerces-c1_6_0-SolForCC/src/
-I/ap/xml/unix/xalan-1.3/xerces-c1_6_0-SolForCC/include/xercesc
-I/ap/xml/unix/xalan-1.3/xerces-c1_6_0-SolForCC/include/ -o
/ap/xml/unix/xalan-1.3/xml-xalan/obj/KeyTable.o XSLT/KeyTable.cpp
/usr/ccs/bin/as: "/var/tmp/cco7FpFb.s", line 6656: error: can't compute
value of an expression involving an external symbol
make: *** [/ap/xml/unix/xalan-1.3/xml-xalan/obj/KeyTable.o] Error 1
Has anyone come up against this before? Or indeed has anyone
managed to compile successfully using gcc 2.95.2 under Solaris 2.6?
(FWIW I didn't have any problems building Xalan 1.2 using the
same system configuration).
Thanks in advance for any feedback, and best wishes from London,
Corinna ...
Corinna Kinchin email: [EMAIL PROTECTED]
Datazone Ltd. Tel: +44-(0)20-7221 8026
133 Notting Hill Gate Fax: +44-(0)20-7727 6045
London W11 3LB, England. URL: http://www.miramo.com
Datazone - makers of `Miramo', the automated publishing tool