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

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux
# 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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question