Re: Re: installing 4.3.0 error
| From: | (Michael Mauch) | Date: | Mon, 03 Mar 2003 02:33:21 +0000 |
| Subject: | Re: Re: installing 4.3.0 error | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10254@lists.php.net to get a copy of this message | ||
Chris Hewitt <g0pae@manordat.demon.co.uk> wrote:
> jun wrote:
>
>>>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]#
>>>
>
> I've seen this error reported before on this or the php-general list. I
> can't remember the resolution so a check in the archives might prove
> fruitful. I remember a comment from Rasmus about this being a warning
> rather than an error, but I suggest you check that.
Yes, this issue should be easy to find with Google. Normally that
message is just a warning, but with gcc-2.96 it's apparently an error.
Jun, are you using gcc-2.96? See <http://gcc.gnu.org/gcc-2.96.html>.
Regards...
Michael