I'm attempting to build the httpd 2.2.8 on an AIX 5.3 system. I'm using
the IBM compiler cc_r. When I run this configuration it configures ok,
though it doesn't find the Expat 1.95.8 I have at /apps/support/packages
while it does find the OpenSSL at the same location.

CC="/usr/vac/bin/cc_r";
OBJECT_MODE=64
LDFLAGS="$LDFLAGS -L/apps/support/packages/lib"
LD_LIBRARY_PATH="/apps/support/packages/lib"
INCLUDE="-I/apps/support/packages/include"
CPPFLAGS="-I/apps/support/packages/include"

export CC
export OBJECT_MODE
export LDFLAGS
export LD_LIBRARY_PATH
export INCLUDE
export CPPFLAGS

./configure \
--prefix=/web/apache/development \
--enable-so \
--enable-rewrite=shared \
--enable-info=shared \
--enable-status=shared \
--enable-ssl=shared \
--with-ssl=/apps/support/packages \
--with-expat=/apps/support/packages \
--disable-userdir \
--disable-autoindex

The make error is:
$ make
Making all in srclib
Making all in apr
        /bin/sh
/home/users/webownr/source/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile /usr/vac/bin/cc_r -qlanglvl=extc89 -g -qHALT=E
-DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS
-I/apps/support/packages/include -I./include
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include  -o
passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch
passwd/apr_getpass.lo
        /bin/sh
/home/users/webownr/source/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile /usr/vac/bin/cc_r -qlanglvl=extc89 -g -qHALT=E
-DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS
-I/apps/support/packages/include -I./include
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include  -o
strings/apr_cpystrn.lo -c strings/apr_cpystrn.c && touch
strings/apr_cpystrn.lo
        /bin/sh
/home/users/webownr/source/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile /usr/vac/bin/cc_r -qlanglvl=extc89 -g -qHALT=E
-DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS
-I/apps/support/packages/include -I./include
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include  -o
strings/apr_fnmatch.lo -c strings/apr_fnmatch.c && touch
strings/apr_fnmatch.lo
        /bin/sh
/home/users/webownr/source/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile /usr/vac/bin/cc_r -qlanglvl=extc89 -g -qHALT=E
-DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS
-I/apps/support/packages/include -I./include
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include/arch/unix
-I./include/arch/unix
-I/home/users/webownr/source/httpd-2.2.8/srclib/apr/include  -o
strings/apr_snprintf.lo -c 
strings/apr_snprintf.c && touch strings/apr_snprintf.lo
"strings/apr_snprintf.c", line 503.10: 1506-052 (S) Duplicate case label
for value 4. Labels must be unique.
"strings/apr_snprintf.c", line 583.31: 1506-1298 (W) The subscript 10 is
out of range. The valid range is 0 to 9.
"strings/apr_snprintf.c", line 674.10: 1506-052 (S) Duplicate case label
for value 4. Labels must be unique.
"strings/apr_snprintf.c", line 863.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 873.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 883.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 893.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 910.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 920.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 935.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 945.38: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 1108.42: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 1132.60: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 1151.55: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 1170.60: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
"strings/apr_snprintf.c", line 1195.64: 1506-1298 (W) The subscript 512
is out of range. The valid range is 0 to 511.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
$ 
$ exit

What is the S error about the Duplicate case label telling me? When I
look at the code it doesn't seem like it should be duplicate.

Apr_snprintf.c:
+499      u.tid = *tid;
  +500      switch(sizeof(u.tid)) {
  +501      case sizeof(apr_int32_t):
  +502          return conv_10(u.u32, TRUE, &is_negative, buf_end, len);
  +503      case sizeof(apr_int64_t):
  +504          return conv_10_quad(u.u64, TRUE, &is_negative, buf_end,
len);
  +505      default:
  +506          /* not implemented; stick 0 in the buffer */
  +507          return conv_10(0, TRUE, &is_negative, buf_end, len);
  +508      }

Are apr_int32_t and apr_int64_t set to the same value?

And help would be great ! ! !

Todd

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to