php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23362 failed to compile (is it a php bug?)
Submitted: 2003-04-26 12:00 UTC Modified: 2003-05-09 07:40 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: trepseb at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.1 OS: Redhat 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: trepseb at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-04-26 12:00 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-27 19:18 UTC] 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-28 09:54 UTC] jay@php.net
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 
 
 [2003-05-09 07:40 UTC] sniper@php.net
Some RH 9 problem. Not PHP bug.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 07:00:02 2026 UTC