#21896 [Bgs]: Compile warning for Mysql
| From: | sniper@php.net | Date: | Sat, 01 Feb 2003 16:43:40 +0000 |
| Subject: | #21896 [Bgs]: Compile warning for Mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31841@lists.php.net to get a copy of this message | ||
ID: 21896
Updated by: sniper@php.net
Reported By: thetamail@rediffmail.com
Status: Bogus
Bug Type: Compile Failure
Operating System: RH linux 7.2
PHP Version: 4.3.0
New Comment:
It's not PHP problem if you have used a broken compiler, such as the RH
provided GCC 2.96 is.
http://gcc.gnu.org/gcc-2.96.html
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 08:03:01] thetamail@rediffmail.com
Dear It was not BOGUS dont you get that
PHP has some issues while compiling with GCC 2.96 20000731
or vis-versa.
------------------------------------------------------------------------
[2003-01-27 09:11:28] sniper@php.net
As it wasn't any bug in PHP -> bogus.
(the warning can be ignored since tempnam() is not used 'dangerously'
there)
------------------------------------------------------------------------
[2003-01-27 06:50:43] thetamail@rediffmail.com
Thanks sniper@php.net you were right the culprit in our case was ::::
GCC version 2.96 20000731 ,
What i did
1. removed said version and installed GCC 3.0.2 20010905
2. Made a symbolic link to gcc3 as gcc
3. Did used my old confgiurtion script for php (ofcource after /make
clean ;rm -rf config.cache; )
4. Rest all went fine just the error which you said could be ingnored
Still persist
------Start
"/hdc6/apache/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use
of
`tempnam'
is dangerous, better use `mkstemp'"
---End
Will you please explain me why this erorr .
Now my all apps are running fine and with God speed.The phpinfo is
fine.
Thanks for the valuable input
------------------------------------------------------------------------
[2003-01-27 02:49:00] sniper@php.net
Do the same again, but use './configure' instead.
------------------------------------------------------------------------
[2003-01-27 02:34:04] sniper@php.net
So you say it didn't work for 2 first times, but the 3rd
one worked? That would really mean there are some problems
in your system rather than anything wrong with PHP..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21896
--
Edit this bug report at http://bugs.php.net/?id=21896&edit=1