[
https://issues.apache.org/jira/browse/XERCESC-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800191#action_12800191
]
Gauthier Helin edited comment on XERCESC-1904 at 1/14/10 1:17 PM:
------------------------------------------------------------------
Full config.log attached
was (Author: gastush):
Fulll config.log
> Cannot build shared library from xerces-c 3.0.1 on AIX6.1 with xlC V9
> ---------------------------------------------------------------------
>
> Key: XERCESC-1904
> URL: https://issues.apache.org/jira/browse/XERCESC-1904
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.0.1
> Environment: OS : AIX 6.1 TL3 SP1
> Compiler: IBM XL C/C++ Enterprise Edition for AIX, V9.0
> Reporter: Gauthier Helin
> Priority: Blocker
> Attachments: config.log
>
>
> Hello,
> I cannot build the xerces 3.0.1 shared library on AIX 6.1 with xlC 9. It
> always produce the static library even if I specify --enable-shared=yes.
> I tried may different ./configure and gmake options without any success.
> here is some output of the ./configure which shows that it thinks that the
> linker does not support shared libs :
> checking if xlc_r supports -c -o file.o... yes
> checking whether the xlc_r linker (/usr/bin/ld) supports shared libraries...
> no
> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... unsupported
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... no
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking whether the xlC_r linker (/usr/bin/ld) supports shared libraries...
> no
> checking for xlC_r option to produce PIC...
> checking if xlC_r static flag works... yes
> checking if xlC_r supports -c -o file.o... yes
> checking whether the xlC_r linker (/usr/bin/ld) supports shared libraries...
> no
> checking dynamic linker characteristics... no
> (cached) (cached) checking how to hardcode library paths into programs...
> unsupported
> appending configuration tag "F77" to libtool
> checking whether xlc_r and cc understand -c and -o together... yes
> the command line used was :
> ./configure --prefix=$PREFIX CXX=xlC_r CC=xlc_r --enable-shared=yes
> gmake libxerces_c_la_LDFLAGS=-qmkshrobj
> This was working fine on AIX 5.3 with xlC 7
> Thanks a lot for any help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]