#19105 [NEW]: make fails with unixODBC support
| From: | michiel at veltwerk dot com | Date: | Mon, 26 Aug 2002 12:06:07 +0000 |
| Subject: | #19105 [NEW]: make fails with unixODBC support | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17838@lists.php.net to get a copy of this message | ||
From: michiel@veltwerk.com
Operating system: suse8.0
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: make fails with unixODBC support
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 bug report at http://bugs.php.net/?id=19105&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19105&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19105&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19105&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19105&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19105&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19105&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19105&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19105&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19105&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19105&r=globals