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 "Noack, Joerg" <Jo...@muc.mtu.de> on 2001/08/22 17:08:23 UTC

problems build xerces1-5.1 on SGI

Hallo,

I try to compile the librarie and samples under SGI
IRIX 6.5.11 with the native SGI compiler (version
7.30).

I follows the build instructions and set the
env variable to
export XERCESCROOT=/yatest/freeware/src/xerces-c-src1_5_1

Now I run "./runConfigure -pirix" and gmake.
During the comiplation I get following warnings

------------------------------------------------------
cc-1183 CC: WARNING File = HexBin.cpp, Line = 115
  An unsigned integer is being compared to zero.

      if (( octect >= BASELENGTH ) || ( octect < 0 ))
                               ^
   :
   :
cc-3303 CC: WARNING File =
/yatest/freeware/src/xerces-c-src1_5_1/include/util/QName.hpp, Line = 122
  A type qualifier on a return type is meaningless.

      const unsigned int getURI() const;
                         ^
-------------------------------------------------------

but the library was build.
4113636 Aug 22 17:00 libxerces-c1_5_1.so

After this I compile the samples with
"./runConfigure -pirix" and gmake. I set the
LD_LIBRARAY_PATH to the correct directory.
For example:
--------------------------------------------------------
samples> ldd ../bin/DOMCount 
        libxerces-c1_5_1.so  =>
/yatest/freeware/src/xerces-c-src1_5_1/lib/libxerces-c1_5_1.so 
        libCsup.so  =>   /usr/lib32/libCsup.so  
        libC.so.2  =>    /usr/lib32/libC.so.2   
        libc.so.1  =>    /usr/lib32/libc.so.1   
        libpthread.so  =>        /usr/lib32/libpthread.so       
        libm.so  =>      /usr/lib32/libm.so     
--------------------------------------------------------

If I run ../bin/DOMCount I get the following errors
--------------------------------------------------------
27401101:../bin/DOMCount: rld: Error: unresolvable symbol in
/yatest/freeware/src/xerces-c-src1_5_1/lib/libxerces-c1_5_1.so:
__dt__46Janitor__pt__31_Q2_17RegularExpression7ContextGv
27401101:../bin/DOMCount: rld: Error: unresolvable symbol in
/yatest/freeware/src/xerces-c-src1_5_1/lib/libxerces-c1_5_1.so:
fgATT_TARGETNAMESPACE__13SchemaSymbols
27401101:../bin/DOMCount: rld: Error: unresolvable symbol in
/yatest/freeware/src/xerces-c-src1_5_1/lib/libxerces-c1_5_1.so:
fgWS_REPLACE__13SchemaSymbols
 :
 :
 :
--------------------------------------------------------

What is wrong? Using the gnu compiler lead to the same
errors :-(.

Thanks in advance

J. Noack

PS.: Sorry for my bad englisch. I try hard to learn it.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org