php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7614 functions/recode.c fails to compile as extension module
Submitted: 2000-11-03 04:52 UTC Modified: 2000-11-20 16:59 UTC
From: enrik at planb dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.17 OS: Debian/GNU Linux 2.2 (potato)
Private report: No CVE-ID: None
 [2000-11-03 04:52 UTC] enrik at planb dot de
$(CC) -shared -fPIC -DCOMPILE_DL=1 -I.. -I. -I/usr/include/apache-1.3 -o recode.so ../functions/recode.c -lrecode -lc

produces an "empty" .so, because of the following typos:

diff -ru php3-3.0.18/functions/recode.c php3-3.0.18-dl_recode/functions/recode.c
--- php3-3.0.18/functions/recode.c      Sat Jan  1 05:31:16 2000
+++ php3-3.0.18-dl_recode/functions/recode.c    Fri Nov  3 10:29:00 2000
@@ -34,8 +34,9 @@
 #include "internal_functions.h"
 #include "php3_string.h"
 
-#if HAVE_RECODE
 #include "php3_recode.h"
+
+#if HAVE_RECODE
 #include "php3_list.h"
 
 #ifdef HAVE_BROKEN_RECODE
@@ -67,7 +68,7 @@
 };
 
 #ifdef COMPILE_DL
-DLEXPORT php3_module_entry *get_module(void) { return &recode__module_entry; }
+DLEXPORT php3_module_entry *get_module(void) { return &recode_module_entry; }
 #endif
 
 #if APACHE

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-20 16:59 UTC] hholzgra@php.net
fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 06:00:01 2026 UTC