libmysql: error = temname is dangerous.... use...

From: Date: Sun, 02 Mar 2003 06:12:35 +0000
Subject: libmysql: error = temname is dangerous.... use...
Groups: php.install 
Request: Send a blank email to php-install+get-10245@lists.php.net to get a copy of this message
Hi! I'm compiling PHP4.3.0 and even 4.3.1 but I always get an error when I issue the 'make' command. (details below) ldl -lnsl -lcrypt -o sapi/cli/php ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' [root@catcfserv php.4.3.0]# What is the cause of this error? How can I resolve the error? thanks jun ---------------------- Here's the error: Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lintl -lpng -lz -lz -lcrypt -lresolv -lm - ldl -lnsl -lcrypt -o sapi/cli/php ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' [root@catcfserv php.4.3.0]#

« previous php.install (#10245) next »