some errors when compiling php4 with freetds

dongrui I_will_fly at chinaren.com
Mon Jul 9 12:03:54 EDT 2001


after I've installed freetds and php4 successfully, I met some mistake
when compiling apache, the parameter to configure apache I use is like
this :

./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl 

then errors appear in the step "make" and the mistake is :

/usr/src/php-4.0.1/ext/standard/file.c:599: the use of `tempnam' is
dangerous, better use `mkstemp'
modules/php4/libphp4.a(sybase.o): In function `php_sybase_do_connect':
/usr/src/php-4.0.1/ext/sybase/sybase.c:360: undefined reference to
`dbopen'
/usr/src/php-4.0.1/ext/sybase/sybase.c:396: undefined reference to
`dbopen'
/usr/src/php-4.0.1/ext/sybase/sybase.c:443: undefined reference to
`dbopen'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.12'
make: *** [build] Error 2

could anybody give me a hand? thanks



More information about the FreeTDS mailing list