#33381 [NEW]: pgsql.c is missing an include line
| From: | david dot tulloh at infaze dot com dot au | Date: | Fri, 17 Jun 2005 03:34:43 +0000 |
| Subject: | #33381 [NEW]: pgsql.c is missing an include line | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-80504@lists.php.net to get a copy of this message | ||
From: david dot tulloh at infaze dot com dot au
Operating system: linux
PHP version: 5CVS-2005-06-17 (dev)
PHP Bug Type: Compile Failure
Bug description: pgsql.c is missing an include line
Description:
------------
Compiling php5-200506170030 with pgsql gave the following errors during
linking:
ext/pgsql/.libs/pgsql.o(.text+0xcb5): In function `zm_deactivate_pgsql':
/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:563: undefined
reference to `executor_globals'
ext/pgsql/.libs/pgsql.o(.text+0x1035): In function
`php_pgsql_do_connect':
/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:778: undefined
reference to `executor_globals'
ext/pgsql/.libs/pgsql.o(.text+0x11dd):/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:757:
undefined reference to `executor_globals'
ext/pgsql/.libs/pgsql.o(.text+0x1240):/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:752:
undefined reference to `executor_globals'
ext/pgsql/.libs/pgsql.o(.text+0x1293):/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:651:
undefined reference to `executor_globals'
ext/pgsql/.libs/pgsql.o(.text+0x13cb):/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:712:
more undefined references to `executor_globals' follow
ext/pgsql/.libs/pgsql.o(.text+0x456e): In function
`php_pgsql_fetch_hash':
/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:1956: undefined
reference to `core_globals'
ext/pgsql/.libs/pgsql.o(.text+0x6402): In function `zif_pg_lo_import':
/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:2761: undefined
reference to `core_globals'
ext/pgsql/.libs/pgsql.o(.text+0x66e6): In function `zif_pg_lo_export':
/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:2859: undefined
reference to `core_globals'
ext/pgsql/.libs/pgsql.o(.text+0xd57e): In function
`php_pgsql_result2array':
/home/lod/Downloads/php5-200506170030/ext/pgsql/pgsql.c:5532: undefined
reference to `core_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
adding the line:
#include "Zend/zend_exceptions.h"
fixed the problem.
--
Edit bug report at http://bugs.php.net/?id=33381&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33381&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33381&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33381&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33381&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33381&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33381&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33381&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33381&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33381&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33381&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33381&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33381&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33381&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33381&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33381&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33381&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33381&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33381&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33381&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33381&r=mysqlcfg