beta 4 + Sybase
| From: | willi at sevenval dot de | Date: | Tue, 22 Feb 2000 15:03:46 +0000 |
| Subject: | beta 4 + Sybase | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10639@lists.php.net to get a copy of this message | ||
Hi,
i tried compiling php 4.0b4 on a SuSE 6.3 linux box, with sybase support.
Sybase version is 11.0.3.3, I think. gcc bombs out of sybase.c with
some undeclared identifiers. It works well with beta 2 (I didn't try beta 3)
Do i need a newer version of sybase? I do have 11.9.2 around, so if that
improves the situation, I could install it. Or is this a problem with
the php module, and will be fixed in the next patch/beta?
Rainer
That's what gcc has to say:
make[3]: Entering directory `/home/rainer/php-4.0b4/ext/sybase'
gcc -DHAVE_CONFIG_H -I. -I/home/rainer/php-4.0b4/ext/sybase -I../.. -I../../Zend
-I/home/rainer/php-4.0b4 -I/usr/include/mysql -I/opt/sybase/include -D_REENTRANT -g -O2 -Wall -c
sybase.c && touch sybase.lo
sybase.c: In function `php_sybase_do_connect':
sybase.c:260: `list' undeclared (first use in this function)
sybase.c:260: (Each undeclared identifier is reported only once
sybase.c:260: for each function it appears in.)
sybase.c:261: `plist' undeclared (first use in this function)
sybase.c: In function `php_if_sybase_fetch_object':
sybase.c:952: warning: implicit declaration of function `php_sybase_fetch_hash'
sybase.c: At top level:
sybase.c:907: warning: `php_if_sybase_fetch_hash' defined but not used
make[3]: *** [sybase.lo] Error 1
make[3]: Leaving directory `/home/rainer/php-4.0b4/ext/sybase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rainer/php-4.0b4/ext/sybase'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/rainer/php-4.0b4/ext'
make: *** [all-recursive] Error 1