RE: PHP with MaxDB extension

[email protected]
Newsgroups gmane.comp.db.maxdb
Message-ID <[email protected]>
Hi,

System: Solaris 9 Sparc 64 Bit
MaxDB Version: 7.6.00.34
PHP Version: 5.0.4

I downloaded the latest php_maxdb.c and php_maxdb.h files.

SQLDBC is installed.
./sdbuninst -list
...
SQLDBC              /opt/sdb/programs        7.6.00.34     64 bit    valid
...


But I got the following error by configuring php:
________________________________________________________________________
/bin/bash /export/home/install/php-5.0.4/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/maxdb/ -I/export/home/install/php-5.0.4/ext/maxdb/ -DPHP_ATOM_INC -I/export/home/install/php-5.0.4/include -I/export/home/install/php-5.0.4/main -I/export/home/install/php-5.0.4 -I/usr/local/include/libxml2 -I/opt/sdb/programs/sdk/sqldbc/incl -I/opt/mysql/include -I/export/home/install/php-5.0.4/TSRM -I/export/home/install/php-5.0.4/Zend  -m64 -D_POSIX_PTHREAD_SEMANTICS  -m64   -c /export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c -o ext/maxdb/php_maxdb.lo
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c: In function `maxdb_link_affected_rows_read':
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c:257: warning: comparison is always true due to limited range of data type
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c: In function `maxdb_link_client_version_read':
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c:259: warning: comparison is always true due to limited range of data type
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c: In function 
...
...
...
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c:284: warning: comparison is always true due to limited range of data type
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c: In function `maxdb_stmt_errno_read':
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c:285: warning: comparison is always true due to limited range of data type
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c: In function `maxdb_objects_new':
/export/home/install/php-5.0.4/ext/maxdb/php_maxdb.c:2073: error: structure has no member named `guards'
make: *** [ext/maxdb/php_maxdb.lo] Error 1
__________________________________________________________________________

Any idea?

Regards,
Spiker
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.