You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "McLaughlin, Brent" <br...@hp.com> on 2005/06/07 05:05:35 UTC

[users@httpd] Encountering compile problems installing version 2.0.54 on HP-UX

Hello,
	I am attempting to get the latest version of Apache installed
under HP-UX.  I have followed the instructions and all was well until
the make.  During the make a compile problem is being reported.  

Is anyone else encountering a compile problem in HP-UX environments for
the latest apache release version 2.0.54?

The compilation is complaining about the header file apr_errno.h during
the building of the strings in header file apr_cpystrn.h.  The
apr_errno.h is included in the apr_lib.h which is included in the
apr_cpystrn.h program.  The specific errors are noted in the Make
session information.

At first I thought this could be caused by the compiler commands but I
issued a simple compile to see if the same error is returned and it is,
included at the end of this thread.  I also included the line that the
error is occurring on.

Any and all help is appreciated.

Brent



Configuration:

  $ ./configure --prefix=/usr/edi01/apache2s -n --disable-cgid
--disable-charset-lite --enable-auth-dbm --enable-auth-ldap
--enable-cache --enable-headers --enable-ldap --enable-logio --enable-so
--enable-ssl --enable-unique-id --enable-vhost-alias


Make session:

Making all in srclib
Making all in apr
Making all in strings
        /bin/sh /usr/edi01/httpd-2.0.54/srclib/apr/libtool --silent
--mode=compile cc -g -Ae +Z +DAportable   -DHAVE_CONFIG_H -DHPUX11
-D_REENTRANT -D_XOPEN_SOURCE_EXTENDED   -I../include
-I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: "../include/apr_errno.h", line 52: error 1000: Unexpected
symbol: "statcode".
(Bundled) cc: "../include/apr_errno.h", line 53: error 1000: Unexpected
symbol: "apr_size_t".
(Bundled) cc: "../include/apr_errno.h", line 52: error 1705: Function
prototypes are an ANSI feature.
(Bundled) cc: "../include/apr_errno.h", line 52: error 1677: Parameter
type has an invalid storage class specifier "static".
(Bundled) cc: "../include/apr_errno.h", line 53: error 1573: Type of
"bufsize" is undefined due to an illegal declaration.
(Bundled) cc: "../include/apr_general.h", line 179: error 1000:
Unexpected symbol: "apr_initialize".
(Bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Simple compile attempt:

compile cc -I../include -I../include/arch/unix  -c apr_cpystrn.c &&
touch apr_cpystrn.lo

Line in apr_errno.h that the complaint is against.

Line 52 in apr_errno.h APR_DECLARE(char *) apr_strerror(apr_status_t
statcode, char *buf, apr_size_t bufsize);

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org