FYI --

        I just spent another whole day (first getting all the gnu tools)
re-building xerces 1.5.1
on Solaris using V5.0 CC.

        It built cleanly, just like the script.  

        Then - I tried to build my application with it and got the
following.  The EXACT same
undefineds as I got with the V4.2 CC compiler (3 days ago!):

/opt/SUNWspro/SC5.0/bin/CC -L/opt/SUNWspro/SC5.0/lib -I. -w -O
-I/usr/home/nhorn/xerces-c-src1_5_1/include/  -c orderinfo.cpp
/opt/SUNWspro/SC5.0/bin/CC -L/opt/SUNWspro/SC5.0/lib -I. -w -O
-I/usr/home/nhorn/xerces-c-src1_5_1/include/  -c responseInfo.cpp
/opt/SUNWspro/SC5.0/bin/CC -L/opt/SUNWspro/SC5.0/lib -g -o orderXMLtoeHNC
orderXMLtoeHNC.o orderinfo.o responseInfo.o  -lgen -lm
-L/usr/home/nhorn/xerces-c-src1_5_1/lib  
ild: (Performing full relink) symbol definitions conflict [...]
ild: (undefined symbol) DOM_Node DOM_NodeList::item(unsigned)const --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOMParser::~DOMParser() -- referenced in the text
segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOMParser::DOMParser(XMLValidator*const) --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_NodeList::~DOM_NodeList() -- referenced in the
text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Document::~DOM_Document() -- referenced in the
text segment of orderXMLtoeHNC.o
ild: (undefined symbol) bool DOMString::equals(const DOMString&)const --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOMString::DOMString(const char*) -- referenced in
the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Document&DOM_Document::operator=(const
DOM_Document&) -- referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOMString::~DOMString() -- referenced in the text
segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOMString::DOMString(const unsigned short*) --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) void XMLPlatformUtils::Initialize() -- referenced in
the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node&DOM_Node::operator=(const DOM_Node&) --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node::DOM_Node() -- referenced in the text
segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Document::DOM_Document(const DOM_Document&) --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) void DOMParser::setDoValidation(const bool) --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOMString DOM_Node::getNodeName()const -- referenced
in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) __RTTI__1nMXMLException_ -- referenced in the data
segment of orderXMLtoeHNC.o
ild: (undefined symbol) unsigned DOM_NodeList::getLength()const --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node DOM_Node::getFirstChild()const --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Document::DOM_Document() -- referenced in the
text segment of orderXMLtoeHNC.o
ild: (undefined symbol) void XMLString::trim(char*const) -- referenced in
the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node::~DOM_Node() -- referenced in the text
segment of orderXMLtoeHNC.o
ild: (undefined symbol) char*DOMString::transcode()const -- referenced in
the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) void DOMParser::parse(const char*const,const bool)
-- referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node DOM_Node::getParentNode()const --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) bool DOM_Node::operator!=(const DOM_NullPtr*)const
-- referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node DOM_Node::cloneNode(bool)const --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_NodeList
DOM_Document::getElementsByTagName(const DOMString&)const -- referenced in
the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) DOM_Node DOM_Node::appendChild(const DOM_Node&) --
referenced in the text segment of orderXMLtoeHNC.o
ild: (undefined symbol) void DOM_Node::setNodeValue(const DOMString&) --
referenced in the text segment of orderXMLtoeHNC.o
make: *** [orderXMLtoeHNC] Error 5





-----Original Message-----
From: Jack Marr [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 2:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Building xerces on Solaris 2.6 - CC V5.0


"Horn, Nancy" wrote:
> 
>         Has anyone successfully built xerces_5_0_1.so from the sources
> (ibm4c-src_3_5_0)
> using Solaris CC Version 5.0?

I've built libxerces-c1_5_1.so from xerces-c-src1_5_1.tar using CC 5.0 on
Solaris 5.7 and the native transcoder without problems.  I've had problems
with
building ICU, but not the native transcoder.  Be sure you chmod +x the
appropriate scripts.  (Not sure why these aren't executable by default.)
Here's
a simple script:

#!/bin/ksh

export XERCESCROOT=$PWD/xerces-c-src1_5_1

find $XERCESCROOT -name runConfigure   | xargs -t -i chmod +x {}
find $XERCESCROOT -name configure      | xargs -t -i chmod +x {}
find $XERCESCROOT -name configure.in   | xargs -t -i chmod +x {}
find $XERCESCROOT -name config.guess   | xargs -t -i chmod +x {}
find $XERCESCROOT -name config.sub     | xargs -t -i chmod +x {}
find $XERCESCROOT -name install-sh     | xargs -t -i chmod +x {}
find $XERCESCROOT -name version.incl   | xargs -t -i chmod +x {}

cd $XERCESCROOT/src
runConfigure -psolaris -ccc -xCC 
gmake clean
gmake 

-- 
  Jack Marr ([EMAIL PROTECTED]) Cypress, CA
  Unigraphics Solutions - NYSE:UGS - http://www.ugsolutions.com

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

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

Reply via email to