[
https://issues.apache.org/jira/browse/AXIS2C-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Mengué reopened AXIS2C-1429:
------------------------------------
Shankar said the -lpthread should be in util/src/Makefile.am.
However it disappeared from there too.
The real fix would be to use the acx_pthread autoconf macro:
http://www.gnu.org/software/autoconf-archive/acx_pthread.html
> Makefile.am: -pthread not supported on AIX (Visual Age C++)
> -----------------------------------------------------------
>
> Key: AXIS2C-1429
> URL: https://issues.apache.org/jira/browse/AXIS2C-1429
> Project: Axis2-C
> Issue Type: Bug
> Components: build system (Unix/Linux)
> Affects Versions: 1.6.0
> Environment: AIX 5.2, Visual Age C++ 6
> Reporter: Olivier Mengué
> Fix For: 1.7.0, Current (Nightly)
>
>
> -pthread is reported as an invalid argument by Visual Age C++ 6:
> Here is the build log extract:
> ---------------------
> Making all in test
> /home/prodfs/otp/axis-build/axis2c-src-1.6.0-2/neethi/test
> source='test.c' object='test.o' libtool=no DEPDIR=.deps depmode=aix
> /bin/sh ../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I.. -I../include
> -I ../../util/include -I ../../axiom/include -I ../../include
> -I/home/prodfs/deploy/include -g -O2 -pthread -qnolm -D_LARGEFILE64_SOURCE -c
> test.c
> cc: 1501-210 command option t contains an incorrect subargument
> ---------------------
> The '-pthread' argument should instead be generated by the configure script.
> See http://www.nongnu.org/autoconf-archive/ax_pthread.html
--
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]