php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5117 compile error when selecting sybase
Submitted: 2000-06-19 10:38 UTC Modified: 2000-08-29 18:39 UTC
From: david at switch dot be Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (19/06/2000) OS: solaris 2.5.1 sparc
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david at switch dot be
New email:
PHP Version: OS:

 

 [2000-06-19 10:38 UTC] david at switch dot be
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 03:59 UTC] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??

--Jani
 [2000-08-29 18:39 UTC] sniper@php.net
No feedback. Please try PHP4.0.2 and reopen this bug report if problem still exists.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 21:00:01 2026 UTC