RE: [PHP] undefined symbol (PayFlow Pro)

From: Date: Fri, 02 Mar 2001 15:11:35 +0000
Subject: RE: [PHP] undefined symbol (PayFlow Pro)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42350@lists.php.net to get a copy of this message
When I try compile php I get the following error that is directly related to PNVersion: root@server5:/usr/local/phpApache/php-4.0.4pl1# make > make.out pfpro.c: In function `php_if_pfpro_version': pfpro.c:129: warning: initialization makes pointer from integer without a cast root@server5:/usr/local/phpApache/php-4.0.4pl1# The code in pfpro.c that is affected is: /* {{{ proto string pfpro_version() Returns the version of the Payflow Pro library */ PHP_FUNCTION(pfpro_version) { if (ZEND_NUM_ARGS() != 0) { WRONG_PARAM_COUNT; } RETURN_STRING(PNVersion(), 1); } Is it just a coincidence that this is bombing out as well as the undefined symbol... -Bob -----Original Message----- From: Robert Covell [mailto:rcovell@rolet.com] Sent: Friday, March 02, 2001 7:51 AM To: php-general@lists.php.net Subject: [PHP] undefined symbol (PayFlow Pro) Does anyone know how to fix the following problem? I have configured php with --with-pfpro=/usr/local and it does not complain about the header or the library. root@server5:/usr/local/apache/conf# ../bin/apachectl configtest Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf: Cannot load /usr/local/apache1317/libexec/libphp4.so into server: /usr/local/apa che1317/libexec/libphp4.so: undefined symbol: PNVersion root@server5:/usr/local/apache/conf# I have run into this before with other undefined symbols but have just reconfigured php to included the library. Any ideas? -Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#42350) next »