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 Stefan Voelkel <st...@millenux.com> on 2001/10/18 20:33:36 UTC

compiling 1.5.1 on linux for s390 (unresolved symbols)

Hi,

i had some trouble compiling xerces 1.5.1 on a s390 running RedHat linux. The compilation of the .so made no problems but the samples reported a bunch of unresolved symbols.

adding -rdynamic to the linking of the .so helped and now everything compiles fine:

g++ -DLINUX -shared -fPIC -rdynamic -o /tmp/xerces-c-src1_5_1//lib/libxerces-c1_5_1.so /tmp/xerces-c-src1_5_1//obj/LINUX/ASCIIRangeFactory.o [...]
[...] /tmp/xerces-c-src1_5_1//obj/LINUX/XMLWin1252Transcoder.o /tmp/xerces-c-src1_5_1//obj/LINUX/XUtil.o    -lpthread  -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -lc

	stefan

ps: $ gcc -v
Reading specs from /usr/lib/gcc-lib/s390-redhat-linux/2.95.3/specs
gcc version 2.95.3 20010319 (prerelease Red Hat Linux S/390)



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


Re: compiling 1.5.1 on linux for s390 (unresolved symbols)

Posted by Stefan Voelkel <st...@millenux.com>.
On 18 Oct 2001, Jason E. Stewart wrote:

> "Stefan Voelkel" <st...@millenux.com> writes:
>
> > i had some trouble compiling xerces 1.5.1 on a s390 running RedHat
> > linux. The compilation of the .so made no problems but the samples
> > reported a bunch of unresolved symbols.
>
> Thanks Stefan,
>
> What version of RedHat is this, 7.1?

Basically it's an 7.0 with a few changes to run on this architecture.

	stefan


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


Re: compiling 1.5.1 on linux for s390 (unresolved symbols)

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Stefan Voelkel" <st...@millenux.com> writes:

> i had some trouble compiling xerces 1.5.1 on a s390 running RedHat
> linux. The compilation of the .so made no problems but the samples
> reported a bunch of unresolved symbols.

Thanks Stefan,

What version of RedHat is this, 7.1?

Cheers,
jas.

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