ID: 23330
User updated by: news105 at guidoni dot com
Reported By: news105 at guidoni dot com
Status: Closed
Bug Type: MySQL related
Operating System: RHL 9.0 Shrike - everything inst
PHP Version: 4.3.1
New Comment:
here's the info. thanks again.
glibc-2.3.2-27.9
gcc-3.2.2-5
#include <errno.h> was added to these files
-------------------------------------------
php4-200304241530/ext/mysql/libmysql/my_lib.c
php4-200304241530/ext/mysql/libmysql/my_malloc.c
php4-200304241530/ext/mysql/libmysql/my_realloc.c
php4-200304241530/ext/mysql/libmysql/my_delete.c
php4-200304241530/ext/mysql/libmysql/my_tempnam.c
php4-200304241530/ext/mysql/libmysql/my_error.c
php4-200304241530/ext/mysql/libmysql/my_getwd.c
php4-200304241530/ext/mysql/libmysql/safemalloc.c
php4-200304241530/ext/mysql/libmysql/my_once.c
this error remained, although it successfully made the
sapi/cli/php binary i needed:
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function
`my_tempnam':
php4-200304241530/ext/mysql/libmysql/my_tempnam.c:104: the
use of tempnam' is dangerous, better use mkstemp'
Previous Comments:
------------------------------------------------------------------------
[2003-04-24 15:20:52] jay@php.net
Glad that worked.
Which files needed the change, specifically? I don't have
a box with MySQL, glibc 2.3.x and gcc 3.2.2 on it so I
can't test at the moment. (I think the problem was glibc,
not gcc, btw.)
J
------------------------------------------------------------------------
[2003-04-24 14:48:20] news105 at guidoni dot com
thanks a 10^9, j. that worked like a charm. got the cli
binary.
how does that get propogated into the source or will it?
--michele
------------------------------------------------------------------------
[2003-04-24 14:14:12] jay@php.net
Try putting
#include <errno.h>
near the top of the offending files, such as my_tempnam.c,
my_delete.c, etc. and see if that helps.
J
------------------------------------------------------------------------
[2003-04-24 13:08:24] news105 at guidoni dot com
we're using mysql 3.23.54a-11. thanks in advance.
--michele
------------------------------------------------------------------------
[2003-04-24 13:02:02] news105 at guidoni dot com
bogus? whatever. gcc 3.2.2 is being distributed with rhl9
and 2.9.6 is what came with rhl7. does it require a 486?
i appreciate your efforts, but wonder why one would suggest
that the latest version of their software is somehow not
fubar relative to a 4 year old version of someone elses.
is it that php is only stable when used with an os > 4
years old?
------------------------------------------------------------------------
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/23330--
Edit this bug report at http://bugs.php.net/?id=23330&edit=1