[ 
https://issues.apache.org/jira/browse/AXIS2C-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797586#action_12797586
 ] 

Olivier Mengué edited comment on AXIS2C-1429 at 1/7/10 10:45 AM:
-----------------------------------------------------------------

This issue applies to many other directories:

$ find . -name Makefile.am | xargs grep -- -pthread
./src/core/transport/tcp/server/simple_tcp_server/Makefile.am:AM_CFLAGS = -g 
-pthread
./src/core/transport/amqp/server/axis2_amqp_server/Makefile.am:AM_CFLAGS = -g 
-pthread
./src/core/transport/http/server/CGI/Makefile.am:AM_CFLAGS = -g -pthread
./src/core/transport/http/server/simple_axis2_server/Makefile.am:AM_CFLAGS = -g 
-pthread
./test/core/addr/Makefile.am:AM_CFLAGS = -g -pthread
./test/core/context/Makefile.am:AM_CFLAGS = -g -pthread
./test/core/transport/http/Makefile.am:AM_CFLAGS = -g -pthread
./test/core/deployment/Makefile.am:AM_CFLAGS = $(CFLAGS) -g -pthread
./test/core/description/Makefile.am:AM_CFLAGS = -g -O2 -pthread
./test/core/engine/Makefile.am:AM_CFLAGS = -g -pthread
./test/core/clientapi/Makefile.am:AM_CFLAGS = -g -pthread
./axiom/test/om/Makefile.am:AM_CFLAGS = -g -O2 -pthread
./axiom/test/soap/Makefile.am:AM_CFLAGS = -g -O2 -pthread
./neethi/test/Makefile.am:AM_CFLAGS = -g -O2 -pthread



      was (Author: dolmen-oxymel):
    This issue applies to many other directories:

$ find . -name Makefile | xargs grep -- -pthread
./src/core/transport/tcp/server/simple_tcp_server/Makefile:AM_CFLAGS = -g 
-pthread
./src/core/transport/amqp/server/axis2_amqp_server/Makefile:AM_CFLAGS = -g 
-pthread
./src/core/transport/http/server/CGI/Makefile:AM_CFLAGS = -g -pthread
./src/core/transport/http/server/simple_axis2_server/Makefile:AM_CFLAGS = -g 
-pthread
./test/core/addr/Makefile:AM_CFLAGS = -g -pthread
./test/core/context/Makefile:AM_CFLAGS = -g -pthread
./test/core/transport/http/Makefile:AM_CFLAGS = -g -pthread
./test/core/deployment/Makefile:AM_CFLAGS = $(CFLAGS) -g -pthread
./test/core/description/Makefile:AM_CFLAGS = -g -O2 -pthread
./test/core/engine/Makefile:AM_CFLAGS = -g -pthread
./test/core/clientapi/Makefile:AM_CFLAGS = -g -pthread
./axiom/test/om/Makefile:AM_CFLAGS = -g -O2 -pthread
./axiom/test/soap/Makefile:AM_CFLAGS = -g -O2 -pthread
./neethi/test/Makefile:AM_CFLAGS = -g -O2 -pthread

  
> 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é
>
> -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.

Reply via email to