#24406 [Opn->Csd]: Failure on FreeTDS Portion

From: Date: Thu, 10 Jul 2003 22:51:54 +0000
Subject: #24406 [Opn->Csd]: Failure on FreeTDS Portion
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43694@lists.php.net to get a copy of this message
ID: 24406 Updated by: sniper@php.net Reported By: adam at cryptocomm dot com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Redhat 9 PHP Version: 5.0.0b1 (beta1) New Comment: Use --with-sybase-ct instead. Previous Comments: ------------------------------------------------------------------------ [2003-06-30 08:44:03] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24406&edit=1

« previous php.bugs (#43694) next »