#22580 [Opn->Csd]: Cannot build when configure with dbmaker

From: Date: Fri, 02 May 2003 00:40:46 +0000
Subject: #22580 [Opn->Csd]: Cannot build when configure with dbmaker
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38911@lists.php.net to get a copy of this message
ID: 22580 Updated by: sniper@php.net Reported By: clin at lion dot syscom dot com dot tw -Status: Open +Status: Closed Bug Type: ODBC related Operating System: Linux 2.2.17-21mdk PHP Version: 4.3.1 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-03-19 21:24:19] clin at lion dot syscom dot com dot tw 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? ------------------------------------------------------------------------ [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

« previous php.bugs (#38911) next »