php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3726 compilation of php with --with-sybase= fails in sybase.c
Submitted: 2000-03-04 12:59 UTC Modified: 2000-03-04 13:20 UTC
From: apina at infolink dot com dot br Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Linux Slackware 7 (Kernel 2.2.13
Private report: No CVE-ID: None
 [2000-03-04 12:59 UTC] apina at infolink dot com dot br
Makinng with configure:

./configure  --disable-debug --enable-safe-mode
--enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect --with-mys
ql=/usr/local/mysql --enable-memory-limit --with-sybase=/usr/local/freetds

It fails with:

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)
make[3]: *** [sybase.lo] Error 1
make[3]: Leaving directory `/root/php4/ext/sybase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php4/ext/sybase'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/php4/ext'
make: *** [all-recursive] Error 1

PHP3 builds OK with this configuration. It seems that something has changed in php's list scheme and Sybase.c didn't change.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-04 13:20 UTC] andi at cvs dot php dot net
Should be fixed in the latest CVS. You can get a snapshot at http://bonsai.php.net/~sas/snapshots/.
Please let us know if this fixes your problems.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 20:03:34 2021 UTC