#23330 [Opn]: Compile fails
| From: | news105 at guidoni dot com | Date: | Thu, 24 Apr 2003 18:08:25 +0000 |
| Subject: | #23330 [Opn]: Compile fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38329@lists.php.net to get a copy of this message | ||
ID: 23330
User updated by: news105 at guidoni dot com
Reported By: news105 at guidoni dot com
Status: Open
Bug Type: MySQL related
Operating System: RHL 9.0 Shrike - everything inst
PHP Version: 4.3.1
New Comment:
we're using mysql 3.23.54a-11. thanks in advance.
--michele
Previous Comments:
------------------------------------------------------------------------
[2003-04-24 13:02:02] news105 at guidoni dot com
bogus? whatever. gcc 3.2.2 is being distributed with rhl9
and 2.9.6 is what came with rhl7. does it require a 486?
i appreciate your efforts, but wonder why one would suggest
that the latest version of their software is somehow not
fubar relative to a 4 year old version of someone elses.
is it that php is only stable when used with an os > 4
years old?
------------------------------------------------------------------------
[2003-04-24 12:43:42] sniper@php.net
Get a working compiler. (gcc 2.95.3 works fine here, anything higher is
fubar)
------------------------------------------------------------------------
[2003-04-24 12:37:35] jay@php.net
What version of MySQL are you using? I tried out a fresh
CVS checkout with 3.23.38 and it seemed to work okay.
J
------------------------------------------------------------------------
[2003-04-24 11:29:00] news105 at guidoni dot com
i forgot to mention that i did do a rpmbuild --rebuild --
target i686-redhat-linux for mysql and httpd (apache).
many thanks for your efforts.
--michele
------------------------------------------------------------------------
[2003-04-24 11:01:38] news105 at guidoni dot com
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
------------------------------------------------------------------------
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/23330
--
Edit this bug report at http://bugs.php.net/?id=23330&edit=1