From owner-freebsd-questions Mon Aug 12 9:43:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A008D37B400 for ; Mon, 12 Aug 2002 09:43:44 -0700 (PDT) Received: from net.nigsch.com (194-208-143-121.TELE.NET [194.208.143.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1349543E65 for ; Mon, 12 Aug 2002 09:43:43 -0700 (PDT) (envelope-from flo@nigsch.com) Received: from net.nigsch.com (flo@triton.nigsch.com. [192.168.2.1]) by net.nigsch.com (8.12.5/8.12.3) with ESMTP id g7CGhcfq051254; Mon, 12 Aug 2002 18:43:38 +0200 (CEST) (envelope-from flo@net.nigsch.com) Received: (from flo@localhost) by net.nigsch.com (8.12.5/8.12.3/Submit) id g7CGhb5F051253; Mon, 12 Aug 2002 18:43:37 +0200 (CEST) (envelope-from flo) Date: Mon, 12 Aug 2002 18:43:37 +0200 From: flo To: William Blair Wagner , freebsd-questions@freebsd.org Subject: Re: apache13-modssl dies on alloc.c Message-ID: <20020812164336.GA51176@nigsch.com> Mail-Followup-To: flo , William Blair Wagner , freebsd-questions@freebsd.org References: <20020809151347.GA27569@nigsch.com> <3D53E54E.6010903@icarz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D53E54E.6010903@icarz.com> User-Agent: Mutt/1.4i X-Fingerprint: 0B26 0FAE 92EF 5AB2 FB4D BFAB 141E 72A7 DFF7 8D6D X-Nospam: true Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! This is exactly what happens: ( I hope this puts some light on the subject.) net:~# cd /usr/ports/www/apache13-modssl/ net:/usr/ports/www/apache13-modssl# make ===> Building for apache+mod_ssl-1.3.26+2.8.10 ===> src ===> src/os/unix <=== src/os/unix ===> src/ap <=== src/ap ===> src/main cc -c -I/usr/local/include -I../os/unix -I../include -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION=\"/usr/local/www/data/\" -DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\" -DACCEPT_FILTER_NAME=\"httpready\" -funsigned-char -DMOD_SSL=208110 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O -pipe -march=pentiumpro `../apaci` alloc.c alloc.c:146: syntax error before `*' alloc.c:146: warning: data definition has no type or storage class alloc.c: In function `free_blocks': alloc.c:324: `AP_MM_LOCK_RW' undeclared (first use in this function) alloc.c:324: (Each undeclared identifier is reported only once alloc.c:324: for each function it appears in.) alloc.c: In function `make_sub_pool_internal': alloc.c:503: `AP_MM_LOCK_RW' undeclared (first use in this function) alloc.c: In function `ap_init_alloc_shared': alloc.c:626: `EAPI_MM_CORE_MAXSIZE' undeclared (first use in this function) alloc.c:631: warning: assignment makes pointer from integer without a cast alloc.c:633: warning: assignment makes pointer from integer without a cast alloc.c: In function `ap_clear_pool': alloc.c:679: `AP_MM_LOCK_RW' undeclared (first use in this function) alloc.c: In function `ap_destroy_pool': alloc.c:724: `AP_MM_LOCK_RW' undeclared (first use in this function) alloc.c: At top level: alloc.c:755: syntax error before `ap_pool_lock_mode' alloc.c: In function `ap_acquire_pool': alloc.c:758: `p' undeclared (first use in this function) alloc.c:760: `mode' undeclared (first use in this function) alloc.c:760: `AP_POOL_RD' undeclared (first use in this function) alloc.c:760: `AP_MM_LOCK_RD' undeclared (first use in this function) alloc.c:760: `AP_MM_LOCK_RW' undeclared (first use in this function) alloc.c: In function `ap_palloc': alloc.c:945: `AP_MM_LOCK_RW' undeclared (first use in this function) alloc.c: In function `psprintf_flush': alloc.c:1106: `AP_MM_LOCK_RW' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.26/src/main. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.26/src. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.26. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.26. *** Error code 1 Stop in /usr/ports/www/apache13-modssl. net:/usr/ports/www/apache13-modssl# -------- SNIP Apparently it isn't something with the free memory for the compiler. I tried to do something about the syntax errors, but I can't seem to work it out completely (I am not too good at programming C). Any ideas? Thanks to everyone, flo On Fri, Aug 09, 2002 at 11:52:46AM -0400, William Blair Wagner wrote: > Flo, > I just build apache13-mod_ssl last night, on my freebsd4.6-STABLE > system, and it went just fine. What's the "alloc" error? Perhaps its a > runtime error in the compiler or longer - rather than a compile/link > error. Maybe you're just running out of virtual memory allowed for your > process? > > flo wrote: > > >Hello everyone! > > > >I have a problem when building apache13-modssl from the > >ports-tree. I found that there was already a problem > >report but that was ago in 2000 which stated that the > >problem has been fixed. But still it doesn't work for me?! > >I have synced the ports-tree so this is problably not the > >problem and I also run 4.6-STABLE with the sources > >of about 1st of august. > > > >No matter how I try, when building the port it always > >fails on when it comes to alloc.c. > > > >Anyone got a solutions to this? > > > >And please CC anw answers to me! > > > >thanks a lot in advance for any comments on this, > > > >flo > > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > William Blair Wagner : Education is not always knowing the answer, > blairw@icarz.com : ...but rather knowing where to look for it! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ---end quoted text--- -- --- Florian Nigsch http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc ______________________________________________________________ This communication is only intended for the use of the individual, or entity, to which it is directed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If received in error: Please notify me immediately and delete the message without any use or further distribution of its contents. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message