From owner-freebsd-questions Sat Feb 26 10:21:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.elender.hu (bendeguz.elender.hu [212.108.200.75]) by hub.freebsd.org (Postfix) with ESMTP id 0EAF137BE55 for ; Sat, 26 Feb 2000 10:21:23 -0800 (PST) (envelope-from nthomas@mail.elender.hu) Received: from mail.elender.hu (d17-5201-bp.elender.hu [194.143.233.17] (may be forged)) by mail.elender.hu (8.9.3/8.9.1) with ESMTP id TAA28350 for ; Sat, 26 Feb 2000 19:20:19 +0100 (MET) Message-ID: <38B81A3C.485B4886@mail.elender.hu> Date: Sat, 26 Feb 2000 19:23:56 +0100 From: Thomas Nagy X-Mailer: Mozilla 4.71 [en] (Win98; I) X-Accept-Language: hu,en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: apache-php4-mod_ssl port strange error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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