PHP 4.0 Bug #7356: ext/mysql/php_mysql.c compiles into .o which does not define mysql_module_entry
| From: | jl at carnegietech dot org | Date: | Thu, 19 Oct 2000 23:02:01 +0000 |
| Subject: | PHP 4.0 Bug #7356: ext/mysql/php_mysql.c compiles into .o which does not define mysql_module_entry | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35582@lists.php.net to get a copy of this message | ||
From: jl@carnegietech.org
Operating system: Linux (RH 6.2)
PHP version: 4.0.3pl1
PHP Bug Type: Compile Failure
Bug description: ext/mysql/php_mysql.c compiles into .o which does not define mysql_module_entry
When compiling --with-mysql=/usr (mysql installed
from powertools RPMs into /usr/*) final libphp4.so
fails to load into Apache because mysql_module_entry
is not defined (neither is it defined in php_mysql.o
as far as I can tell).
Compiling php_mysql.c with -E shows that mysql_module_entry
ends up defined as an extern even though it is clearly
declared and initialized otherwise in the source file.
I haven't chased this one any further yet.
Thank you
--
Edit Bug report at: http://bugs.php.net/?id=7356&edit=1