You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Vítězslav Košina <ko...@printsoft.cz> on 2005/05/03 16:50:36 UTC
Compilation problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I world like compile CVS version (actual version) of Xalan (with Xerces 2.6
and ICU 3.2)
and I have problem with compilation.
make[2]: Leaving directory
`/press_mnt1/temp/build/xml-xalan/c/src/xalanc/Utils'
CC -O -DNDEBUG -I/opt/pas//include -DXML_BITSTOBUILD_64 -xarch=v9 -KPIC
- -mt -xs -ptr../../obj -features=rtti -DSOLARIS -D_REENTRANT -I/stlport
- -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU -c
- -I/press_mnt1/temp/build/xml-xalan/c/src
- -I/press_mnt1/temp/build/xml-xalan/c/include -I../../nls/include
- -I/press_mnt1/temp/build/xml-xerces/c/src/
- -I/press_mnt1/temp/build/xml-xerces/c/include/xercesc
- -I/press_mnt1/temp/build/xml-xerces/c/include/ -I/opt/pas/include -o
../../obj/DOMStringHelper.o
/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.cpp
"/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.hpp",
line 1101: Error: getDefault is not a member of xalanc_1_9::XalanMemMgrs.
"/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.hpp",
line 1149: Error: getDefault is not a member of xalanc_1_9::XalanMemMgrs.
2 Error(s) detected.
make[1]: *** [../../obj/DOMStringHelper.o] Error 2
make[1]: Leaving directory `/press_mnt1/temp/build/xml-xalan/c/src/xalanc'
Some changes was made in this part in revision 1.13:
Index: DOMStringHelper.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.hpp,v
retrieving revision 1.12
retrieving revision 1.13
@@ -1086,8 +1111,10 @@
#endif
const XalanDOMChar* theString)
{
- OutputString(theStream,
- theString);
+ OutputString(
+ theStream,
+ theString,
+ XalanMemMgrs::getDefault());
return theStream;
}
@@ -1132,8 +1159,38 @@
#endif
const XalanDOMString& theString)
{
- OutputString(theStream,
- theString);
+ OutputString(
+ theStream,
+ theString,
+ XalanMemMgrs::getDefault());
+
+ return theStream;
+}
+
+
+
+/**
+ * Outputs the target string to the specified stream
+ *
+ * @param theStream output stream
+ * @param theString target string
+ * @see OutputString
+ */
+#if defined(XALAN_NO_STD_NAMESPACE)
+inline ostream&
+operator<<(
+ ostream& theStream,
+#else
+inline std::ostream&
+operator<<(
+ std::ostream& theStream,
+#endif
+ XalanDOMString& theString)
+{
+ OutputString(
+ theStream,
+ theString,
+ theString.getMemoryManager());
return theStream;
}
Can you help me.
Thank
Vitek Kosina
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFCd4+8N4NXdumRQpERAr32AKCWDhAvW2q0OChfRjqJyClXPpMXuwCgzB34
hF5yE0IjvosozYFaOm+UJH4=
=X9DW
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
Re: Compilation problem
Posted by da...@us.ibm.com.
> This problem exist on xml-xalan_20050504103141.tar.gz from
cvs.apache.org too.
>
> Vitek
This has been fixed in the latest CVS. See the Jira issue XALANC-504 if
you want the patch file. Otherwise, a new CVS tarball should work fine.
There is also another issue with the latest Sun Workshop compiler on
Solaris 10:
http://issues.apache.org/jira/browse/XALANC-505
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
Re: Compilation problem
Posted by Vítězslav Košina <ko...@printsoft.cz>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This problem exist on xml-xalan_20050504103141.tar.gz from cvs.apache.org too.
Vitek
On Wednesday 04 May 2005 11:41, Vítězslav Košina wrote:
> Hello,
>
> thank you for your info, but after cvs up i have problem later ...
>
> make[2]: Entering directory
> `/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
> mkdir -p ../../../nls
> mkdir -p ../../../nls/include
> make[2]: Leaving directory
> `/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
> make -C Utils locale
> make[2]: Entering directory
> `/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
> make[2]: Nothing to be done for `locale'.
> make[2]: Leaving directory
> `/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
> CC -O -DNDEBUG -I/opt/pas/include -DXML_BITSTOBUILD_64 -xarch=v9
> -KPIC -mt -xs -ptr../../obj -features=rtti -DSOLARIS -D_REENTRANT
> -I/stlport -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU -c
> -I/export/home/prints/build-cvs/xml-xalan/c/src
> -I/export/home/prints/build-cvs/xml-xalan/c/include -I../../nls/include
> -I/export/home/prints/build-cvs/xml-xerces/c/src/
> -I/export/home/prints/build-cvs/xml-xerces/c/include/xercesc
> -I/export/home/prints/build-cvs/xml-xerces/c/include/ -I/opt/pas/include
> -o ../../obj/XalanTransformer.o
> /export/home/prints/build-cvs/xml-xalan/c/src/xalanc/XalanTransformer/Xalan
>Transformer.cpp
> "/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Include/XalanMemMgrHe
>lper.hpp", line 94: Error: Non-const function
> xalanc_1_9::XalanCompiledStylesheet::__SLIP.DELETER__I() called for const
> object.
> 1 Error(s) detected.
> make[1]: *** [../../obj/XalanTransformer.o] Error 1
> make[1]: Leaving directory
> `/export/home/prints/build-cvs/xml-xalan/c/src/xalanc'
> make: *** [all] Error 2
>
> Can you hlep me now?
>
> Thank
>
> Vitezslav Kosina
>
> On Tuesday 03 May 2005 18:08, david_n_bertoni@us.ibm.com wrote:
> > > Hello,
> > >
> > > I world like compile CVS version (actual version) of Xalan (with Xerces
> >
> > 2.6
> >
> > > and ICU 3.2)
> > > and I have problem with compilation.
> > >
> > > make[2]: Leaving directory
> >
> > ...
> >
> >
> > /press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHe
> >lp er.cpp
> >
> > "/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringH
> >el per.hpp",
> >
> > > line 1101: Error: getDefault is not a member of
> >
> > xalanc_1_9::XalanMemMgrs.
> >
> > "/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringH
> >el per.hpp",
> >
> > > line 1149: Error: getDefault is not a member of
> >
> > xalanc_1_9::XalanMemMgrs.
> >
> > > 2 Error(s) detected.
> > > make[1]: *** [../../obj/DOMStringHelper.o] Error 2
> > > make[1]: Leaving directory
> >
> > `/press_mnt1/temp/build/xml-xalan/c/src/xalanc'
> >
> > > Some changes was made in this part in revision 1.13:
> >
> > It looks like your source tree was updated while the repository was being
> > updated. You might want to do a CVS update to make sure everything is
> > the latest, or get a new CVS tarball, if that's what you're using. The
> > missing function is defined in
> > xml-xalan/c/src/xalanc/Include/XalanMemoryManager.hpp;1.11.
> >
> > Dave
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xalan-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFCeNksN4NXdumRQpERAieOAJ4neyR8yUexlswrzBqr2zuM9tjj9wCcCB8K
1E0vfxK4613K8f7C9APnZbQ=
=BbEz
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
Re: Compilation problem
Posted by Vítězslav Košina <ko...@printsoft.cz>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
thank you for your info, but after cvs up i have problem later ...
make[2]: Entering directory
`/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make[2]: Leaving directory
`/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
make -C Utils locale
make[2]: Entering directory
`/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
make[2]: Nothing to be done for `locale'.
make[2]: Leaving directory
`/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Utils'
CC -O -DNDEBUG -I/opt/pas/include -DXML_BITSTOBUILD_64 -xarch=v9 -KPIC
- -mt -xs -ptr../../obj -features=rtti -DSOLARIS -D_REENTRANT -I/stlport
- -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU -c
- -I/export/home/prints/build-cvs/xml-xalan/c/src
- -I/export/home/prints/build-cvs/xml-xalan/c/include -I../../nls/include
- -I/export/home/prints/build-cvs/xml-xerces/c/src/
- -I/export/home/prints/build-cvs/xml-xerces/c/include/xercesc
- -I/export/home/prints/build-cvs/xml-xerces/c/include/ -I/opt/pas/include -o
../../obj/XalanTransformer.o
/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.cpp
"/export/home/prints/build-cvs/xml-xalan/c/src/xalanc/Include/XalanMemMgrHelper.hpp",
line 94: Error: Non-const function
xalanc_1_9::XalanCompiledStylesheet::__SLIP.DELETER__I() called for const
object.
1 Error(s) detected.
make[1]: *** [../../obj/XalanTransformer.o] Error 1
make[1]: Leaving directory
`/export/home/prints/build-cvs/xml-xalan/c/src/xalanc'
make: *** [all] Error 2
Can you hlep me now?
Thank
Vitezslav Kosina
On Tuesday 03 May 2005 18:08, david_n_bertoni@us.ibm.com wrote:
> > Hello,
> >
> > I world like compile CVS version (actual version) of Xalan (with Xerces
>
> 2.6
>
> > and ICU 3.2)
> > and I have problem with compilation.
> >
> > make[2]: Leaving directory
>
> ...
>
>
> /press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelp
>er.cpp
>
> "/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHel
>per.hpp",
>
> > line 1101: Error: getDefault is not a member of
>
> xalanc_1_9::XalanMemMgrs.
>
> "/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHel
>per.hpp",
>
> > line 1149: Error: getDefault is not a member of
>
> xalanc_1_9::XalanMemMgrs.
>
> > 2 Error(s) detected.
> > make[1]: *** [../../obj/DOMStringHelper.o] Error 2
> > make[1]: Leaving directory
>
> `/press_mnt1/temp/build/xml-xalan/c/src/xalanc'
>
> > Some changes was made in this part in revision 1.13:
>
> It looks like your source tree was updated while the repository was being
> updated. You might want to do a CVS update to make sure everything is the
> latest, or get a new CVS tarball, if that's what you're using. The
> missing function is defined in
> xml-xalan/c/src/xalanc/Include/XalanMemoryManager.hpp;1.11.
>
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-dev-help@xml.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFCeJi/N4NXdumRQpERAkOgAJ4wynmUVe5ukc7Qb1QTsGP1CLZnFQCfQEzW
ERDTPAhTR6R75pJDHwzTpXY=
=aiam
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
Re: Compilation problem
Posted by da...@us.ibm.com.
> Hello,
>
> I world like compile CVS version (actual version) of Xalan (with Xerces
2.6
> and ICU 3.2)
> and I have problem with compilation.
>
> make[2]: Leaving directory
...
>
/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.cpp
>
"/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.hpp",
> line 1101: Error: getDefault is not a member of
xalanc_1_9::XalanMemMgrs.
>
"/press_mnt1/temp/build/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.hpp",
> line 1149: Error: getDefault is not a member of
xalanc_1_9::XalanMemMgrs.
> 2 Error(s) detected.
> make[1]: *** [../../obj/DOMStringHelper.o] Error 2
> make[1]: Leaving directory
`/press_mnt1/temp/build/xml-xalan/c/src/xalanc'
>
>
> Some changes was made in this part in revision 1.13:
It looks like your source tree was updated while the repository was being
updated. You might want to do a CVS update to make sure everything is the
latest, or get a new CVS tarball, if that's what you're using. The
missing function is defined in
xml-xalan/c/src/xalanc/Include/XalanMemoryManager.hpp;1.11.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org