Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

 
Thread Tools Search this Thread
# 1  
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

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Issues with desktop resolution on Oracle Linux 6.7 dev.devil.1983 Linux 0 01-15-2017 10:45 AM
Linux Platform - NDM Script - && Operator dsfreddie Shell Programming and Scripting 2 03-01-2013 02:37 AM
Installing Unix & Linux Pitsmero UNIX for Dummies Questions & Answers 1 07-15-2011 04:56 AM
PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL lowmaster Shell Programming and Scripting 0 02-07-2010 03:59 PM
Help: HP Pavilion dv9999 & Linux aixlover Linux 4 04-19-2009 05:10 PM
Question on x-window & which Linux to go with samnyc UNIX for Dummies Questions & Answers 3 03-05-2009 01:14 PM
What is the difference between Unix & linux csaha UNIX for Advanced & Expert Users 1 02-17-2005 09:00 AM
Linux & Internal Modems Jawwad Linux 6 10-21-2003 08:32 AM
HP-UX & Linux Jawwad HP-UX 4 09-29-2003 06:29 AM
ATI && XFree86 (Linux) Esaia UNIX Desktop Questions & Answers 1 12-24-2002 11:54 PM
Learning Unix & Linux faaarin UNIX for Dummies Questions & Answers 5 09-23-2002 12:30 PM
Linux & Unix Compatibility doyho UNIX for Dummies Questions & Answers 6 08-09-2002 11:33 AM
Linux & Office Suites oti UNIX Desktop Questions & Answers 8 07-12-2002 04:03 AM
what is the difference between Unix & linux, what are the advantages & disadvantages cybertechmkteo UNIX Desktop Questions & Answers 1 03-04-2002 07:12 AM
Are Unix & Linux the Same ? zodiac UNIX for Dummies Questions & Answers 1 03-12-2001 12:56 AM