You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Panard <pa...@inzenet.org> on 2003/04/26 23:09:58 UTC

pb compiling xalan 1.5 linux

Hi,

When I build Xalan 1.5 on linux, I've got the following error :

.....
g++ -DLINUX -fPIC    \
 -L/home/panard/Projets/gentoo/tarballs/xml-xalan/c/lib -lxalan-c1_5_0  
-L/usr/lib -L/usr/lib -lxerces-c 
/home/panard/Projets/gentoo/tarballs/xml-xalan/c/obj/process.o -o 
/home/panard/Projets/gentoo/tarballs/xml-xalan/c/bin/testXSLT
/usr/lib/libxerces-c.so: référence indéfinie vers « 
xercesc_2_2::Base64::getDataLength(unsigned short const*)»
/usr/lib/libxerces-c.so: référence indéfinie vers « 
XMLChar1_0::fgCharCharsTable1_0       »
/usr/lib/libxerces-c.so: référence indéfinie vers « XMLString::stringLen(char 
const*)»


référence indéfinie = undefined reference (for non french users)
Xerces is 2.2.0....

Please help! 

Thanks

-- 
________________________________________________________
         panard@inzenet.org                http://www.inzenet.org

"Computers are like air-conditioners, they stop working properly when you open 
Windows."

Re: pb compiling xalan 1.5 linux

Posted by Panard <pa...@inzenet.org>.
Le Dimanche 27 Avril 2003 19:37, david_n_bertoni@us.ibm.com a écrit :
| Did you build Xerces-C 2.2.0 with the same version of GCC you're using to
| build Xalan?  If not, you will need to do that.  You cannot use the
| Xerces-C binary distribution, because it was built with the Intel compiler,
| not with GCC.

yes but I've resolve my problem using gmake instead of make... very strange...

Panard

Re: pb compiling xalan 1.5 linux

Posted by da...@us.ibm.com.



Did you build Xerces-C 2.2.0 with the same version of GCC you're using to
build Xalan?  If not, you will need to do that.  You cannot use the
Xerces-C binary distribution, because it was built with the Intel compiler,
not with GCC.

Dave



|---------+--------------------------->
|         |           Panard          |
|         |           <panard@inzenet.|
|         |           org>            |
|         |                           |
|         |           04/26/2003 02:09|
|         |           PM              |
|---------+--------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                |
  |        To:      xalan-c-users@xml.apache.org                                                                                   |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                                           |
  |        Subject: pb compiling xalan 1.5 linux                                                                                   |
  >--------------------------------------------------------------------------------------------------------------------------------|



Hi,

When I build Xalan 1.5 on linux, I've got the following error :

.....
g++ -DLINUX -fPIC    \
 -L/home/panard/Projets/gentoo/tarballs/xml-xalan/c/lib -lxalan-c1_5_0
-L/usr/lib -L/usr/lib -lxerces-c
/home/panard/Projets/gentoo/tarballs/xml-xalan/c/obj/process.o -o
/home/panard/Projets/gentoo/tarballs/xml-xalan/c/bin/testXSLT
/usr/lib/libxerces-c.so: référence indéfinie vers «
xercesc_2_2::Base64::getDataLength(unsigned short const*)»
/usr/lib/libxerces-c.so: référence indéfinie vers «
XMLChar1_0::fgCharCharsTable1_0       »
/usr/lib/libxerces-c.so: référence indéfinie vers «
XMLString::stringLen(char
const*)»


référence indéfinie = undefined reference (for non french users)
Xerces is 2.2.0....

Please help!

Thanks

--
________________________________________________________
         panard@inzenet.org                http://www.inzenet.org

"Computers are like air-conditioners, they stop working properly when you
open
Windows."