#23362 [Fbk]: failed to compile (is it a php bug?)

From: Date: Mon, 28 Apr 2003 14:54:27 +0000
Subject: #23362 [Fbk]: failed to compile (is it a php bug?)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38581@lists.php.net to get a copy of this message
ID: 23362 Updated by: jay@php.net Reported By: trepseb at hotmail dot com Status: Feedback Bug Type: Compile Failure Operating System: Redhat 9 PHP Version: 4.3.1 New Comment: This has been fixed. (Or will be very soon now.) See http://bugs.php.net/bug.php?id=23330 The fix should be committed Real Soon Now. #including errno.h in the files mentioned in the bug comments works for the moment. J Previous Comments: ------------------------------------------------------------------------ [2003-04-27 19:18:22] alietss at yahoo dot com Hey Guys, come on!! I reported a bug related to this almost one month ago, there's something here with php and RedHat 9.0, everybody say test the snapshot How if we are playing to waste the time, I'm tired of testing snapshots and nothing, does anybody can give a answer to this problem in Redhat 9.0. If doesn't fails with mysql fails with openssl etc fails, we are not reporting this, for receive a "test a snapshot", because that's what we are doing, if there's a problem please tell us and don't let waste our time, we need it, and there are a some bugs reported about this, eh , so please tell if the problem is the combination Redhat 9.0 and php and that's all. Sorry my words but I'm tired. Thank's ------------------------------------------------------------------------ [2003-04-26 12:20:03] helly@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#38581) next »