Hi, I'm using:
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
to compile PHP 4.3.1
make stops on a 'warning' according to:
http://www.php.net/manual/en/faq.build.php#faq.build.mysql.tempnam
15. 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.