Gustavo Zacarias has provided the fixes to the .c files which errored during
compilation. After editing in his recommendations, I compiled without a
hitch. Apparently, others have installed the httpd in spite of the errors
and are running without problems.
Thanks for responding:
"Gustavo Zacarias" <gustavo_at_movi.com.ar>
Steve Caine <shc_at_cfg.com>
Alan Cox <coxa_at_cableol.net>
Michael Boer <boerm_at_u.washington.edu>
The fixes:
> I get two errors when compiling the apache web server 1.1.1
(under DU 3.2c)
> Would anyone tell me how to correct, or donate the Makefile? Thanks.
>
> First error
> cc -c -O2 -DOSF1 buff.c
> /usr/lib/cmplrs/cc/cfe: Warning: buff.c, line 363: Incompatible pointer type
> assignment
> x = memchr(fb->inptr, '\012', fb->incnt);
> --^
Change it to "x = (unsigned char *)memchr(fb->inptr, '\012\, fb->incnt);".
> Second error
> cc -c -O2 -DOSF1 http_bprintf.c
> /usr/lib/cmplrs/cc/cfe: Warning: http_bprintf.c, line 88: Long double not
> supported; double assumed.
> long double lDoubleArg = 0.0;
> ----^
In the same file, look for a '#define LONG_DOUBLE long double" and change
it to "#define LONG_DOUBLE double".
That should do. I'm using the same release with this modifications on DU
3.2. I've already told the apache team of this fix, but they didn't seem to
post the fix :-( I've been using it this way for a long time (more than 1
month) and never got a problem or coredump.
Bye! Greets,
Gustavo
Received on Tue Oct 29 1996 - 20:08:22 NZDT