#35959 [Opn->Csd]: Cannot build with Solid 2.3
| From: | tony2001@php.net | Date: | Tue, 10 Jan 2006 14:16:08 +0000 |
| Subject: | #35959 [Opn->Csd]: Cannot build with Solid 2.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91734@lists.php.net to get a copy of this message | ||
ID: 35959
Updated by: tony2001@php.net
Reported By: svaris at netti dot fi
-Status: Open
+Status: Closed
Bug Type: Solid related
Operating System: Debian Sarge
PHP Version: 4.4.1
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-01-10 14:39:04] svaris at netti dot fi
It's same in 5.1:
ext/odbc/php_odbc.o(.text+0x24a4): In function `zif_odbc_data_source':
/tmp/php5/php5.1-200601101130/ext/odbc/php_odbc.c:1223: undefined
reference to `SQLDataSources'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
Solid's include/cli0ext1.h has comment
/* NOTE!
None of the following ODBC 2.0 Level 2 API functions has
been implemented in the SOLID Server Client Library or ODBC
Driver.
The following functions, however, can be used in Windows
environments if Microsoft ODBC DLLs are used:
SQLDataSources Implemented in Driver Manager
SQLDrivers Implemented in Driver Manager
....
------------------------------------------------------------------------
[2006-01-10 11:20:37] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-01-10 10:50:50] svaris at netti dot fi
Description:
------------
Compilation fails with Solid Web Engine 2.3.
1) ./configure --with-solid=<DIR> and make
2) compilation fails with error message
ext/odbc/php_odbc.o(.text+0x244a): In function `zif_odbc_data_source':
MYDIR/php-4.4.1/ext/odbc/php_odbc.c:1212: undefined reference to
`SQLDataSources'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
Tested with PHP 4.4.1, 4.3.10 and php4-STABLE-200601091335, 4.1.2
compiles fine.
Can be compiled if HAVE_SQLDATASOURCES is disabled.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35959&edit=1