#24042 [Opn->Bgs]: pfpro support compile fails, reports incorrect pfpro version

From: Date: Fri, 06 Jun 2003 07:15:19 +0000
Subject: #24042 [Opn->Bgs]: pfpro support compile fails, reports incorrect pfpro version
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-41318@lists.php.net to get a copy of this message
ID: 24042 Updated by: sniper@php.net Reported By: age at salsashark dot net -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: RedHat Linux 9 PHP Version: 4.3.2 New Comment: The pfpro libs are not compatible with RH9. (different glibc) (and you should use --with-pfpro=shared,/usr/local too) Not PHP bug. Previous Comments: ------------------------------------------------------------------------ [2003-06-05 10:56:10] age at salsashark dot net 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 this bug report at http://bugs.php.net/?id=24042&edit=1

« previous php.bugs (#41318) next »