Greetings
I am attempting to compile apache 1.2.4 on a Solaris 2.5.1 system. I
have ran into some problems and am forced to assume that there are
some compatibility issure with the SUNpro C compiler. I have made
miniumal changer to Configuration. (Only added the "cc" compiler info.)
I also had to add a tyoedef to conf.c:
typedef int rlim_t;
I run into some "argument mismatch" errors on http_logs.c and
http_protocol.c and some syntax errors in the later. Heres the
errors for http_protocol.c:
# make
cc -c -Iregex -O2 -DSOLARIS2 http_protocol.c
"http_protocol.c", line 607: major: argument mismatch
"http_protocol.c", line 607: minor: argument mismatch
"http_protocol.c", line 650: major: argument mismatch
"http_protocol.c", line 650: minor: argument mismatch
"http_protocol.c", line 651: major: argument mismatch
"http_protocol.c", line 651: minor: argument mismatch
"http_protocol.c", line 1652: va_start: argument mismatch
"http_protocol.c", line 1668: va_start: argument mismatch
"http_protocol.c", line 607: syntax error before or at: int
"http_protocol.c", line 625: undefined symbol: len
"http_protocol.c", line 650: syntax error before or at: )
"http_protocol.c", line 651: syntax error before or at: )
"http_protocol.c", line 654: cannot recover from previous errors
*** Error code 10
Could someone tell me what changes need to be made for Apache to
compile with the SUNpro C compiler?