You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Anand R Koppal <an...@rediffmail.com> on 2004/09/14 08:35:42 UTC

Problem with Samples

Hi,

I have currently installed binaries Xerces-C++ Version 2.5.0 on AIX 5.1.  I have compiler xlC 5.  

I have set the PATH, LIBPATH.  Environment is fine according to me.  Before I try using the parser, i tried to run the Sample provided with the tar.  I am getting the following error.  

I am not able to find out.  The only problem, i see the difference in the compiler version.  I am using 5 instead of 6.

Please let me the exact reason for the same.

Below the error :

====================ERROR BEGIN======================================
$ DOMCount -v=always personal.xml
exec(): 0509-036 Cannot load program DOMCount because of the following errors:
        0509-130 Symbol resolution failed for DOMCount because:
        0509-136   Symbol adjustfield__Q2_3std8ios_base (number 77) is not expor
ted from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol badbit__Q2_3std8ios_base (number 78) is not exported f
rom
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol basefield__Q2_3std8ios_base (number 79) is not exporte
d from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol boolalpha__Q2_3std8ios_base (number 80) is not exporte
d from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol eofbit__Q2_3std8ios_base (number 84) is not exported f
rom
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol failbit__Q2_3std8ios_base (number 85) is not exported
from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol fixed__Q2_3std8ios_base (number 86) is not exported fr
om
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol floatfield__Q2_3std8ios_base (number 87) is not export
ed from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol goodbit__Q2_3std8ios_base (number 88) is not exported
from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol hex__Q2_3std8ios_base (number 89) is not exported from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol in__Q2_3std8ios_base (number 91) is not exported from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol internal__Q2_3std8ios_base (number 92) is not exported
 from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol left__Q2_3std8ios_base (number 93) is not exported fro
m
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol oct__Q2_3std8ios_base (number 94) is not exported from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol scientific__Q2_3std8ios_base (number 95) is not export
ed from
                   dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136   Symbol showbase__Q2_3std8ios_base (number 96) is not exported
 from
                   dependent module /usr/lib/libC.a(ansi_32.o).


====================ERROR END======================================

Waiting for your response.

Regards
Anand

Re: Problem with Samples

Posted by David Cargill <ca...@ca.ibm.com>.



Hi Anand,
The problem is that you are using xlC V5 and the library was built with xlC
V6 (since  xlC V5 is out of service).

So you can either upgrade to xlC V6 or download the source and build it
using xlC V5.

Regards,
David A. Cargill
XML Parser Development
IBM Toronto Lab
(905) 413-2371, tie 969
cargilld@ca.ibm.com


                                                                           
             "Anand R Koppal"                                              
             <anand_r_k@rediff                                             
             mail.com>                                                  To 
                                       xerces-c-dev@xml.apache.org         
             09/14/2004 02:35                                           cc 
             AM                                                            
                                                                   Subject 
                                       Problem with Samples                
             Please respond to                                             
               xerces-c-dev                                                
                                                                           
                                                                           
                                                                           
                                                                           




Hi,

I have currently installed binaries Xerces-C++ Version 2.5.0 on AIX 5.1.  I
have compiler xlC 5.

I have set the PATH, LIBPATH.  Environment is fine according to me.  Before
I try using the parser, i tried to run the Sample provided with the tar.  I
am getting the following error.

I am not able to find out.  The only problem, i see the difference in the
compiler version.  I am using 5 instead of 6.

Please let me the exact reason for the same.

Below the error :

====================ERROR BEGIN======================================
$ DOMCount -v=always personal.xml
exec(): 0509-036 Cannot load program DOMCount because of the following
errors:
        0509-130 Symbol resolution failed for DOMCount because:
        0509-136  Symbol adjustfield__Q2_3std8ios_base (number 77) is not
expor
ted from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol badbit__Q2_3std8ios_base (number 78) is not
exported f
rom
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol basefield__Q2_3std8ios_base (number 79) is not
exporte
d from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol boolalpha__Q2_3std8ios_base (number 80) is not
exporte
d from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol eofbit__Q2_3std8ios_base (number 84) is not
exported f
rom
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol failbit__Q2_3std8ios_base (number 85) is not
exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol fixed__Q2_3std8ios_base (number 86) is not
exported fr
om
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol floatfield__Q2_3std8ios_base (number 87) is not
export
ed from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol goodbit__Q2_3std8ios_base (number 88) is not
exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol hex__Q2_3std8ios_base (number 89) is not exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol in__Q2_3std8ios_base (number 91) is not exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol internal__Q2_3std8ios_base (number 92) is not
exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol left__Q2_3std8ios_base (number 93) is not exported
fro
m
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol oct__Q2_3std8ios_base (number 94) is not exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol scientific__Q2_3std8ios_base (number 95) is not
export
ed from
                  dependent module /usr/lib/libC.a(ansi_32.o).
        0509-136  Symbol showbase__Q2_3std8ios_base (number 96) is not
exported
from
                  dependent module /usr/lib/libC.a(ansi_32.o).


====================ERROR END======================================

Waiting for your response.

Regards
Anand




(Embedded image moved to file: pic22414.gif)