ID:               33381
 Updated by:       [EMAIL PROTECTED]
 Reported By:      david dot tulloh at infaze dot com dot au
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: linux
 PHP Version:      5CVS-2005-06-17 (dev)
 New Comment:

What was your ./configure line?


Previous Comments:
------------------------------------------------------------------------

[2005-06-17 05:34:42] david dot tulloh at infaze dot com dot au

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 this bug report at http://bugs.php.net/?id=33381&edit=1

Reply via email to