#23283 [Com]: Compiling my_tempnam.lo
| From: | jasencio_cydu at hotmail dot com | Date: | Mon, 21 Apr 2003 17:49:37 +0000 |
| Subject: | #23283 [Com]: Compiling my_tempnam.lo | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38008@lists.php.net to get a copy of this message | ||
ID: 23283
Comment by: jasencio_cydu at hotmail dot com
Reported By: peterandersen at mespilus dot dk
Status: Feedback
Bug Type: Compile Failure
Operating System: RedHat Linux 9.0
PHP Version: 4.3.1
New Comment:
i have the same problem. I proved with
http://snaps.php.net/php4-STABLE-latest.tar.gz
and resolved part of problem. Now,
I need to use gzcompress() and i get "Call to undefined
function:gzcompress() ".
I need help. thanks
Previous Comments:
------------------------------------------------------------------------
[2003-04-20 05:39:09] 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-20 02:14:25] peterandersen at mespilus dot dk
Hi.
I have a big problem compiling PHP 4.3.1 and also 4.3.0 on a standart
RedHat 9 installation. I'm using ./configure --with-mysql --with-apxs2
and it goes fint. But when i comes to make i get the following error:
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function
`my_tempnam':
/Data/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnam' is
dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/Data/php-4.3.0/ext/mysql/libmysql/my_lib.c:169: undefined reference
to
`errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/Data/php-4.3.0/ext/mysql/libmysql/my_lib.c:588: undefined reference
to
`errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/Data/php-4.3.0/ext/mysql/libmysql/my_malloc.c:24: undefined reference
to
`errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function
`my_realloc':
/Data/php-4.3.0/ext/mysql/libmysql/my_realloc.c:44: undefined reference
to
`errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/Data/php-4.3.0/ext/mysql/libmysql/my_delete.c:16: undefined reference
to
`errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/Data/php-4.3.0/ext/mysql/libmy
sql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[root@test php-4.3.0]#
-CUT-
Please return to me and tell when this bug is beeing fiked.
Greetings Peter Andersen.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23283&edit=1