Bug #7614: functions/recode.c fails to compile as extension module

From: Date: Fri, 03 Nov 2000 09:52:20 +0000
Subject: Bug #7614: functions/recode.c fails to compile as extension module
Groups: php.dev 
Request: Send a blank email to php-dev+get-36930@lists.php.net to get a copy of this message
From: enrik@planb.de Operating system: Debian/GNU Linux 2.2 (potato) PHP version: 3.0.17 PHP Bug Type: Compile Failure Bug description: functions/recode.c fails to compile as extension module $(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

« previous php.dev (#36930) next »