php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16481 recode doesn't compile with apache 2.0
Submitted: 2002-04-07 20:00 UTC Modified: 2002-04-24 09:53 UTC
From: misiek at pld dot org dot pl Assigned:
Status: Closed Package: Recode related
PHP Version: 4.1.2 OS: PLD Linux / glibc 2.2.5 / gcc3.1
Private report: No CVE-ID: None
 [2002-04-07 20:00 UTC] misiek at pld dot org dot pl
While trying to compile php 4.1.2 with apache 2.0.35
make[1]: Wchodz? w katalog `/home/users/misiek/rpm/BUILD/php-4.1.2/ext/recode'
/bin/sh /home/users/misiek/rpm/BUILD/php-4.1.2/libtool --silent --mode=compile i686-pld-linux-gcc -I. -I/home/users/misiek/rpm/BUILD/php-4.1.2/ext/recode -I/home/users/misiek/rpm/BUILD/php-4.1.2/main -I/home/users/misiek/rpm/BUILD/php-4.1.2 -I/usr/include/apache -I/home/users/misiek/rpm/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/ucd-snmp  -D_REENTRANT -I/home/users/misiek/rpm/BUILD/php-4.1.2/TSRM -O2 -march=athlon -DEAPI -I/usr/X11R6/include -pthread -DZTS -prefer-pic  -c recode.c && touch recode.slo
In file included from recode.c:28:
php_recode.h:35:2: 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.slo] B??d 1
make[1]: Opuszczam katalog `/home/users/misiek/rpm/BUILD/php-4.1.2/ext/recode'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-07 20:50 UTC] sniper@php.net
reclassified.

 [2002-04-08 06:20 UTC] sander@php.net
PHP 4.1.2 doesn't work with Apache 2.
Can you try 4.2.0 RC3 from www.php.net/~derick when it's out (scheduled for 2002-04-12)?
 [2002-04-13 04:48 UTC] misiek at pld dot org dot pl
recode still doesn't compile in rc3. Everything else (beside recode and mm) compiles fine. Loaded main php modules to test if it works - crashes, detailed info in another bugreport.
 [2002-04-24 09:53 UTC] sniper@php.net
Recode in CVS (HEAD) compiles and works fine with Apache2 now. There are some things to know though:
- If you compile mysql extension with external libraries, it will segfault with recode
- It will segfault with imap extension.

(both problems are due some symbol clashes)

This should be fixed in recode libary..just prefixing all the hash_ functions with something.

--Jani

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 26 09:01:25 2019 UTC