Skip to Content.
Sympa Menu

freetds - some errors when compiling php4 with freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "dongrui" <I_will_fly AT chinaren.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: some errors when compiling php4 with freetds
  • Date: Mon, 9 Jul 2001 12:03:54 -0400


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




Archive powered by MHonArc 2.6.24.

Top of Page