Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 18:43:37 +0200
From:      flo <flo@nigsch.com>
To:        William Blair Wagner <blairw@icarz.com>, freebsd-questions@freebsd.org
Subject:   Re: apache13-modssl dies on alloc.c
Message-ID:  <20020812164336.GA51176@nigsch.com>
In-Reply-To: <3D53E54E.6010903@icarz.com>
References:  <20020809151347.GA27569@nigsch.com> <3D53E54E.6010903@icarz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <flo@nigsch.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020812164336.GA51176>