#23362 [Opn->Fbk]: failed to compile (is it a php bug?)
| From: | helly@php.net | Date: | Sat, 26 Apr 2003 17:20:03 +0000 |
| Subject: | #23362 [Opn->Fbk]: failed to compile (is it a php bug?) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38460@lists.php.net to get a copy of this message | ||
ID: 23362
Updated by: helly@php.net
Reported By: trepseb at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Redhat 9
PHP Version: 4.3.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-04-26 12:00:57] trepseb at hotmail dot com
I made a normal ./configure and the tried "make".
This was the last message before failure:
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':
/tmp/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':
/tmp/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':
/tmp/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':
/tmp/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':
/tmp/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference
to `errno'
ext/mymain.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':
/tmp/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':
/tmp/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':
/tmp/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':
/tmp/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':
/tmp/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':
/tmp/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference
to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/tmp/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] Fehler 1
sql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/tmp/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference
to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/tmp/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] Fehler 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23362&edit=1