#14269 [Com]: doesn't compile, reporting: mod_mm.c:35: #error mm is not thread-safe
| From: | michael at cannonbose dot com | Date: | Thu, 07 Oct 2004 20:28:08 +0000 |
| Subject: | #14269 [Com]: doesn't compile, reporting: mod_mm.c:35: #error mm is not thread-safe | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67255@lists.php.net to get a copy of this message | ||
ID: 14269
Comment by: michael at cannonbose dot com
Reported By: d dot a dot roozemond at student dot tue dot nl
Status: Closed
Bug Type: Feature/Change Request
Operating System: SuSE linux 7.2 kernel 2.4.4
PHP Version: 4.0CVS-2001-11-28
New Comment:
Removing --with-mm is my thought as I have similar error.
http://us2.php.net/session
Previous Comments:
------------------------------------------------------------------------
[2004-09-08 18:29:24] danny_milo at yahoo dot com
well, given that when a user gets this error message, he doesnt know
what to do to make it go away, it would be better to either
- #warning and #if 0 the module so that it will just be skipped, or
- add a comment what configure option / chants / prayers to use to make
the #error go away if one happens to have apache2
since this error does happen quite often and easily on gentoo (with php
5), for example.
just my 5 cents :)
Thanks
------------------------------------------------------------------------
[2003-02-06 15:02:43] jsu2 at emory dot edu
Okay, I was able to figured out how to get PHP to use java classes. I
was able
to get rpm to build all the packages. Now, I'm trying to enable
servlets.
The only difference is I've added --with-servlet to the list of
arguments to
pass to the configure script. I get the following compile error, that
wasn't
present when it was just --with-java.
make[3]: Entering directory
`/usr/src/redhat/BUILD/php-4.1.2/ext/session'
/bin/sh /usr/src/redhat/BUILD/php-4.1.2/libtool --silent --mode=compile
/usr/src/redhat/BUILD/php-4.1.2/meta_ccld -I.
-I/usr/src/redhat/BUILD/php-4.1.2/ext/session
-I/usr/src/redhat/BUILD/php-4.1.2/main
-I/usr/src/redhat/BUILD/php-4.1.2
-I/usr/src/redhat/BUILD/php-4.1.2/Zend -I/usr/include/libxml2
-I/usr/include/freetype2/freetype -I/usr/include/imap
-I/usr/include/mysql
-I/usr/local/include -I/usr/include/pspell -I/usr/include/ucd-snmp
-D_REENTRANT -I/usr/src/redhat/BUILD/php-4.1.2/TSRM -O2 -march=i386
-mcpu=i686 -fPIC -pthread -DZTS -prefer-pic -c mod_mm.c
mod_mm.c:37:3: #error mm is not thread-safe
make[3]: *** [mod_mm.lo] Error 1
------------------------------------------------------------------------
[2001-11-28 13:38:28] d dot a dot roozemond at student dot tue dot nl
Sorry, didn't realise that.
Thanx anyway.
------------------------------------------------------------------------
[2001-11-28 12:47:10] derick@php.net
Not a bug, the MM module can't be used in a threading webserver,
including Apache 2.
I'm closing this.
Derick
------------------------------------------------------------------------
[2001-11-28 12:07:47] d dot a dot roozemond at student dot tue dot nl
well, actually, the problem is quite easy: it won't compile
i can't figure out why the problem occurs and how to fix it ;)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14269
--
Edit this bug report at http://bugs.php.net/?id=14269&edit=1