Hi,

As per your instructions, I was able to Build samples from Toolkit successfully after following instructions given.

Similar way I was following steps for my program. But Program got crashed this time also.

I have created one separate folder inside samples directory and changed slighlt Makefile for creating Executable for my program.

Please find below the output of the same.

Interesting observation was that when I added the lines XERCES_CPP_NAMESPACE_BEGIN and XERCES_CPP_NAMESPACE_END
at start and end of the program, it was successfully creating Executables but crashing at runtime.
But then I dont add these lines in my program, it was giving me some errors and not creating any Executable

I am including  headers <xercesc/parsers/DOMBuilderImpl.hpp> , <xercesc/dom/DOMTreeWalker.hpp> and <xercesc/dom/DOM.hpp> in my program
I found this Namespace Addition line in these HPP files. Hence I tried with Adding Namespace addition line

Can anybody help me in knowing if there is any link of adding this NAMESPACE line my program to Crashing of my program ?
Or If there is any other reason for this ?

Ouput after adding Namespace Line in CPP program

_CXX_CXXSUFFIX="cpp" c++ -W0,"langlvl(extended)" -Wc,"TMPLPARSE(NO)" -DOS390 -D_
OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED -I. -I/usr/lpp/ixm/IBM/xml4c-5_5/include -
c -DOS390 -2  -o /usr/mcu/mcuamr/InitW1/mysamples/bin/obj/bun/bun1.o /usr/mcu/mc
uamr/InitW1/mysamples/samples/bun/bun1.cpp
"/usr/mcu/mcuamr/InitW1/mysamples/samples/bun/bun1.cpp", line 33.1: CCN6101 (W)
A return value of type "char *" is expected.
FSUM3065 The COMPILE step ended with return code 4.

_CXX_CXXSUFFIX="cpp" c++ -W0,"langlvl(extended)" -Wc,"TMPLPARSE(NO)" -DOS390 -D_
OPEN_THREADS -D_XOPEN_SOURCE_EXTENDED    /usr/mcu/mcuamr/InitW1/mysamples/bin/ob
j/bun/bun1.o -o /usr/mcu/mcuamr/InitW1/mysamples/bin/bun  /usr/lpp/ixm/IBM/xml4c
-5_5/lib/libxerces-c2_6_0.x
 IEW2689W 4C40 DEFINITION SIDE FILE IS NOT DEFINED.
FSUM3065 The LINKEDIT step ended with return code 4.

gmake[1]: Leaving directory `/usr/mcu/mcuamr/InitW1/mysamples/samples/bun'

Makarand Mukund Kulkarni
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com



Vitaly Prapirny <[EMAIL PROTECTED]>

03/30/2006 06:26 PM

Please respond to
[email protected]

To
[email protected]
cc
Subject
Re: XML Toolkit on ZOS





[EMAIL PROTECTED] wrote:
> As suggested, I tried to create Executable from CPP program with
> following command
>
> *c++ -+ -v -V -W c,dll -I/usr/lpp/ixm/IBM/xml4c-5_5/include -o bun
> bun1.cpp /usr/*
> *lpp/ixm/IBM/xml4c-5_5/lib/libxerces-c2_6_0.x 1>out 2>err*
>
> This step has created Executable with name 'bun'. But now when I try to
> run bun executable, it gets crashed and getting message like process
> Killed....
If you'd provide full crash message from your system it would be more
helpful. I suppose that system cannot find libxerces-c2_6_0.dll. You
could try to run your executable when /usr/lpp/ixm/IBM/xml4c-5_5/lib/ is
your current directory.

If it is not the case then I suggest your look at the Toolkit samples
first. If it works - do the same things with your program. If the
samples doesn't work then contact the Toolkit support team as suggested
by David Cargill.


Good luck!
                Vitaly

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


ForwardSourceID:NT00015396    

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

Reply via email to