php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2776 odbc compile failure while compiling with apache 1.3.9 and Solid 2.3
Submitted: 1999-11-20 09:26 UTC Modified: 1999-12-12 04:48 UTC
From: chrisvik at tapir dot no Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 3 OS: Redhat 6.0 Solid 2.3
Private report: No CVE-ID: None
 [1999-11-20 09:26 UTC] chrisvik at tapir dot no
php4b3 compiles without any warning. (configured --with-solid)

But while compiling apache 1.3.9:

gcc -O2 -DLINUX=2 -I/usr/src/php-4.0b3 -I/usr/src/php-4.0b3/libzend -I/usr/src/php-4.0b3/libzend -I/usr/src/php-4.0b3 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci`  -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lm  -lresolv  -lnsl -lcrypt -lgdbm -lgd -lttf    ../solid/lib/bcllux23.so   -lpam -lz   -lm -lcrypt
modules/php4/libphp4.a(php_odbc.o): In function `php3_odbc_columnprivileges':
/usr/src/php-4.0b3/ext/odbc/php_odbc.c:2338: undefined reference to `SQLColumnPrivileges'
modules/php4/libphp4.a(php_odbc.o): In function `php3_odbc_foreignkeys':
/usr/src/php-4.0b3/ext/odbc/php_odbc.c:2423: undefined reference to `SQLForeignKeys'
modules/php4/libphp4.a(php_odbc.o): In function `php3_odbc_procedurecolumns':
/usr/src/php-4.0b3/ext/odbc/php_odbc.c:2654: undefined reference to `SQLProcedureColumns'
modules/php4/libphp4.a(php_odbc.o): In function `php3_odbc_procedures':
/usr/src/php-4.0b3/ext/odbc/php_odbc.c:2734: undefined reference to `SQLProcedures'
modules/php4/libphp4.a(php_odbc.o): In function `php3_odbc_tableprivileges':
/usr/src/php-4.0b3/ext/odbc/php_odbc.c:2981: undefined reference to `SQLTablePrivileges'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.9'
make: *** [build] Error 2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-28 11:42 UTC] kara at cvs dot php dot net
Solid doesn't seem to have those functions implemented
 [1999-12-12 04:48 UTC] kara at cvs dot php dot net
Fixed in CVS, see Bug #2936
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 04:00:01 2026 UTC