ID:               30364
 Updated by:       [EMAIL PROTECTED]
 Reported By:      julien_tricard at hotmail dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: Linux Fedora core 2b
 PHP Version:      5.0.2
 New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:
------------------------------------------------------------------------

[2004-11-27 17:29:07] [EMAIL PROTECTED]

Obviously you have broken Sybase installation, which doesn't include
header files. 
Check it out and let us know if it worked for you.

------------------------------------------------------------------------

[2004-10-08 16:40:51] julien_tricard at hotmail dot com

Description:
------------
When I comfigure php with option --with-sybase, It stops

Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs 
--with-sybase=/opt/sybase --enable-bcmath --enable-calendar     
--enable-ctype --enable-exif --enable-ftp  --enable-trans-sid
--enable-shmop --enable-sockets      --enable-sysvsem --enable-sysvshm
--enable-wddx


Expected result:
----------------
A php module!!!

Actual result:
--------------
/bin/sh /root/php-5.0.2/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/sybase/ -I/root/php-5.0.2/ext/sybase/
-DPHP_ATOM_INC -I/root/php-5.0.2/include -I/root/php-5.0.2/main
-I/root/php-5.0.2 -I/root/php-5.0.2/Zend -I/usr/include/libxml2
-I/opt/sybase/include  -I/root/php-5.0.2/TSRM  -g -O2  -prefer-pic -c
/root/php-5.0.2/ext/sybase/php_sybase_db.c -o
ext/sybase/php_sybase_db.lo
/root/php-5.0.2/ext/sybase/php_sybase_db.c:38:22: sybfront.h: No such
file or directory
/root/php-5.0.2/ext/sybase/php_sybase_db.c:39:19: sybdb.h: No such file
or directory
/root/php-5.0.2/ext/sybase/php_sybase_db.c:40:22: syberror.h: No such
file or directory
/root/php-5.0.2/ext/sybase/php_sybase_db.c:61: error: syntax error
before "LOGINREC"
/root/php-5.0.2/ext/sybase/php_sybase_db.c:61: warning: no semicolon at
end of struct or union
/root/php-5.0.2/ext/sybase/php_sybase_db.c:62: error: `link' redeclared
as different kind of symbol
/usr/include/unistd.h:722: error: previous declaration of `link'
/root/php-5.0.2/ext/sybase/php_sybase_db.c:62: warning: data definition
has no type or storage class
/root/php-5.0.2/ext/sybase/php_sybase_db.c:64: error: syntax error
before '}' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c:143: error: syntax error
before '*' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`php_sybase_error_handler':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:146: error: `severity'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:146: error: (Each undeclared
identifier is reported only once
/root/php-5.0.2/ext/sybase/php_sybase_db.c:146: error: for each
function it appears in.)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:148: error: `dberrstr'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:150: error: `INT_CANCEL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c: At top level:
/root/php-5.0.2/ext/sybase/php_sybase_db.c:154: error: syntax error
before '*' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`php_sybase_message_handler':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:158: error: `severity'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:160: error: `msgtext'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`_clean_invalid_results':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:173: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`_close_sybase_link':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:211: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:220: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:221: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`_close_sybase_plink':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:231: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:232: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`zm_startup_sybase':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:243: error: `FAIL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:246: error: `EHANDLEFUNC'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:246: error: syntax error
before "php_sybase_error_handler"
/root/php-5.0.2/ext/sybase/php_sybase_db.c:247: error: `MHANDLEFUNC'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:247: error: syntax error
before "php_sybase_message_handler"
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`php_sybase_do_connect':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:311: error: storage size of
`sybase' isn't known
/root/php-5.0.2/ext/sybase/php_sybase_db.c:452: error: `FAIL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:457: error: `DBBUFFER'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:462: error: invalid
application of `sizeof' to an incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:463: error: invalid
application of `sizeof' to an incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:480: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:480: error: `TRUE'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:481: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:481: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:486: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:536: error: invalid
application of `sizeof' to an incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:537: error: invalid
application of `sizeof' to an incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`zif_sybase_select_db':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:661: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:661: error: `FAIL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`php_sybase_get_column_content':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:678: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:685: error: `SYBINT2'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:686: error: `SYBINT4'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:687: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:687: error: `DBINT'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:687: error: syntax error
before ')' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c:691: error: `SYBCHAR'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:692: error: `SYBTEXT'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:694: error: `DBCHAR'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:694: error: syntax error
before ')' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c:696: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:697: error: syntax error
before ')' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c:700: error: `length'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:700: warning: passing arg 1
of `_estrndup' from incompatible pointer type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:706: error: `SYBREAL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:706: error: case label not
within a switch statement
/root/php-5.0.2/ext/sybase/php_sybase_db.c:707: error: `DBFLT8'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:707: error: syntax error
before ')' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c:711: error: `default' label
not within a switch statement
/root/php-5.0.2/ext/sybase/php_sybase_db.c:712: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:714: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:718: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:719: error: `SYBBINARY'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:720: error: `SYBVARBINARY'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:721: error: `SYBIMAGE'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:725: error: `SYBVARCHAR'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:738: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:738: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:753: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:709: error: break statement
not within loop or switch
/root/php-5.0.2/ext/sybase/php_sybase_db.c: At top level:
/root/php-5.0.2/ext/sybase/php_sybase_db.c:758: error: syntax error
before '}' token
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`zif_sybase_query':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:773: error: `RETCODE'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:773: error: syntax error
before "dbresults_retval"
/root/php-5.0.2/ext/sybase/php_sybase_db.c:801: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:801: error: `FAIL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:806: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:811: error:
`dbresults_retval' undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:811: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:823: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:829: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:836: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:846: error: `NO_MORE_ROWS'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:863: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:864: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:864: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:867: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:872: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:872: warning: initialization
makes pointer from integer without a cast
/root/php-5.0.2/ext/sybase/php_sybase_db.c:886: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:887: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:887: warning: passing arg 1
of `_estrdup' makes pointer from integer without a cast
/root/php-5.0.2/ext/sybase/php_sybase_db.c:894: error: `SYBINT2'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:895: error: `SYBINT4'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:896: error: `SYBFLT8'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:897: error: `SYBREAL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:900: error: `SYBCHAR'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:901: error: `SYBTEXT'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:931: error:
`NO_MORE_RESULTS' undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:933: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c:936: error: dereferencing
pointer to incomplete type
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`zif_sybase_fetch_object':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1112: error: invalid lvalue
in assignment
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1113: error: invalid lvalue
in assignment
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`php_sybase_get_field_name':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1161: error: `SYBBINARY'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1162: error: `SYBVARBINARY'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1165: error: `SYBCHAR'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1166: error: `SYBVARCHAR'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1167: error: `SYBTEXT'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1169: error: `SYBDATETIME'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1170: error: `SYBDATETIME4'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1171: error: `SYBDATETIMN'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1174: error: `SYBDECIMAL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1175: error: `SYBFLT8'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1176: error: `SYBFLTN'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1177: error: `SYBREAL'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1178: error: `SYBNUMERIC'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1181: error: `SYBINT1'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1182: error: `SYBINT2'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1183: error: `SYBINT4'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1184: error: `SYBINTN'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1187: error: `SYBMONEY'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1188: error: `SYBMONEY4'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1189: error: `SYBMONEYN'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1192: error: `SYBBIT'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1195: error: `SYBIMAGE'
undeclared (first use in this function)
/root/php-5.0.2/ext/sybase/php_sybase_db.c: In function
`zif_sybase_affected_rows':
/root/php-5.0.2/ext/sybase/php_sybase_db.c:1389: error: dereferencing
pointer to incomplete type
make: *** [ext/sybase/php_sybase_db.lo] Erreur 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30364&edit=1

Reply via email to