|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
PHP/CODBC, undefined reference to `blablabla'
Please help!
i NEED to compile PHP 4.1.1 with custom-odbc (sybase in this case). compile script: -------------------------------- rm ./config.cache make clean export CFLAGS=-DODBC_UNIX export LDFLAGS= export ODBC_LIBS="L/usr/local/sybase/lib -lodbc" ./configure --with-custom-odbc=/usr/local/sybase make ----------------------------------- it all works fine with php 4.2.2 but php 4.1.1 i get error: ----------------------------------- /bin/sh /usr/src/php-4.1.1/libtool --silent --mode=link gcc -I. -I/usr/src/php-4.1.1/ -I/usr/src/php-4.1.1/main -I/usr/src/php-4.1.1 -I/usr/src/php-4.1.1/Zend -I/usr/src/php-4.1.1/ext/mysql/libmysql -I/usr/local/sybase/include -I/usr/src/php-4.1.1/ext/xml/expat -I/usr/src/php-4.1.1/TSRM -DODBC_UNIX -o php -export-dynamic stub.lo libphp4.la ./.libs/libphp4.a(php_odbc.o): In function `_free_odbc_result': php_odbc.o(.text+0xbe): undefined reference to `SQLFreeStmt' ./.libs/libphp4.a(php_odbc.o): In function `safe_odbc_disconnect': php_odbc.o(.text+0xe5): undefined reference to `SQLDisconnect' ...etc ------------------------------------ ..i tried to check header files but they look fine. any suggestions? |
|
#2
|
|||
|
|||
|
RE: PHP/CODBC, undefined reference to `blablabla'
looks like lodbc was not found...
manually added line to config.status solved the problem. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP/CODBC, undefined reference to `blablabla' |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|