AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Failed compile Apache/httpd-2.2.17 on AIX5.3 TL12

  • 1.  Failed compile Apache/httpd-2.2.17 on AIX5.3 TL12

    Posted Thu February 17, 2011 04:30 PM

    Originally posted by: SystemAdmin


    I'm trying to compile Apache httpd-2.2.17 on AIX 5.3tl12. Configure ran OK, make is failing on strings/apr_snprintf.lo see below. What am I missing?

    {AIX5.3/taos}root# make
    Making all in srclib
    make[1]: Entering directory `/web/src/apache/httpd-2.2.17/srclib'
    Making all in apr
    make[2]: Entering directory `/web/src/apache/httpd-2.2.17/srclib/apr'
    make[3]: Entering directory `/web/src/apache/httpd-2.2.17/srclib/apr'
    /bin/sh /web/src/apache/httpd-2.2.17/srclib/apr/libtool --silent --mode=compile gcc -I/opt/freeware/include -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -I./include -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I./include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo
    /bin/sh /web/src/apache/httpd-2.2.17/srclib/apr/libtool --silent --mode=compile gcc -I/opt/freeware/include -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -I./include -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I./include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include -o strings/apr_cpystrn.lo -c strings/apr_cpystrn.c && touch strings/apr_cpystrn.lo
    /bin/sh /web/src/apache/httpd-2.2.17/srclib/apr/libtool --silent --mode=compile gcc -I/opt/freeware/include -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -I./include -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I./include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include -o strings/apr_strtok.lo -c strings/apr_strtok.c && touch strings/apr_strtok.lo
    /bin/sh /web/src/apache/httpd-2.2.17/srclib/apr/libtool --silent --mode=compile gcc -I/opt/freeware/include -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -I./include -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I./include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include/arch/unix -I/web/src/apache/httpd-2.2.17/srclib/apr/include -o strings/apr_snprintf.lo -c strings/apr_snprintf.c && touch strings/apr_snprintf.lo
    In file included from include/apr_portable.h:47,
    from strings/apr_snprintf.c:23:
    /usr/include/pthread.h:666: error: parse error before '*' token
    /usr/include/pthread.h:669: error: parse error before '*' token
    /usr/include/pthread.h:672: error: parse error before '*' token
    /usr/include/pthread.h:675: error: parse error before '*' token
    /usr/include/pthread.h:678: error: parse error before '*' token
    /usr/include/pthread.h:686: error: parse error before '*' token
    /usr/include/pthread.h:689: error: parse error before '*' token
    /usr/include/pthread.h:692: error: parse error before '*' token
    /usr/include/pthread.h:695: error: parse error before '*' token
    /usr/include/pthread.h:703: error: parse error before '*' token
    /usr/include/pthread.h:707: error: parse error before '*' token
    /usr/include/pthread.h:710: error: parse error before '*' token
    make[3]: *** http://strings/apr_snprintf.lo Error 1
    make[3]: Leaving directory `/web/src/apache/httpd-2.2.17/srclib/apr'
    make[2]: *** all-recursive Error 1
    make[2]: Leaving directory `/web/src/apache/httpd-2.2.17/srclib/apr'
    make[1]: *** all-recursive Error 1
    make[1]: Leaving directory `/web/src/apache/httpd-2.2.17/srclib'
    make: *** all-recursive Error 1
    #AIX-Forum


  • 2.  Re: Failed compile Apache/httpd-2.2.17 on AIX5.3 TL12

    Posted Thu February 17, 2011 05:21 PM

    Originally posted by: chrissmith


    Update your compiler

    This has been seen before where older compilers are used on new AIX
    releases.
    #AIX-Forum