Re: [PHP4BETA] Sybase-CT Compilation
| From: | Willo van der Merwe | Date: | Thu, 03 Jun 1999 08:34:33 +0000 |
| Subject: | Re: [PHP4BETA] Sybase-CT Compilation | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1259@lists.php.net to get a copy of this message | ||
Hi Sascha,
Sascha Schumann wrote:
>
> dummy != return_value
>
> Dunno what that code is supposed to do.
>
I applied your changes, but then the compiler kicks out this:
Making all in sybase
make[2]: Entering directory `/usr/devel/src/php4/ext/sybase'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM
-I/usr/devel/src/apache_1.3.4/src/include
-I/usr/devel/src/apache_1.3.4/src/os/unix -I/opt/sybase//include -I../..
-I../../libzend -g -O2 -c sybase-ct.c
In file included from ../../libzend/zend.h:41,
from ../../php.h:43,
from sybase-ct.c:37:
../../libzend/zend_config.h:272: warning: `PACKAGE' redefined
../../php_config.h:505: warning: this is the location of the previous
definition
../../libzend/zend_config.h:275: warning: `VERSION' redefined
../../php_config.h:508: warning: this is the location of the previous
definition
sybase-ct.c: In function `php3_sybct_get_default_link':
sybase-ct.c:622: invalid operands to binary !=
sybase-ct.c:622: too few arguments to function `php3_sybct_do_connect'
make[2]: *** [sybase-ct.o] Error 1
make[2]: Leaving directory `/usr/devel/src/php4/ext/sybase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/devel/src/php4/ext'
make: *** [all-recursive] Error 1
Anu ideas?
Regards,
Willo