httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: PerChild Errors on Solaris (CVS head)
Date Mon, 11 Feb 2002 16:01:29 GMT

Perchild was written on Linux, and hasn't really been ported to other
platforms yet. However, Aaron Bannert is working on abstracting out the
file descriptor passing mechanism, which will let Perchild work on more
platforms.

Ryan

----------------------------------------------
Ryan Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: Pier Fumagalli [mailto:pier@betaversion.org]
> Sent: Monday, February 11, 2002 7:40 AM
> To: dev@httpd.apache.org
> Subject: PerChild Errors on Solaris (CVS head)
> 
> /bin/sh /root/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc
-g
> -O2 -pthreads    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DAP_HAVE_DESIGNATED_INITIALIZER   -I. -I/root/httpd-2.0/os/unix
> -I/root/httpd-2.0/server/mpm/perchild -I/root/httpd-2.0/modules/http
> -I/root/httpd-2.0/modules/proxy -I/root/httpd-2.0/include
> -I/root/httpd-2.0/srclib/apr/include
> -I/root/httpd-2.0/srclib/apr-util/include -I/root/httpd-
> 2.0/modules/dav/main
> -I/root/httpd-2.0/srclib/apr-util/include
> -I/root/httpd-2.0/srclib/apr-util/xml/expat/lib -prefer-non-pic
-static -c
> perchild.c && touch perchild.lo
> 
> perchild.c: In function `worker_thread':
> perchild.c:813: structure has no member named `msg_control'
> perchild.c:814: structure has no member named `msg_controllen'
> perchild.c:815: structure has no member named `msg_flags'
> perchild.c:819: warning: passing arg 2 of `memcpy' makes pointer from
> integer without a cast
> perchild.c: In function `perchild_open_logs':
> perchild.c:1436: `num_listensocks' undeclared (first use in this
function)
> perchild.c:1436: (Each undeclared identifier is reported only once
> perchild.c:1436: for each function it appears in.)
> perchild.c:1444: `pod' undeclared (first use in this function)
> perchild.c: In function `pass_request':
> perchild.c:1571: warning: passing arg 1 of `memcpy' makes pointer from
> integer without a cast
> perchild.c:1573: structure has no member named `msg_control'
> perchild.c:1574: structure has no member named `msg_controllen'
> perchild.c:1575: structure has no member named `msg_flags'
> 
> Heh, msg_control.... Are defined in sys/socket.h, but they are
ifdeffed on
> _XPG4_2, and that doesn't come out right in out configure...
> 
> Setting it manually (actually thru _OPEN_SOURCE ..., see
> /usr/include/sys/feature_tests.h) or any combination will make the
rest of
> the compilation fail (even the same perchild.c if I define those only
> there).
> 
> Now, I believe that it would be safe to replace msg_control and
> msg_controllen with msg_accrights and msg_accrightslen, but then we
have
> to
> stip out the "msg_flags"... And I believe it's not _that_ portable
> around...
> 
> So, I'm stuck (darrrrn!) Oh well, life's fun (got a new Mac!)
> 
>     Pier



Mime
View raw message