ID: 24965
Updated by: [email]sniperphp.net[/email]
Reported By: ludovic dot noel at sgcib dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux RH AS
PHP Version: 4.3.3RC2
New Comment:

Try search the bug database BEFORE submitting reports, this is already
fixed in CVS.



Previous Comments:
------------------------------------------------------------------------

[2003-08-06 09:32:33] 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: p 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: p 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: p error
before `if'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:961: p error
before `->'
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:963: p error
before `('
/usr/local/src/php-4.3.3RC2/ext/sybase/php_sybase_db.c:964: p 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




------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=24965&edit=1[/url]