samples/configure.ac uses GCC-specific features (makes AIX build fail) ----------------------------------------------------------------------
Key: AXIS2C-1431 URL: https://issues.apache.org/jira/browse/AXIS2C-1431 Project: Axis2-C Issue Type: Bug Components: build system (Unix/Linux) Affects Versions: 1.6.0 Environment: AIX 5.2, Visual Age C++ 6 cd samples ./configure CC=cc CFLAGS=-qnolm --with-axis2="$deploy_dir" INSTALL="/usr/bin/installbsd -c" --prefix="$deploy_dir" Reporter: Olivier Mengué In samples/configure.ac of release 1.6.0, line 150: CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration" LDFLAGS="$LDFLAGS -lpthread" CFLAGS uses some GCC specific command line flags which are not compatible with Visual Age C++ (xlc). Here the build log on AIX 5.2 with Visual Age C++ 6 : Making all in echo /home/prodfs/otp/lib-build/axis2c-src-1.6.0/samples/server/echo source='echo.c' object='echo.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ../../depcomp /bin/sh ../../libtool --tag=CC --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../.. -I/home/prodfs/otp/deploy -qnolm -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration -c -o echo.lo echo.c cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../.. -I/home/prodfs/otp/deploy -qnolm -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration -c -M echo.c -DPIC -o .libs/echo.o cc: 1501-210 command option Wall contains an incorrect subargument make: The error code from the last command is 1. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.