PHP 4.3 compile on Redhat 9
hey there all,
i am getting a compile error on make when compiling php4.3.1 from source. here is what i get (the error part at least): ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam': /home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir': /home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat': /home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc': /home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc': /home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete': /home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.o(.text+0x79):/home/rob/setups/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 [root@gemini php-4.3.1]# i could use any help i could get. thanks, men$an |
have you tried php 4.3.2-rc4 ?
|
All times are GMT -5. The time now is 04:41 PM. |