php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24965 Compilation error when enabling sybase
Submitted: 2003-08-06 09:32 UTC Modified: 2003-08-06 10:38 UTC
From: ludovic dot noel at sgcib dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.3RC2 OS: Linux RH AS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ludovic dot noel at sgcib dot com
New email:
PHP Version: OS:

 

 [2003-08-06 09:32 UTC] ludovic dot noel at sgcib dot com
Description:
------------
The same system with the same build line with PHP4.3.2 work with no errors.

configure line :
 ./configure --prefix=/usr/local/sas/php-4.3.3RC2 --enable-dbx --enable-dio --enable-exif --enable-ftp --enable-gd-native-tt --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-tokenizer --enable-track-vars --enable-trans-sid --enable-wddx --enable-xml --enable-yp --enable-calendar --enable-sockets --with-gd="/usr/local" --with-zlib --with-t1lib="/usr/local" --with-jpeg-dir="/usr/local" --with-png-dir="/usr/local" --with-zlib-dir="/usr/local" --with-ttf --with-freetype-dir="/usr/local" --with-sybase="/usr/local/sybase" --with-oracle="/usr/local/oracle/8.1.7" --with-apxs2=/usr/local/apache/bin/apxs >./resultat_compilation.txt

Compilation Error :
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `php_sybase_do_connect':
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:395: request for member `value' in something not a structure or union
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `zif_sybase_select_db':
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:657: invalid type argument of `unary *'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `zif_sybase_free_result':
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:954: parse error before `if'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c: At top level:
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:955: parse error before `return'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:957: `sybase_result_index' undeclared here (not in a function)
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:957: `type' undeclared here (not in a function)
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:957: warning: initialization makes integer from pointer without a cast
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:957: initializer element is not constant
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:957: warning: data definition has no type or storage class
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:959: parse error before `if'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:961: parse error before `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:963: parse error before `('
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:964: parse error before `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `zif_sybase_result':
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1326: request for member `value' in something not a structure or union
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c: In function `zif_sybase_affected_rows':
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: invalid type argument of `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: invalid type argument of `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: incompatible types in initialization
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: incompatible types in assignment
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: invalid type argument of `unary *'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: incompatible type for argument 1 of `_zval_copy_ctor'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: invalid type argument of `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: invalid type argument of `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1370: incompatible type for argument 1 of `convert_to_long'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:1371: invalid type argument of `unary *'
make: *** [ext/sybase/php_sybase_db.lo] Error 1



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-06 09:35 UTC] sniper@php.net
Try search the bug database BEFORE submitting reports, this is already fixed in CVS.

 [2003-08-06 10:35 UTC] ludovic dot noel at sgcib dot com
I had searched, (not very accurate this time :)
latest version works fine.

Thx
 [2003-08-06 10:38 UTC] sniper@php.net
Leave the status alone..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 02:01:33 2025 UTC