php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12051 Php 4.0.6 doesn't compile with sybase-ct
Submitted: 2001-07-11 10:01 UTC Modified: 2001-07-11 10:02 UTC
From: suraj_amin at yahoo dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: Redhat Linux 6.2 (Intel)
Private report: No CVE-ID: None
 [2001-07-11 10:01 UTC] suraj_amin at yahoo dot com
Php 4.0.6 doesn't compile with sybase-ct

Following was the configuration options:
# ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-xml --enable-track-vars --with-ldap --enable-ftp --with-mcrypt --with-gdbm --with-sybase=/opt/sybase-11.9.2 --with-sybase-ct=/opt/sybase-11.9.2

It configures properly but doesn't complie.

Following were the errors:

make[1]: Entering directory `/usr/local/src/php-4.0.6/main'
make[2]: Entering directory `/usr/local/src/php-4.0.6/main'
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=compile gcc  -I. -I/usr
/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4
.0.6 -I/usr/local/apache/include -I/usr/local/src/php-4.0.6/Zend -I/usr/local/in~
clude -I/usr/local/src/php-4.0.6/ext/mysql/libmysql -I/opt/sybase-11.9.2/include
 -I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.6/ext/~
xml/expat/xmlparse -I/usr/local/src/php-4.0.6/TSRM  -DLINUX=22 -DUSE_HSREGEX -DU~
SE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c main.c
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=compile gcc  -I. -I/usr
/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4
.0.6 -I/usr/local/apache/include -I/usr/local/src/php-4.0.6/Zend -I/usr/local/in~
clude -I/usr/local/src/php-4.0.6/ext/mysql/libmysql -I/opt/sybase-11.9.2/include
 -I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.6/ext/~
xml/expat/xmlparse -I/usr/local/src/php-4.0.6/TSRM  -DLINUX=22 -DUSE_HSREGEX -DU~
SE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c internal_functions.c
In file included from internal_functions.c:43:
/usr/local/src/php-4.0.6/ext/sybase_ct/php_sybase_ct.h:79: conflicting types for
 `sybase_link'
/usr/local/src/php-4.0.6/ext/sybase/php_sybase_db.h:79: previous declaration of ~
`sybase_link'
/usr/local/src/php-4.0.6/ext/sybase_ct/php_sybase_ct.h:87: conflicting types for
 `sybase_field'
/usr/local/src/php-4.0.6/ext/sybase/php_sybase_db.h:106: previous declaration of
 `sybase_field'
/usr/local/src/php-4.0.6/ext/sybase_ct/php_sybase_ct.h:95: conflicting types for
 `sybase_result'
/usr/local/src/php-4.0.6/ext/sybase/php_sybase_db.h:114: previous declaration of
 `sybase_result'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/main'
make: *** [all-recursive] Error 1

Please check it out.

Thanks.
Suraj Amin.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-11 10:02 UTC] derick@php.net
Use either --with-sybase OR --with-sybase-ct

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 00:01:30 2024 UTC