#19105 [Opn->Bgs]: make fails with unixODBC support
| From: | sniper@php.net | Date: | Mon, 26 Aug 2002 15:14:25 +0000 |
| Subject: | #19105 [Opn->Bgs]: make fails with unixODBC support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17862@lists.php.net to get a copy of this message | ||
ID: 19105
Updated by: sniper@php.net
Reported By: michiel@veltwerk.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: suse8.0
PHP Version: 4.2.2
New Comment:
4.2.1 -> 4.2.2 had ONLY one fix (the security exploit fixed) and didn't
have any other changes. Check your sources..it's most likely something
you're doing wrong/something wrong in your build environment.
Previous Comments:
------------------------------------------------------------------------
[2002-08-26 09:14:33] michiel@veltwerk.com
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.
------------------------------------------------------------------------
[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