Apache 1.3.1 / 1.3.3 /NextStep / compile error

Apache 1.3.1 / 1.3.3 /NextStep / compile error

Post by Mark Kirb » Sat, 31 Oct 1998 04:00:00



http_main.c: In function `ap_unregister_other_child':
http_main.c:1447: incompatible type for argument 3 of indirect function call
http_main.c: In function `probe_writable_fds':
http_main.c:1503: incompatible type for argument 3 of indirect function call
http_main.c: In function `reclaim_child_processes':
http_main.c:2246: incompatible type for argument 3 of indirect function call
http_main.c:2249: incompatible type for argument 3 of indirect function call
http_main.c:2255: incompatible type for argument 3 of indirect function call
*** Exit 1
Stop.
*** Exit 1
Stop.

indirect call has prototype:

void (*maintenance) (int reason, void *, ap_wait_t status)

in Apache 1.26 argument 3 was

#ifndef ap_wait_t
#define ap_wait_t int
#endif

in Ver 1.31 it changed:
#define ap_wait_t union wait

and the Next 3.2 compiler (NeXT Computer, Inc. version cc-216.obj~13, gcc
version 2.2.2 ) does not like this definition.   Nor will it compile if the
definition is returned to the V1.26 status:

http_main.c: In function `process_child_status':
http_main.c:4124: request for member `w_S' in something not a structure or
union
http_main.c:4124: request for member `w_T' in something not a structure or
union
http_main.c:4125: request for member `w_S' in something not a structure or
union
http_main.c:4125: request for member `w_T' in something not a structure or
union
http_main.c:4125: request for member `w_T' in something not a structure or
union
http_main.c:4132: request for member `w_S' in something not a structure or
union
http_main.c:4132: request for member `w_T' in something not a structure or
union
http_main.c:4133: request for member `w_T' in something not a structure or
union
http_main.c:4156: request for member `w_T' in something not a structure or
union
http_main.c:4156: request for member `w_T' in something not a structure or
union

Has anyone managed to resolve this?
thanx,mark

 
 
 

1. Compiling Apache 0.8.13 under NEXTSTEP

Has anyone successfully done this? I have had no problem with
the other 0.8 versions, but for 0.8.13, I get the following errors:

cc -c -O2 -DNEXT http_config.c
http_config.c: In function `init_virtual_host':
http_config.c:632: `RLIMIT_NOFILE' undeclared (first use this function)
http_config.c:632: (Each undeclared identifier is reported only once
http_config.c:632: for each function it appears in.)
*** Exit 1

Any suggestions would be appreciated.


Division of Biostatistics                
University of California, San Francisco

2. Toshiba2595CDS/Trident 9525DVD and XFree86 3.3.5

3. mount NeXTSTEP filesys under Linux / boot NeXTSTEP with LILO?

4. assigning a file path in the shell for a SAS batch program

5. problems compiling ncsa httpd under nextstep

6. pppd: address pair conflict

7. HELP: Apache 1.0.3 on NeXTSTEP does not like POST

8. Apache 1.2 creeping death problem (NEXTSTEP 3.x, HP 712)

9. Apache 1.3.0 compilation failure, NEXTSTEP 3.3p1

10. Apache SSL on NeXTSTEP

11. Apache 1.3.4 on NeXTSTEP

12. apache 1.1.3 on NEXTSTEP/ Intel, Motorola