You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by tech user <te...@gmail.com> on 2009/11/21 14:00:18 UTC

xerces 2.8.0 runConfigure fail on AIX 5.3.0 (xlc_r version issue)

Hi All

and thanks in advance.

this is urgent to us.

OS:
      AIX 5.3.0
Compiler:
      IBM XL C/C++ Enterprise Edition V8.0 for AIX
      Version: 08.00.0000.0020

we execute runConfigure:
./runConfigure -paix -cxlc_r -xxlC_r -z-+ -z-qnamemangling=v5 -z-G
-z-qmkshrobj

result:

Generating makefiles with the following options ...
Platform: aix
C Compiler: xlc_r
C++ Compiler: xlC_r
Message Loader: inmem
Net Accessor: socket
Transcoder: native
Thread option: pthread
Library type: shared
bitsToBuild option: 32
Extra compile options:  -+ -qnamemangling=v5 -G -qmkshrobj
Extra link options:
Extra configure options:
Debug is OFF
Found host system to be powerpc-ibm-aix5.3.0.0

checking for gcc... xlc_r
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

"config.log" result:

....

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1765: checking for gcc
configure:1792: result: xlc_r
configure:2030: checking for C compiler version
configure:2037: xlc_r --version >&5
xlc_r: 1501-216 command option --version is not recognized - passed to ld



  xlc(1)                 IBM (October 2005)                  xlc(1)


Summery:
it seems like there is a version query issue.

is there a workaround for that ?

Thanks
TechSgin

Re: xerces 2.8.0 runConfigure fail on AIX 5.3.0 (xlc_r version issue)

Posted by tech user <te...@gmail.com>.
Thanks

On Sun, Nov 22, 2009 at 9:38 PM, David Bertoni <db...@apache.org> wrote:

> tech user wrote:
>
>> Hi all
>>
>> removing -z-G -z-qmkshrob runConfigure successfully.
>>
>> ./runConfigure -paix -cxlc_r -xxlC_r -z-+ -z-qnamemangling=v5
>> Works ok
>>
>> We do get tones off duplicate symbols, is there a way to avoid that ?
>>
> No, it's an issue with xlC and the AIX linker.
>
>
>
>> Is there a way to make to link as *.so and not dot *.a ?
>>
> The .a file is a library with shared objects in it. Shared objects on AIX
> are much like Windows DLLs, in that there is no run-time linking like ELF
> platforms support.
>
> There is a mode that somewhat emulates run-time linking, but it's unlikely
> you need it. Such shared objects can have the .so extension, to distinguish
> them from standard shared objects.
>
> You should read this page, if you want more information:
>
>
> http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=/com.ibm.vacpp7a.doc/getstart/overview/port_aix_obj_lib.htm
>
> Dave
>

Re: xerces 2.8.0 runConfigure fail on AIX 5.3.0 (xlc_r version issue)

Posted by David Bertoni <db...@apache.org>.
tech user wrote:
> Hi all
> 
> removing -z-G -z-qmkshrob runConfigure successfully.
> 
> ./runConfigure -paix -cxlc_r -xxlC_r -z-+ -z-qnamemangling=v5
> Works ok
> 
> We do get tones off duplicate symbols, is there a way to avoid that ?
No, it's an issue with xlC and the AIX linker.

> 
> Is there a way to make to link as *.so and not dot *.a ?
The .a file is a library with shared objects in it. Shared objects on 
AIX are much like Windows DLLs, in that there is no run-time linking 
like ELF platforms support.

There is a mode that somewhat emulates run-time linking, but it's 
unlikely you need it. Such shared objects can have the .so extension, to 
distinguish them from standard shared objects.

You should read this page, if you want more information:

http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=/com.ibm.vacpp7a.doc/getstart/overview/port_aix_obj_lib.htm

Dave

Re: xerces 2.8.0 runConfigure fail on AIX 5.3.0 (xlc_r version issue)

Posted by tech user <te...@gmail.com>.
Hi all

removing -z-G -z-qmkshrob runConfigure successfully.

./runConfigure -paix -cxlc_r -xxlC_r -z-+ -z-qnamemangling=v5
Works ok

We do get tones off duplicate symbols, is there a way to avoid that ?

Is there a way to make to link as *.so and not dot *.a ?

this what we where trying to do with "-z-G -z-qmkshrob"

Regards
TechSgin

On Sat, Nov 21, 2009 at 3:00 PM, tech user <te...@gmail.com> wrote:

> Hi All
>
> and thanks in advance.
>
> this is urgent to us.
>
> OS:
>       AIX 5.3.0
> Compiler:
>       IBM XL C/C++ Enterprise Edition V8.0 for AIX
>       Version: 08.00.0000.0020
>
> we execute runConfigure:
> ./runConfigure -paix -cxlc_r -xxlC_r -z-+ -z-qnamemangling=v5 -z-G
> -z-qmkshrobj
>
> result:
>
> Generating makefiles with the following options ...
> Platform: aix
> C Compiler: xlc_r
> C++ Compiler: xlC_r
> Message Loader: inmem
> Net Accessor: socket
> Transcoder: native
> Thread option: pthread
> Library type: shared
> bitsToBuild option: 32
> Extra compile options:  -+ -qnamemangling=v5 -G -qmkshrobj
> Extra link options:
> Extra configure options:
> Debug is OFF
> Found host system to be powerpc-ibm-aix5.3.0.0
>
> checking for gcc... xlc_r
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
>
> "config.log" result:
>
> ....
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1765: checking for gcc
> configure:1792: result: xlc_r
> configure:2030: checking for C compiler version
> configure:2037: xlc_r --version >&5
> xlc_r: 1501-216 command option --version is not recognized - passed to ld
>
>
>
>   xlc(1)                 IBM (October 2005)                  xlc(1)
>
>
> Summery:
> it seems like there is a version query issue.
>
> is there a workaround for that ?
>
> Thanks
> TechSgin
>
>