Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2000 19:23:56 +0100
From:      Thomas Nagy <nthomas@elender.hu>
To:        freebsd-questions@freebsd.org
Subject:   apache-php4-mod_ssl port strange error
Message-ID:  <38B81A3C.485B4886@mail.elender.hu>

next in thread | raw e-mail | index | archive | help
Hi!

	I have a strange problem with the apache13-php4 port, when I want to
enable the mod_ssl module. I'm trying to compile it on a 3.4-STABLE box,
and get an error, which I think is related to the mm-1.0.12 package
required by the mod_ssl package.
The error message:

cc -c -I/usr/local/include -I../os/unix -I../include 
-DHARD_SERVER_LIMIT=512  -DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\"
-funsigned-char -DTARGET=\"apache\" -DMOD_SSL=205100
-I/usr/ports/www/apache13-php4/work/php-4.0b3
-I/usr/ports/www/apache13-php4/work/php-4.0b3/libzend
-I/usr/ports/www/apache13-php4/work/php-4.0b3/libzend
-I/usr/ports/www/apache13-php4/work/php-4.0b3 -DUSE_HSREGEX -DEAPI
-DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O -pipe `../apaci` alloc.c
alloc.c:145: parse error before `*'
alloc.c:145: warning: data definition has no type or storage class
alloc.c: In function `free_blocks':
alloc.c:323: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c:323: (Each undeclared identifier is reported only once
alloc.c:323: for each function it appears in.)
alloc.c: In function `make_sub_pool_internal':
alloc.c:502: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: In function `ap_init_alloc_shared':
alloc.c:625: `EAPI_MM_CORE_MAXSIZE' undeclared (first use this function)
alloc.c:630: warning: assignment makes pointer from integer without a
cast
alloc.c:632: warning: assignment makes pointer from integer without a
cast
alloc.c: In function `ap_clear_pool':
alloc.c:672: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: In function `ap_destroy_pool':
alloc.c:717: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: At top level:
alloc.c:748: parse error before `ap_pool_lock_mode'
alloc.c: In function `ap_acquire_pool':
alloc.c:751: `p' undeclared (first use this function)
alloc.c:753: `mode' undeclared (first use this function)
alloc.c:753: `AP_POOL_RD' undeclared (first use this function)
alloc.c:753: `AP_MM_LOCK_RD' undeclared (first use this function)
alloc.c:753: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: In function `ap_palloc':
alloc.c:938: `AP_MM_LOCK_RW' undeclared (first use this function)
alloc.c: In function `psprintf_flush':
alloc.c:1099: `AP_MM_LOCK_RW' undeclared (first use this function)
*** Error code 1

Stop.


What's so strange, is that I've compiled this very same port on a 3.1
and a 3.3 machine, without any glitches! Moreover, compilation is
successful even on 3.4, IF no previous version of Apache was installed!
Of course, I don't want to reinstall the whole system, so I removed the
apache package from the achine with the pkg_delete command. Then, I
could compile the port without mod_ssl, but still not with mod_ssl. Then
I removed the mm package, and installed it from the ports tree, ran a
test on it (make test), which was successful, Still, I got the same
error message. I've done make clean between retries, etc. I was using
Apache 1.3.11, PHP 4.0b3, mod_ssl 2.5.0, and this mm-1.0.12.

Please respond with ANY ideas, you are my only hope. I've posted this
question to -stable and -ports, but I got no reply. Nothing is in the
archives, either, and I exhausted all my ideas on the matter.
Thanks,
Thomas Nagy


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?38B81A3C.485B4886>