httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p.@sweng.stortek.com
Subject Re: [PATCH] OS/390 vs. CGI
Date Wed, 24 Nov 1999 23:21:42 GMT
In a recent note, Martin Kraemer said:

> Date: Wed, 24 Nov 1999 22:56:37 +0100
> 
> Look for the #define NEED_HASHBANG_EMUL in ap_config.h! It improves (what
> 
(And I should have apologized for failing to RTFM src/PORTING thoroughly.)

Alas, when I try this, I get:

gmake[4]: Entering directory `/pub/unsup/src/apache/apache_1.3.9/src.i370-ibm-os390v01r02.00/ap'
_C89_CCMODE=1 c89 -c  -I../os/unix -I../include   -DCHARSET_EBCDIC -DOS390 -D_XOPEN_SOURCE_EXTENDED=1
-D_ALL_SOURCE -DNO_DLOPEN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite `../apaci` ap_execve.c
ERROR CBC3068 ./ap_execve.c:136   Operation between types "char*" and "const char*" is not
allowed.
ERROR CBC3280 ./ap_execve.c:143   Function argument assignment between types "const char**"
and "char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:143   Function argument assignment between types "const char**"
and "char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:177   Function argument assignment between types "char* const*"
and "const char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:177   Function argument assignment between types "char* const*"
and "const char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:204   Function argument assignment between types "char**" and
"const char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:214   Function argument assignment between types "char* const*"
and "const char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:214   Function argument assignment between types "char* const*"
and "const char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:239   Function argument assignment between types "char* const*"
and "const char**" is not allowed.
ERROR CBC3280 ./ap_execve.c:239   Function argument assignment between types "char* const*"
and "const char**" is not allowed.
ERROR CBC3068 ./ap_execve.c:350   Operation between types "const char**" and "char**" is not
allowed.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile ap_execve.c. Correct the errors and try again.
gmake[4]: *** [ap_execve.o] Error 3

As I mentioned before, OS/390's c89 really, really cares.

FWIW, I see:

SPPG@MVS3:187$ 
SPPG@MVS3:187$ grep execve `find /usr/include`
/usr/include/unistd.h:           int   execve(const char *, char *const [], char * const []);

... but when I start changing declarators, ever more things break.

Thanks,
gil
-- 
StorageTek
INFORMATION made POWERFUL

Mime
View raw message