From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321868.tru64-unix-managers.marc@archive.invalid> From: carole () callutheran ! edu (Carole Thompson) Date: Tue, 29 Oct 1996 17:24:37 +0000 To: tru64-unix-managers Subject: [S] apache server compilation errors X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321868 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" Steve Caine Alan Cox Michael Boer 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