ID: 17312 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Redhat 7.2 PHP Version: 4.2.1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2002-05-22 15:41:14] [EMAIL PROTECTED] Even better this one http://gcc.gnu.org/ml/gcc/2002-02/msg01071.html (one of the Follow-Ups) ------------------------------------------------------------------------ [2002-05-22 15:39:57] [EMAIL PROTECTED] I've found this line through google: http://gcc.gnu.org/ml/gcc/2002-02/msg00965.html ------------------------------------------------------------------------ [2002-05-22 15:32:59] [EMAIL PROTECTED] To me it looks like the linker has trouble with it somehow. Compiles OK, but fails in linking with the 'unhandled FORM value: 14' error. Again, it looks as if the routines in my_tempnam.c are not referenced anywhere in the extension, so to me it looks as if it would be safe to remove the source file. ------------------------------------------------------------------------ [2002-05-22 15:19:20] [EMAIL PROTECTED] Does this mean by chance the gcc 3.1 treats this as an error what used to be a warning only in 2.9x ? ------------------------------------------------------------------------ [2002-05-22 12:31:04] [EMAIL PROTECTED] It seems that the functions in my_tempnam.c are not used. If I removed my_tempnam.c from ext/mysql/config.m4 php builds and seems to run correctly. config.m4 53c53 < libmysql/my_delete.c libmysql/my_tempnam.c libmysql/my_open.c libmysql/mf_casecnv.c libmysql/my_read.c \ --- > libmysql/my_delete.c libmysql/my_open.c libmysql/mf_casecnv.c libmysql/my_read.c \ ------------------------------------------------------------------------ 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