Bug #18358: Recode doesn't compile with apache2

From: Date: Mon, 15 Jul 2002 16:22:53 +0000
Subject: Bug #18358: Recode doesn't compile with apache2
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14227@lists.php.net to get a copy of this message
From: marijn@suninet.nl Operating system: Linux PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: Recode doesn't compile with apache2 I was just trying to compile PHP 4.2.1 with --with-recode and I got the following error: make[1]: Entering directory `/root/install/php-4.2.1/ext/recode' /bin/sh /root/install/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/root/install/php-4.2.1/ext/recode -I/root/install/php-4.2.1/main -I/root/install/php-4.2.1 -I/usr/include/apache2 -I/root/install/php-4.2.1/Zend -I/root/install/php-4.2.1/ext/mysql/libmysql -I/root/install/php-4.2.1/ext/xml/expat -D_REENTRANT -I/root/install/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c recode.c In file included from recode.c:28: php_recode.h:35: warning: #warning Recode module has not been tested for thread-safety. recode.c: In function `zm_startup_recode': recode.c:79: `recode_globals_id' undeclared (first use in this function) recode.c:79: (Each undeclared identifier is reported only once recode.c:79: for each function it appears in.) recode.c: In function `zm_shutdown_recode': recode.c:89: `recode_globals_id' undeclared (first use in this function) recode.c: In function `zif_recode_string': recode.c:124: `recode_globals_id' undeclared (first use in this function) recode.c: In function `zif_recode_file': recode.c:189: `recode_globals_id' undeclared (first use in this function) make[1]: *** [recode.lo] Error 1 make[1]: Leaving directory `/root/install/php-4.2.1/ext/recode' make: *** [all-recursive] Error 1 While looking through the bug database I found somebody who had the same problem but with PHP 4.1.2. Here is the URL: http://bugs.php.net/bug.php?id=16481 -- Edit bug report at http://bugs.php.net/?id=18358&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18358&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18358&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18358&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18358&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18358&r=support Expected behavior: http://bugs.php.net/fix.php?id=18358&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18358&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18358&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18358&r=globals

« previous php.bugs (#14227) next »