ID: 23330
User updated by: news105 at guidoni dot com
Reported By: news105 at guidoni dot com
-Status: Closed
+Status: Open
Bug Type: Compile Failure
Operating System: RHL 9.0 Shrike - everything inst
PHP Version: 4.3.1
New Comment:
i read http://bugs.php.net/bug.php?id=22346 and
downloaded
the latest snapshot, php4-200304241530. i do a simple
./configure
then a
make
it gives this output and fails:
[previous lines deleted]
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_tempnam.c:103: the use of `tempnam' is dangerous, better
use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function
`my_dir':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function
`my_stat':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function
`my_malloc':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function
`my_realloc':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function
`my_delete':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/root/junk/
php4-200304241530/ext/mysql/libmysql/my_tempnam.c:108: more
undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
[root@gandalf php4-200304241530]# rpm -qa |grep glbic
Previous Comments:
------------------------------------------------------------------------
[2003-04-24 10:41:03] jay@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
This looks like a duplicate of 22346
(http://bugs.php.net/bug.php?id=22346), and it appears to
be fixed.
J
------------------------------------------------------------------------
[2003-04-24 09:21:00] news105 at guidoni dot com
emporary_file.lo main/php_logos.lo main/output.lo
main/memory_streams.lo main/user_streams.lo
Zend/zend_language_parser.lo Zend/zend_language_scanner.lo
Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo
Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo
Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
main/internal_functions.lo -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o
sapi/cgi/php
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/root/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
tempnam' is dangerous, better use mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/root/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to
`errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/root/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to
`errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc':
/root/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference
to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc':
/root/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference
to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/root/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference
to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/root/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
root@gandalf /root/php-4.3.1 289#
desperately need a command line version that will let (uggh) html/os do
a system("php somescript.php") without sending Content-type: text/html
ELF.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23330&edit=1