fborot Posted June 27, 2008 Share Posted June 27, 2008 hello I need to use php to connect to a sybase db on another machine. I realized that I needed to compile php using --with-sybase. I am doing it but I found these errors below and the compilation fails. I have not installed sybase on the machine where I am compiling php because I will connect to another machine where sybase is running. How can I solve this problem? there is not too much doc around what is the difference between these 2 options: --with-sybase and --with-sybase-ct ? /bin/sh /usr/local/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sybase/ -I/usr/local/php-5.2.6/ext/sybase/ -DPHP_ATOM_INC -I/usr/local/php-5.2.6/include -I/usr/local/php-5.2.6/main -I/usr/local/php-5.2.6 -I/usr/include/libxml2 -I/usr/local/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/sybase/include -I/usr/local/php-5.2.6/TSRM -I/usr/local/php-5.2.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c -o ext/sybase/php_sybase_db.lo /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:39:22: error: sybfront.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:40:19: error: sybdb.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:41:22: error: syberror.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:62: error: expected specifier-qualifier-list before 'LOGINREC' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:147: error: expected ')' before '*' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:158: error: expected ')' before '*' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function '_clean_invalid_results': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:177: error: 'sybase_link' has no member named 'valid' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function '_close_sybase_link': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:215: error: 'sybase_link' has no member named 'valid' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:224: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:225: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function '_close_sybase_plink': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:235: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:236: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zm_startup_sybase': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:247: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:247: error: (Each undeclared identifier is reported only once /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:247: error: for each function it appears in.) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:250: error: 'EHANDLEFUNC' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:250: error: expected ')' before 'php_sybase_error_handler' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:251: error: 'MHANDLEFUNC' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:251: error: expected ')' before 'php_sybase_message_handler' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'php_sybase_do_connect': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:405: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:411: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:414: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:417: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:420: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:422: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:425: error: 'sybase_link' has no member named 'valid' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:446: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:446: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:446: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:451: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:451: error: 'DBBUFFER' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:474: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:474: error: 'TRUE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:475: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:475: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:480: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:509: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:520: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:520: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:525: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:548: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:550: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zif_sybase_select_db': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:655: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:655: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'php_sybase_get_column_content': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:672: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:679: error: 'SYBINT2' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:680: error: 'SYBINT4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'DBINT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'DBSMALLINT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'DBTINYINT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:685: error: 'SYBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:686: error: 'SYBTEXT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:688: error: 'DBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:688: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:690: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:691: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:700: error: 'SYBREAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:701: error: 'DBFLT8' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:701: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:706: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:708: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:712: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:713: error: 'SYBBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:714: error: 'SYBVARBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:715: error: 'SYBIMAGE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:719: error: 'SYBVARCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:732: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:732: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:747: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zif_sybase_query': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:767: error: 'RETCODE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:767: error: expected ';' before 'dbresults_retval' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:795: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:795: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:800: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:805: error: 'dbresults_retval' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:805: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:817: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:823: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:830: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:840: error: 'NO_MORE_ROWS' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:857: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:858: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:858: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:861: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:866: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:866: warning: initialization makes pointer from integer without a cast /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:880: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:881: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:881: warning: passing argument 1 of '_estrdup' makes pointer from integer without a cast /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:888: error: 'SYBINT2' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:889: error: 'SYBINT4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:890: error: 'SYBFLT8' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:891: error: 'SYBREAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:894: error: 'SYBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:895: error: 'SYBTEXT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:925: error: 'NO_MORE_RESULTS' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:927: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:930: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'php_sybase_get_field_name': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1157: error: 'SYBBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1158: error: 'SYBVARBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1161: error: 'SYBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1162: error: 'SYBVARCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1163: error: 'SYBTEXT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1165: error: 'SYBDATETIME' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1166: error: 'SYBDATETIME4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1167: error: 'SYBDATETIMN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1170: error: 'SYBDECIMAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1171: error: 'SYBFLT8' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1172: error: 'SYBFLTN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1173: error: 'SYBREAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1174: error: 'SYBNUMERIC' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1177: error: 'SYBINT1' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1178: error: 'SYBINT2' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1179: error: 'SYBINT4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1180: error: 'SYBINTN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1183: error: 'SYBMONEY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1184: error: 'SYBMONEY4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1185: error: 'SYBMONEYN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1188: error: 'SYBBIT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1191: error: 'SYBIMAGE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zif_sybase_affected_rows': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1385: error: 'sybase_link' has no member named 'link' make: *** [ext/sybase/php_sybase_db.lo] Error 1 [root@RHEL-28 php-5.2.6]# Quote Link to comment https://forums.phpfreaks.com/topic/112222-compiling-php5-with-sybase-support/ Share on other sites More sharing options...
fborot Posted June 27, 2008 Author Share Posted June 27, 2008 just to clarify, the ./configure --with-sybase shows NO errors, but when doing the "make" is when the process stops: [root@RHEL-28 php-5.2.6]# make /bin/sh /usr/local/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/php-5.2.6/ext/pdo_sqlite/sqlite/src -DPDO_SQLITE_BUNDLED=1 -DSQLITE_OMIT_CURSOR -DTHREADSAFE=0 -I/usr/local/php-5.2.6/ext -Iext/pdo_sqlite/ -I/usr/local/php-5.2.6/ext/pdo_sqlite/ -DPHP_ATOM_INC -I/usr/local/php-5.2.6/include -I/usr/local/php-5.2.6/main -I/usr/local/php-5.2.6 -I/usr/include/libxml2 -I/usr/local/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/sybase/include -I/usr/local/php-5.2.6/TSRM -I/usr/local/php-5.2.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /usr/local/php-5.2.6/ext/pdo_sqlite/sqlite/src/parse.c -o ext/pdo_sqlite/sqlite/src/parse.lo /bin/sh /usr/local/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/usr/local/php-5.2.6/ext/standard/ -DPHP_ATOM_INC -I/usr/local/php-5.2.6/include -I/usr/local/php-5.2.6/main -I/usr/local/php-5.2.6 -I/usr/include/libxml2 -I/usr/local/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/sybase/include -I/usr/local/php-5.2.6/TSRM -I/usr/local/php-5.2.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /usr/local/php-5.2.6/ext/standard/info.c -o ext/standard/info.lo /bin/sh /usr/local/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/sybase/ -I/usr/local/php-5.2.6/ext/sybase/ -DPHP_ATOM_INC -I/usr/local/php-5.2.6/include -I/usr/local/php-5.2.6/main -I/usr/local/php-5.2.6 -I/usr/include/libxml2 -I/usr/local/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/sybase/include -I/usr/local/php-5.2.6/TSRM -I/usr/local/php-5.2.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c -o ext/sybase/php_sybase_db.lo /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:39:22: error: sybfront.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:40:19: error: sybdb.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:41:22: error: syberror.h: No such file or directory /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:62: error: expected specifier-qualifier-list before 'LOGINREC' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:147: error: expected ')' before '*' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:158: error: expected ')' before '*' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function '_clean_invalid_results': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:177: error: 'sybase_link' has no member named 'valid' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function '_close_sybase_link': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:215: error: 'sybase_link' has no member named 'valid' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:224: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:225: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function '_close_sybase_plink': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:235: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:236: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zm_startup_sybase': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:247: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:247: error: (Each undeclared identifier is reported only once /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:247: error: for each function it appears in.) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:250: error: 'EHANDLEFUNC' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:250: error: expected ')' before 'php_sybase_error_handler' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:251: error: 'MHANDLEFUNC' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:251: error: expected ')' before 'php_sybase_message_handler' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'php_sybase_do_connect': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:405: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:411: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:414: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:417: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:420: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:422: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:425: error: 'sybase_link' has no member named 'valid' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:446: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:446: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:446: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:451: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:451: error: 'DBBUFFER' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:474: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:474: error: 'TRUE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:475: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:475: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:480: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:509: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:520: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:520: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:525: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:548: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:550: error: 'sybase_link' has no member named 'login' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zif_sybase_select_db': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:655: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:655: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'php_sybase_get_column_content': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:672: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:679: error: 'SYBINT2' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:680: error: 'SYBINT4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'DBINT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'DBSMALLINT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: 'DBTINYINT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:681: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:685: error: 'SYBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:686: error: 'SYBTEXT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:688: error: 'DBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:688: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:690: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:691: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:700: error: 'SYBREAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:701: error: 'DBFLT8' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:701: error: expected expression before ')' token /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:706: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:708: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:712: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:713: error: 'SYBBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:714: error: 'SYBVARBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:715: error: 'SYBIMAGE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:719: error: 'SYBVARCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:732: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:732: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:747: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zif_sybase_query': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:767: error: 'RETCODE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:767: error: expected ';' before 'dbresults_retval' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:795: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:795: error: 'FAIL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:800: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:805: error: 'dbresults_retval' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:805: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:817: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:823: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:830: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:840: error: 'NO_MORE_ROWS' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:857: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:858: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:858: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:861: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:866: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:866: warning: initialization makes pointer from integer without a cast /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:880: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:881: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:881: warning: passing argument 1 of '_estrdup' makes pointer from integer without a cast /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:888: error: 'SYBINT2' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:889: error: 'SYBINT4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:890: error: 'SYBFLT8' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:891: error: 'SYBREAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:894: error: 'SYBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:895: error: 'SYBTEXT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:925: error: 'NO_MORE_RESULTS' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:927: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:930: error: 'sybase_link' has no member named 'link' /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'php_sybase_get_field_name': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1157: error: 'SYBBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1158: error: 'SYBVARBINARY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1161: error: 'SYBCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1162: error: 'SYBVARCHAR' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1163: error: 'SYBTEXT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1165: error: 'SYBDATETIME' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1166: error: 'SYBDATETIME4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1167: error: 'SYBDATETIMN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1170: error: 'SYBDECIMAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1171: error: 'SYBFLT8' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1172: error: 'SYBFLTN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1173: error: 'SYBREAL' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1174: error: 'SYBNUMERIC' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1177: error: 'SYBINT1' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1178: error: 'SYBINT2' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1179: error: 'SYBINT4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1180: error: 'SYBINTN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1183: error: 'SYBMONEY' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1184: error: 'SYBMONEY4' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1185: error: 'SYBMONEYN' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1188: error: 'SYBBIT' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1191: error: 'SYBIMAGE' undeclared (first use in this function) /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c: In function 'zif_sybase_affected_rows': /usr/local/php-5.2.6/ext/sybase/php_sybase_db.c:1385: error: 'sybase_link' has no member named 'link' make: *** [ext/sybase/php_sybase_db.lo] Error 1 [root@RHEL-28 php-5.2.6]# Quote Link to comment https://forums.phpfreaks.com/topic/112222-compiling-php5-with-sybase-support/#findComment-576090 Share on other sites More sharing options...
fborot Posted June 28, 2008 Author Share Posted June 28, 2008 I am stuck guys, need some help here :'( Quote Link to comment https://forums.phpfreaks.com/topic/112222-compiling-php5-with-sybase-support/#findComment-576658 Share on other sites More sharing options...
fborot Posted June 28, 2008 Author Share Posted June 28, 2008 this may sound like a dumb question, but do I have to install sybase on the same machine that I am compiling php with sybase support in order to be able to access a sybase db on another machine? I thought that the "--with-sybase-ct " w/o a local dir where sybase is installed was enough to be able to access sybase on another machine. :-\ Quote Link to comment https://forums.phpfreaks.com/topic/112222-compiling-php5-with-sybase-support/#findComment-576664 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.