#22580 [Opn]: Cannot build when configure with dbmaker
| From: | clin at lion dot syscom dot com dot tw | Date: | Thu, 20 Mar 2003 03:24:19 +0000 |
| Subject: | #22580 [Opn]: Cannot build when configure with dbmaker | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36007@lists.php.net to get a copy of this message | ||
ID: 22580
User updated by: clin at lion dot syscom dot com dot tw
Reported By: clin at lion dot syscom dot com dot tw
Status: Open
Bug Type: ODBC related
Operating System: Linux 2.2.17-21mdk
PHP Version: 4.3.1
New Comment:
According to MSDN ODBC specification, isn't it true that
SQLDataSources() is implemented "solely by Driver Manager"?
How come there is a php function that calls SQLDataSources()
?
I can fix a bug by ifdef and solve the compilation problem
but I am really confused about how this bug ever happens.
Did I miss anything? Could somebody tell me?
Previous Comments:
------------------------------------------------------------------------
[2003-03-07 03:13:22] clin at lion dot syscom dot com dot tw
Sorry, I forgot to mention. It's DBMaker3.74.
------------------------------------------------------------------------
[2003-03-07 03:07:23] sniper@php.net
What dbmaker version you have?
------------------------------------------------------------------------
[2003-03-06 23:59:04] clin at lion dot syscom dot com dot tw
Steps for reproduce the bug:
(1) ./configure --with-dbmaker=<DIR> and make
(2) the result is failure
(3) partial error message:
/opt0/clin/php-4.3.1/ext/odbc/php_odbc.c:1219: undefined reference to
`SQLDataSources'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Should be caused by lack of support for SQLDataSources() in
DBMaker.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22580&edit=1