Porting Xalan-C for QNX 6.1 x86

Has anyone attempted this port or completed this port?
It’s Xalan-C 1.3 (which includes Xerces also)

I (& Dave Bott) have made some minor modifications to the runConfigure
and Makefile.in to get things started but after about compiling 5 lines of
code I run
into this error:
g++ -O -DNDEBUG -fpic -Wall -DX86_PC_NTO_QNX -D_REENTRANT -DXALAN_USE_ICU
-c -I/usr/
local/include/ -I. -I/opt/xe/src/ -I/opt/xe/include/xercesc -I/opt/xe/includ
e/ -o /op
t/x/c/obj/XalanDOMString.o XalanDOM/XalanDOMString.cpp
In file included from XalanDOM/XalanDOMString.cpp:66:
Include/XalanAutoPtr.hpp:220: parse error before )' Include/XalanAutoPtr.hpp:222: XalanArrayAutoPtr::operator
must take ex
actly one argument
Include/XalanAutoPtr.hpp:222: confused by earlier errors, bailing out
make: *** [/opt/x/c/obj/XalanDOMString.o] Error 1

Any help in this matter would be great!
Thanks,
$Kevin

Include/XalanAutoPtr.hpp:222: `XalanArrayAutoPtr::operator

Try to use “qcc -Y_gpp” to compile the source, if you using QNX 6.2. The GNU
C++ libraries will be selected in that case.

BTW:

I think, if you building shared library, you need to add “-shared -fPIC” if
not, why you using the “-fpic” options ? “-fpic” and “-fPIC” are differ.

g++ -O -DNDEBUG -fpic -Wall -DX86_PC_NTO_QNX -D_REENTRANT -DXALAN_USE_ICU

Thanks Mike,
I’ll try your suggestion, also -fno_honor_std helped a lot of my issues as
well.


“Mike Gorchak” <mike@malva.ua.remove.this.for.no.spam> wrote in message
news:aemd42$66o$1@inn.qnx.com

Include/XalanAutoPtr.hpp:222: `XalanArrayAutoPtr::operator

Try to use “qcc -Y_gpp” to compile the source, if you using QNX 6.2. The
GNU
C++ libraries will be selected in that case.

BTW:

I think, if you building shared library, you need to add “-shared -fPIC”
if
not, why you using the “-fpic” options ? “-fpic” and “-fPIC” are differ.



g++ -O -DNDEBUG -fpic -Wall -DX86_PC_NTO_QNX -D_REENTRANT -DXALAN_USE_ICU