From f9fae7bdade279accd9ff51dcc8ebb167579c4be Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sat, 15 Mar 2003 18:30:06 +0000 Subject: [PATCH] Add faq about the common my_tempnam warning. Closes bug #21029. In the future, add diff of bundled vs non-bundled. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@120344 c90b9560-bf6c-de11-be94-00142212c4b1 --- faq/build.xml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/faq/build.xml b/faq/build.xml index b4d7f7be44..dd0a026504 100755 --- a/faq/build.xml +++ b/faq/build.xml @@ -1,5 +1,5 @@ - + Build Problems Build Problems @@ -445,6 +445,29 @@ $ gcc -E test.c >/dev/null + + + + When compiling PHP with MySQL, configure runs fine but during + make I get an error similar to the following: + ext/mysql/libmysql/my_tempnam.o(.text+0x46): In function + my_tempnam': /php4/ext/mysql/libmysql/my_tempnam.c:103: the + use of tempnam' is dangerous, better use mkstemp', + what's wrong? + + + + + First, it's important to realize that this is a + Warning and not a fatal error. Because this is + often the last output seen during make, + it may seem like a fatal error but it's not. Of course, if + you set your compiler to die on Warnings, it will. Also + keep in mind that MySQL support is enabled by default. + + + +