Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1431

samples/configure.ac uses GCC-specific features (makes AIX build fail)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None
    • 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"

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shankar Selvaratnam Uthaiyashankar
            dolmen-oxymel Olivier Mengué
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment