PHP 4.0 Bug #3378: Failure when compiling Apache with sybase-11.9.2
| From: | straub at i-netpartner dot de | Date: | Tue, 01 Feb 2000 19:31:12 +0000 |
| Subject: | PHP 4.0 Bug #3378: Failure when compiling Apache with sybase-11.9.2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15127@lists.php.net to get a copy of this message | ||
From: straub@i-netpartner.de
Operating system: Linux 2.2.10 / Suse 6.2
PHP version: 4.0 Latest CVS (01/02/2000)
PHP Bug Type: Compile Failure
Bug description: Failure when compiling Apache with sybase-11.9.2
When i'm going to compile apache 1.3.9 with php4(cvs) i get the following error. PHP compiles
OK.
gcc -I/usr/include/mysql -DLINUX=2 -I/usr/src/cvstree/php4 -I/usr/src/cvstree/php4/Zend
-I/usr/src/cvstree/php4/Zend -I/usr/src/cvstree/php4 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/auth_mysql/libauth_mysql.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -Wl,-rpath,/opt/sybase/lib -rdynamic
-L/opt/sybase/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam
-ldl -lsybdb -ldl -lttf -lz -lpng -lgd -lresolv -lm -lcrypt -lnsl -lresolv -L/usr/lib/mysql -lgcc
-I/usr/include/mysql -DLINUX=2 -I/usr/src/cvstree/php4 -I/usr/src/cvstree/php4/Zend
-I/usr/src/cvstree/php4/Zend -I/usr/src/cvstree/php4 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/auth_mysql/libauth_mysql.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -Wl,-rpath,/opt/sybase/lib -rdynamic
-L/opt/sybase/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam
-ldl -lsybdb -ldl -lttf -lz -lpng -lgd -lresolv -lm -lcrypt -lnsl -lresolv -L/usr/lib/mysql
-lmysqlclient -lcrypt -lm -lcrypt
modules/php4/libphp4.a(sybase.o): In function `php_if_sybase_fetch_object':
/usr/src/cvstree/php4/ext/sybase/sybase.c:952: undefined reference to `php_sybase_fetch_hash'
modules/php4/libphp4.a(sybase.o): In function `php_if_sybase_fetch_array':
/usr/src/cvstree/php4/ext/sybase/sybase.c:963: undefined reference to `php_sybase_fetch_hash'
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 mysqlclient -lcrypt -lm -lcrypt
modules/php4/libphp4.a(sybase.o): In function `php_if_sybase_fetch_object':
/usr/src/cvstree/php4/ext/sybase/sybase.c:952: undefined reference to `php_sybase_fetch_hash'
modules/php4/libphp4.a(sybase.o): In function `php_if_sybase_fetch_array':
/usr/src/cvstree/php4/ext/sybase/sybase.c:963: undefined reference to `php_sybase_fetch_hash'
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