php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24406 Failure on FreeTDS Portion
Submitted: 2003-06-30 08:44 UTC Modified: 2003-07-10 17:51 UTC
From: adam at cryptocomm dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0b1 (beta1) OS: Redhat 9
Private report: No CVE-ID: None
 [2003-06-30 08:44 UTC] adam at cryptocomm dot com
Description:
------------
Configuring with the "--with-sybase" compile flag pointing to the correct FreeTDS path causes a compile failure. The configure I am using is:

./configure --with-apxs=/usr/local/apache_1.3.27/bin/apxs
--with-sybase=/usr/local/freetds_0.61
--with-mysql=/usr/local/mysql_4.1.0
--disable-cli
--disable-ctype
--disable-overload
--without-pcre-regex
--disable-tokenizer
--disable-xml

Actual result:
--------------
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function `php_sybase_do_connect':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:395: request for member `value' in something not a structure or union
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function `zif_sybase_select_db':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:657: invalid type argument of `unary *'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function `zif_sybase_free_result':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:915: parse error before "if"
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: At top level:
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:916: parse error before "return"
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: `sybase_result_index' undeclared here (not in a function)
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: `type' undeclared here (not in a function)
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: warning: initialization makes integer from pointer without a cast
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: initializer element is not constant
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: warning: data definition has no type or storage class
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:920: parse error before "if"
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:922: parse error before '->' token
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:924: parse error before '(' token
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:925: parse error before '->' token
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function `zif_sybase_fetch_object':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1069: invalid lvalue in assignment
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1070: invalid lvalue in assignment
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function `zif_sybase_result':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1287: request for member `value' in something not a structure or union
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function `zif_sybase_affected_rows':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible types in initialization
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible types in assignment
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type argument of `unary *'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible type for argument 1 of `_zval_copy_ctor'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible type for argument 1 of `convert_to_long'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1332: invalid type argument of `unary *'
make: *** [ext/sybase/php_sybase_db.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-10 17:51 UTC] sniper@php.net
Use --with-sybase-ct instead.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 21:01:26 2024 UTC