You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Valentino Pozzoli <vp...@matrix.it> on 2001/11/23 09:23:15 UTC

os-sunos/8845: Apache 2.0.28 beta does not compile under Solaris 8 (both Intel and Sparc) using perchild MPM

>Number:         8845
>Category:       os-sunos
>Synopsis:       Apache 2.0.28 beta does not compile under Solaris 8 (both Intel and Sparc) using perchild MPM
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Nov 23 00:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     vpozzoli@matrix.it
>Release:        2.0.28b
>Organization:
apache
>Environment:
SunOS maxsol8 5.8 Generic_108529-02 i86pc i386 i86pc
gcc 2.95.2

OR

SunOS ad-img-l1a 5.8 Generic_108528-11 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
gcc 2.95.3
>Description:
When compiling Apache 2.0.28 beta on Solaris 8 (both Sparc and Intel) with perchild
MPM, compilation halts with following errors:

-----

make[4]: Entering directory `/export/home/vpozzoli/httpd-2_0_28/server/mpm/perchild'
/bin/sh /export/home/vpozzoli/httpd-2_0_28/srclib/apr/libtool --silent --mode=compile gcc  -g -O2    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER   -I. -I/export/home/vpozzoli/httpd-2_0_28/os/unix -I/export/home/vpozzoli/httpd-2_0_28/server/mpm/perchild -I/export/home/vpozzoli/httpd-2_0_28/modules/http -I/export/home/vpozzoli/httpd-2_0_28/modules/proxy -I/export/home/vpozzoli/httpd-2_0_28/include -I/export/home/vpozzoli/httpd-2_0_28/srclib/apr/include -I/export/home/vpozzoli/httpd-2_0_28/srclib/apr-util/include -I/export/home/vpozzoli/httpd-2_0_28/modules/dav/main  -c perchild.c && touch perchild.lo
perchild.c: In function `worker_thread':
perchild.c:740: structure has no member named `msg_control'
perchild.c:741: structure has no member named `msg_controllen'
perchild.c:742: structure has no member named `msg_flags'
perchild.c:746: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
perchild.c: In function `server_main_loop':
perchild.c:1094: `apr_exit_why' undeclared (first use in this function)
perchild.c:1094: (Each undeclared identifier is reported only once
perchild.c:1094: for each function it appears in.)
perchild.c:1094: parse error before `exitwhy'
perchild.c:1100: `exitwhy' undeclared (first use in this function)
perchild.c: In function `pass_request':
perchild.c:1415: warning: passing arg 1 of `memcpy' makes pointer from integer without a cast
perchild.c:1417: structure has no member named `msg_control'
perchild.c:1418: structure has no member named `msg_controllen'
perchild.c:1419: structure has no member named `msg_flags'
make[4]: *** [perchild.lo] Error 1
make[4]: Leaving directory `/export/home/vpozzoli/httpd-2_0_28/server/mpm/perchild'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/vpozzoli/httpd-2_0_28/server/mpm/perchild'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/vpozzoli/httpd-2_0_28/server/mpm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/vpozzoli/httpd-2_0_28/server'
make: *** [all-recursive] Error 1

-----
>How-To-Repeat:
configure --with-mpm=perchild
make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]