You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Da...@lotus.com on 2000/11/30 19:28:16 UTC
Re: XALAN_PLATFORM_IMPORT
You will need to create a platform defintions file for Solaris. See the
Include directory in the sources for exmples for other platforms.
Dave
Leonard
Shiang To: xalan-dev@xml.apache.org
<lshiang@bear cc: (bcc: David N Bertoni/CAM/Lotus)
.com> Subject: XALAN_PLATFORM_IMPORT
11/30/2000
10:13 AM
Please
respond to
xalan-dev
Could someone provide suggestions on how to fix the following compiler
errors for solaris ?
The error seems to be related to XALAN_PLATFORM_IMPORT and
XALAN_PLATFORM_EXPORT.
Version: xalan-c_1_0-linux.tar.gz
Makefile was modified somewhat to fit solaris environment.
-----------------------------------------------------------
Preparing the directory structure for a build ...
mkdir -p /racs170030/vobserver/tools/xml/xml-xalan/obj
mkdir -p /racs170030/vobserver/tools/xml/xml-xalan/lib
mkdir -p /racs170030/vobserver/tools/xml/xml-xalan/bin
CC -g -PIC -instances=static -DSOLARIS -D_REENTRANT
-DXALAN_CANNOT_MUTATE_ANONYMOUS_OBJECT -c -I.
-I/racs170030/vobserver/tools/xml/xerces-c-src1_3_0/src/
-I/racs170030/vobserver/tools/xml/xerces-c-src1_3_0/include/ -o
/racs170030/vobserver/tools/xml/xml-xalan/obj/XalanAttr.o
XalanDOM/XalanAttr.cpp
"./XalanDOM/XalanNode.hpp", line 82: Error: The type
"XALAN_PLATFORM_IMPORT" is incomplete.
"./XalanDOM/XalanNode.hpp", line 82: Error: "," expected instead of "{".
"./XalanDOM/XalanNode.hpp", line 87: Error: "virtual" is not allowed
here.
"./XalanDOM/XalanNode.hpp", line 87: Error: Type name expected instead
of "XalanNode".
"./XalanDOM/XalanNode.hpp", line 87: Error: Illegal number of arguments
for <destructor>().
"./XalanDOM/XalanNode.hpp", line 107: Error: "virtual" is not allowed
here.
"./XalanDOM/XalanNode.hpp", line 107: Error: The function "getNodeName()
const" cannot be declared const.
"./XalanDOM/XalanNode.hpp", line 107: Error: "{" expected instead of
"=".
"./XalanDOM/XalanNode.hpp", line 107: Error: "}" expected instead of
"=".
"./XalanDOM/XalanNode.hpp", line 112: Error: "getNodeValue" is not
allowed here.
"./XalanDOM/XalanNode.hpp", line 112: Error: The function
"getNodeValue() const" cannot be declared const.
"./XalanDOM/XalanNode.hpp", line 112: Error: "," expected instead of
"=".
"./XalanDOM/XalanNode.hpp", line 118: Error: "getNodeType" is not
allowed here.
"./XalanDOM/XalanNode.hpp", line 118: Error: The function "getNodeType()
const" cannot be declared const.
"./XalanDOM/XalanNode.hpp", line 118: Error: "," expected instead of
"=".
"./XalanDOM/XalanNode.hpp", line 129: Error: "XalanNode" is not allowed
here.
"./XalanDOM/XalanNode.hpp", line 129: Error: "," expected instead of
"*".
"./XalanDOM/XalanNode.hpp", line 130: Error: Use ";" to terminate
declarations.
"./XalanDOM/XalanNode.hpp", line 130: Error: Identifier expected instead
of "=".
"./XalanDOM/XalanNode.hpp", line 130: Error: Use ";" to terminate
declarations.
"./XalanDOM/XalanNode.hpp", line 130: Error: "}" expected instead of
"=".
"./XalanDOM/XalanNode.hpp", line 145: Error: "*" is not allowed here.
"./XalanDOM/XalanNode.hpp", line 146: Error: The function
"getChildNodes() const" cannot be declared const.
"./XalanDOM/XalanNode.hpp", line 146: Error: "," expected instead of
"=".
"./XalanDOM/XalanNode.hpp", line 153: Error: "XalanNode" is not allowed
here.
Compilation aborted, too many messages.
make: *** [/racs170030/vobserver/tools/xml/xml-xalan/obj/XalanAttr.o]
Error 1
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************