Sponsored Content
Special Forums UNIX and Linux Applications Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux Post 302989973 by agrachirag on Friday 20th of January 2017 06:28:44 AM
Old 01-20-2017
Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team,

I am facing issue while using Xalan & Xerces for my application.
Below are my environment details i am using :-
Platform:- Oracle Linux 6.6
Compiler :- solarisstudio12.3 C++ compiler for Linux

Below are the versions of Xalan & Xerces source code used to build the shared object downloaded from Apache site:-

Code:
xerces-c-src_2_7_0.tar.gz
Xalan-C_1_10_0-src.tar.gz

Problem Description:-
I had to build 32 bit shared object which can be used in my application. so i tried building xerces with the options for my platform as :-
Code:
./runConfigure -plinux -ccc -xCC

i added -m32 falg in makefile and it got compiled and created a shared object.
Then i tried to configure xalan with below command :-
Code:
./runConfigure -plinux -ccc -xCC

I tried to compile it but it resulted me in lot of errors. i tried fixing them in order to change compiler and platform defines header files and some make files.
Finally i was able to create 32 bit shared object for xalan.
I then tried to use in my application but it was throwing coredump at function XalanMemMgrs::getDefaultXercesMemMgr().
Below is the code sniplet for the issue :-
Code:
XalanMemMgrs::getDefaultXercesMemMgr()
{
        XALAN_USING_XERCES(XMLPlatformUtils)

        MemoryManagerType* ptr = XMLPlatformUtils::fgMemoryManager;

        assert (ptr != 0);

        return *ptr;
(dbx:getDefaultXercesMemMgr) display XMLPlatformUtils
dbx: "XMLPlatformUtils" is not defined in the scope `libxalan-c.so.110`XalanMemoryManagement.cpp`xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr()`
dbx: see `help scope' for details
(dbx:getDefaultXercesMemMgr) n
t@4079109952 (l@21431) stopped in xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr at line 73 in file "XalanMemoryManagement.cpp"
   73           assert (ptr != 0);

The value of ptr is showing as nil.

Need your urgent help in order to understand the changes for my platform requirement and how to sort this memory related issue

Last edited by Scrutinizer; 01-20-2017 at 07:35 AM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Are Unix & Linux the Same ?

Well i have downloaded some Linux stuff and isos but before i install i really like to know what is the diffirence and i like to install apache webserver , can it be done on Linux ? I am a real Dummy but after some practice i will be a PRO :-) Thanks for all the replies .. (1 Reply)
Discussion started by: zodiac
1 Replies

2. UNIX Desktop Questions & Answers

what is the difference between Unix & linux, what are the advantages & disadvantages

ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Discussion started by: cybertechmkteo
1 Replies

3. UNIX for Dummies Questions & Answers

Linux & Unix Compatibility

I am looking for a dual XEON or any dual CPU motherboard that can support Linux and Solaris at the same time. Does anyone have any idea? I am now looking at the TYAN S2507T / TYAN S2505T / TYAN S2720, you guys have any clue?:confused: (6 Replies)
Discussion started by: doyho
6 Replies

4. UNIX Desktop Questions & Answers

ATI && XFree86 (Linux)

Anyone who have any ideas how-to make X faster. I have a ATI Rage Mobility P/M AGP 2x card and I wanto get it fast, mostly for movie playback and so. Is there OpenGL and GLX support? regards Esaia (1 Reply)
Discussion started by: Esaia
1 Replies

5. HP-UX

HP-UX & Linux

Hello there! Is Sun Microsystems ready to loose hands on HP-UX in the favor of fast emerging Linux? As HP-UX is very costly both in terms of processor licences and hardware costs. Responses are more than welcome! JAM (4 Replies)
Discussion started by: Jawwad
4 Replies

6. UNIX for Advanced & Expert Users

What is the difference between Unix & linux

:confused: Hi All Can anyone help me in finding the answer of the question mentioned below. What is the difference between Unix & linux ? Thanks in Advance to all CSaha (1 Reply)
Discussion started by: csaha
1 Replies

7. Linux

Help: HP Pavilion dv9999 & Linux

Hi, I have an HP Pavilion dv9999 notebook running Windows Vista 64-bit edition. Now I want to set Linux and make the notebook dual-boot OS system. My questions is which Linux is the best to work with HP Pavilion notebook? Which Linux can support all the hardware devices such as wireless,... (4 Replies)
Discussion started by: aixlover
4 Replies

8. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

9. Shell Programming and Scripting

Linux Platform - NDM Script - && Operator

Hi All, I have a requirement where i need to NDM 3 files from LINUX to Mainframe system & trigger a job in mainframe once the 3 files are transmitted successfully. I am getting an error message in the && operator (the code component where i am checking whether step 1/2/3 are completed). ... (2 Replies)
Discussion started by: dsfreddie
2 Replies

10. Linux

Issues with desktop resolution on Oracle Linux 6.7

Hi All, I have recently installed Oracle Linux 6.7 server on Virtual box 5.1. The installation went smooth and i was able to create a VM on Windows 7 as host.The issue is that the default desktop that i see is not at the default resolution and i am only able to see half of the screen. ... (0 Replies)
Discussion started by: dev.devil.1983
0 Replies
XALAN(1)						      General Commands Manual							  XALAN(1)

NAME
xalan - Process XML documents with XSLT stylesheets SYNOPSIS
xalan [options] DESCRIPTION
Xalan-C++ (named after a rare musical instrument) implements the W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0 and the XML Path Language (XPath) Version 1.0. XSLT is the first part of the XSL stylesheet language for XML. It includes the XSL Transfor- mation vocabulary and XPath, a language for addressing parts of XML documents. For links to background materials, discussion groups, fre- quently asked questions, and tutorials on XSLT, see Getting up to speed with XSLT. You use the XSLT language to compose XSL stylesheets. An XSL stylesheet contains instructions for transforming XML documents from one docu- ment type to another document type (XML, HTML, or other). In structural terms, an XSL stylesheet specifies the transformation of one tree of nodes (the XML input) into another tree of nodes (the output or transformation result). OPTIONS
Options are case-sensitive. -in URL Sets the input URL. If nothing is set, stdin is used. -xsl URL Sets the XSLT sheet URL. -out file Sets the output filename. -v Show version information only. -qc Quiet pattern conflicts warnings. -q Use quiet mode. -indent n Controls how many spaces to indent. Default is 0. -validate Controls whether validation occurs. Validation is off by default. -tt Trace the templates as they are being called. -tg Trace each generation event. -ts Trace each selection event. -ttc Trace the template children as they are being processed. -xml Use XML formatter and add XML header. -text Use simple Text formatter. -html Use HTML formatter. -dom Use DOM formatter. Formats to DOM, then formats XML for output. -xst Use source tree formatter. Formats to Xalan source tree, then formats XML for output. -param name expression Sets a stylesheet parameter. -xd Use Xerces DOM instead of Xalan source tree. -de Disable built-in extension functions The following option is valid only with -HTML -noindent Turn off HTML indenting. The following option is valid only with -XML. -nh Don't write XML header. AUTHOR
The Apache Software Foundation. SEE ALSO
http://www.w3.org/TR/xslt XSL Transformations Version 1.0 (XSLT) http://www.w3.org/TR/xpath XML Path Language Version 1.0 (XPATH) Debian GNU/Linux 2001 XALAN(1)
All times are GMT -4. The time now is 01:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy