[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-c-dev
Subject: Re: Link problems, Solaris + gnu
From: Arundhati Bhowmick <aruna1 () hyperreal ! org>
Date: 2000-06-27 23:17:39
[Download RAW message or body]
The solaris binary is compiled with CC4.2 compiler and if you use gcc there would be \
these kind of errors. In this case either you've to compile your application with \
CC4.2 or recompile xerces on your compiler. FYI, the gcc that we used at our end has \
version - 2. 95.2 Arundhati
Tim England wrote:
> Hello,
>
> I have a simple main.cc that does one thing: calls XMLPlatformUtils::Initialize(). \
> When I compile and link to libxerces-c1_1.so, I get
>
> Undefined symbol error
> Initialize__16XMLPlatformUtils first referenced in file main.o.
>
> I used nm to search for that symbol, but it wasn't found. The closest examples \
> were:
> $ nm libxerces-c1_1.so | grep XMLPlatformUtils | grep -i init
> [3801] | 830680| 4|OBJT |GLOB |0 |17 \
> |__0dQXMLPlatformUtilsKfgInitFlag [4007] | 400584| 276|FUNC |GLOB |0 |9 \
> |__0fQXMLPlatformUtilsKInitializevT [3161] | 425156| 84|FUNC |GLOB |0 \
> |9 |__0fQXMLPlatformUtilsMplatformInitvT
> Obviously there's some kind of name mangling problem going on here, but I'm at a \
> loss as to how to correct. I'm using gcc 2.8.1 on Solaris 6, and I've tried the \
> latest binary tar file (Xerces-C_1_2_0a-SolCC.tar.gz), as well as 1_2_0 and 1_1_0 \
> binary releases.
> Any help would be greatly appreciated...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic