You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Uri Doron <ur...@mainsoft.com> on 2002/03/06 16:54:41 UTC

Solaris compilation problem of Apache 2.0.32 in MPM=perchild

Hi,
the compilation occurs because XPG4_2 is not defined, causing different
version of msghdr structure (sys/socket.h) to be taken:


1. ./configure --prefix=/usr/apache2.0 --with-mpm=perchild
2. make
...

/bin/sh
/il2/users/uri/Apache_2.0.32/httpd-2.0.32/srclib/apr/libtool --silent --mode
=compile
 -g -mt    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT    -I. -I/il
2/users/uri/Apache_2.0.32/httpd-2.0.32/os/unix -I/il2/users/uri/Apache_2.0.3
2/httpd-2.0.32/server/mpm/perchild -I/il2/users/uri/Apache_2.0.32/httpd-2.0.
32/modules/http -I/il2/users/uri/Apache_2.0.32/httpd-2.0.32/modules/proxy -I
/il2/users/uri/Apache_2.0.32/httpd-2.0.32/include -I/il2/users/uri/Apache_2.
0.32/httpd-2.0.32/srclib/apr/include -I/il2/users/uri/Apache_2.0.32/httpd-2.
0.32/srclib/apr-util/include -I/il2/users/uri/Apache_2.0.32/httpd-2.0.32/mod
ules/dav/main -I/il2/users/uri/Apache_2.0.32/httpd-2.0.32/srclib/apr-util/in
clude -I/il2/users/uri/Apache_2.0.32/httpd-2.0.32/srclib/apr-util/xml/expat/
lib -prefer-non-pic -static -c perchild.c && touch perchild.lo
"perchild.c", line 813: undefined struct/union member: msg_control
"perchild.c", line 813: warning: improper pointer/integer combination: op
"="
"perchild.c", line 814: undefined struct/union member: msg_controllen
"perchild.c", line 815: undefined struct/union member: msg_flags
"perchild.c", line 819: warning: improper pointer/integer combination: arg
#2
...

Did anybody came across this problem?

Thanks,
Uri.





RE: Solaris compilation problem of Apache 2.0.32 in MPM=perchild

Posted by Joshua Slive <jo...@slive.ca>.
> From: Uri Doron [mailto:uri@mainsoft.com]

[Please post in plain text.]

As the documentation states, perchild does not currently work.  Don't bother
trying to use it.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org