I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure --prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when I execute the command make after, I have there errors in the compilation, who can help me???:
In function `my_tempnam': /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerou s, better use `mkstemp' ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir': /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat': /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc': /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc': /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete': /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my_tem pnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1