#19105 [Opn]: make fails with unixODBC support
| From: | michiel at veltwerk dot com | Date: | Mon, 26 Aug 2002 13:14:33 +0000 |
| Subject: | #19105 [Opn]: make fails with unixODBC support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17848@lists.php.net to get a copy of this message | ||
ID: 19105
User updated by: michiel@veltwerk.com
Reported By: michiel@veltwerk.com
Status: Open
Bug Type: Compile Failure
Operating System: suse8.0
PHP Version: 4.2.2
New Comment:
I tried installing with unixODBC-2.2.3 from source instead of the RPM
version that came with suse8.0 and that didn't work either.
Tried the same thing with php 4.2.1 and that seems to work just fine.
Previous Comments:
------------------------------------------------------------------------
[2002-08-26 08:06:06] michiel@veltwerk.com
the ./configure works fine
I used the --with-apxs --with-unixODBC
unixODBC is installed (in /usr/lib) and works fine.
when I start make I get the following error:
internal_functions.c:48: `phpext_odbc_ptr' undeclared here
(not in a function)
here's the result of the makefile
...
...
...
| about the implications of having register_globals set to
on, and |
| avoid using it if possible.
|
+--------------------------------------------------------------------+
Thank you for using PHP.
kleinelap01:/usr/src/php-4.2.2 # make
Making all in Zend
make[1]: Entering directory `/usr/src/php-4.2.2/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/php-4.2.2/Zend'
Making all in main
make[1]: Entering directory `/usr/src/php-4.2.2/main'
make[2]: Entering directory `/usr/src/php-4.2.2/main'
/bin/sh /usr/src/php-4.2.2/libtool --silent --mode=compile
gcc -I. -I/usr/src/php-4.2.2/main
-I/usr/src/php-4.2.2/main -I/usr/src/php-4.2.2
-I/var/www/include -I/usr/src/php-4.2.2/Zend
-I/usr/src/php-4.2.2/ext/mysql/libmysql -I/usr/lib/include
-I/usr/src/php-4.2.2/ext/xml/expat -DLINUX=22
-DUSE_HSREGEX -I/usr/src/php-4.2.2/TSRM
-I/usr/src/unixODBC-2.2.3/include -prefer-pic -c
internal_functions.c
internal_functions.c:48: `phpext_odbc_ptr' undeclared here
(not in a function)
internal_functions.c:48: initializer element is not
constant
internal_functions.c:48: (near initialization for
`php_builtin_extensions[5]')
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.2/main'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19105&edit=1