From: age at salsashark dot net Operating system: RedHat Linux 9 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug description: pfpro support compile fails, reports incorrect pfpro version
PFpro libs are current, version 3.06. PHP compiled fine in RedHat 7.3. Same errors on another clean install of RH 9 with PHP 4.3.2 and 4.3.1. > ./configure --with-pfpro=shared,/usr/local/lib Fails, returns: configure: error: The pfpro extension requires version 2 or 3 of the SDK config.log: configure:61887: checking for pfproInit in -lpfpro configure:61906: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5 /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b' /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status configure: failed program was: #line 61895 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pfproInit(); int main() { pfproInit() ; return 0; } configure:61939: checking for PNInit in -lpfpro configure:61958: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5 /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b' /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status configure: failed program was: #line 61947 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PNInit(); int main() { PNInit() ; return 0; } -- Edit bug report at http://bugs.php.net/?id=24042&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24042&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24042&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24042&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24042&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24042&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24042&r=support Expected behavior: http://bugs.php.net/fix.php?id=24042&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24042&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24042&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24042&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24042&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24042&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24042&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24042&r=gnused