#17312 [Com]: Build problem with GCC 3.1
| From: | ecarter at uci dot edu | Date: | Thu, 06 Feb 2003 23:40:54 +0000 |
| Subject: | #17312 [Com]: Build problem with GCC 3.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32338@lists.php.net to get a copy of this message | ||
ID: 17312
Comment by: ecarter@uci.edu
Reported By: asautins@yahoo.com
Status: No Feedback
Bug Type: MySQL related
Operating System: Redhat 7.2
PHP Version: 4.2.1
New Comment:
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/local/src/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
tempnam' is dangerous, better use mkstemp'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Here's the gcc ver:
gcc-2.96-98
gcc3-g77-3.0.4-1
gcc-g77-2.96-98
libgcc-3.0.4-1
gcc-chill-2.96-98
gcc3-3.0.4-1
gcc3-objc-3.0.4-1
gcc-c++-2.96-98
gcc-objc-2.96-98
gcc3-java-3.0.4-1
gcc-java-2.96-98
gcc3-c++-3.0.4-1
-- I'm not sure what the problem is.
It seems that I have no problems with
another machine, here's the gcc ver on that:
gcc-chill-2.96-98
libgcc-3.0.1-3
gcc-g77-2.96-98
gcc-c++-2.96-98
gcc3-g77-3.0.1-3
gcc-java-2.96-98
gcc-2.96-98
gcc3-objc-3.0.1-3
gcc3-c++-3.0.1-3
gcc-objc-2.96-98
gcc3-3.0.1-3
gcc3-java-3.0.1-3
Both are redhat linux,
eric
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 01:17:00] renjin@starhub.net.sg
OS: linux mandrake 2.4.18
PHP: 4.3.0
i got the problem... again...
my 4.2.3 make nicely.
my 4.3.0 screw up with this error
--------
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/home/install/tmp/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the
use of tempnam' is dangerous, better use mkstemp'
--------
can anyone tell me which files in my
php-4.3.0/ext/mysql/
should i replace to re-fix the problem, please?
thanks
------------------------------------------------------------------------
[2002-08-03 01:00:11] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-07-02 09:56:01] sniper@php.net
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
(has updated bundled libmysql)
------------------------------------------------------------------------
[2002-05-29 23:56:23] asautins@php.net
Is this something that could be caught when ./configure is run? My
concern is that ./configure checks for tempnam successfully eventhough
it will not link.
However, since this seems to be the behavior of AC_CHECK_FUNCS there
might not be anything to do.
------------------------------------------------------------------------
[2002-05-22 15:41:14] mfischer@php.net
Even better this one http://gcc.gnu.org/ml/gcc/2002-02/msg01071.html
(one of the Follow-Ups)
------------------------------------------------------------------------
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/17312
--
Edit this bug report at http://bugs.php.net/?id=17312&edit=1