From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 6.2 (Intel)
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  Php 4.0.6 doesn't compile with sybase-ct

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.
-- 
Edit bug report at: http://bugs.php.net/?id=12051&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to