PHP 4.0 Bug #5117: compile error when selecting sybase

From: Date: Mon, 19 Jun 2000 08:38:20 +0000
Subject: PHP 4.0 Bug #5117: compile error when selecting sybase
Groups: php.dev 
Request: Send a blank email to php-dev+get-21708@lists.php.net to get a copy of this message
From: david@switch.be Operating system: solaris 2.5.1 sparc PHP version: 4.0 Latest CVS (19/06/2000) PHP Bug Type: Compile Failure Bug description: compile error when selecting sybase i get following error when i try to compile the latest snapshot using the sun cc compiler on a sun solaris 2.5.1 system this is against a sybase 11 database & open client Making all in sybase /bin/sh /home/vzeebrod/sources/php4-200006190045/libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I/home/vzeebrod/sources/php4-200006190045/ext/sybase -I/home/vzeebrod/sources/php4-200006190045 -I/home/vzeebrod/sources/php4-200006190045/main -I/apps/nse/include -I/home/vzeebrod/sources/php4-200006190045/Zend -I/home/vzeebrod/sources/php4-200006190045 -I/home/vzeebrod/sources/php4-200006190045/ext/mysql/libmysql -I/apps/sybase/include -I/home/vzeebrod/sources/php4-200006190045/ext/xml/expat/xmltok -I/home/vzeebrod/sources/php4-200006190045/ext/xml/expat/xmlparse -I/home/vzeebrod/sources/php4-200006190045/TSRM -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -g -mt -c sybase.c "sybase.c", line 643: warning: argument #6 is incompatible with prototype: prototype: pointer to uchar : "/apps/sybase/include/sybdb.h", line 2945 argument : pointer to char "sybase.c", line 963: undefined symbol: core_globals "sybase.c", line 963: left operand of "->" must be pointer to struct/union cc: acomp failed for sybase.c *** Error code 1 make: Fatal error: Command failed for target `sybase.lo' Current working directory /home/vzeebrod/sources/php4-200006190045/ext/sybase *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /home/vzeebrod/sources/php4-200006190045/ext/sybase

« previous php.dev (#21708) next »