#23283 [NEW]: Compiling my_tempnam.lo
| From: | peterandersen at mespilus dot dk | Date: | Sun, 20 Apr 2003 07:14:25 +0000 |
| Subject: | #23283 [NEW]: Compiling my_tempnam.lo | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37917@lists.php.net to get a copy of this message | ||
From: peterandersen at mespilus dot dk
Operating system: RedHat Linux 9.0
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: Compiling my_tempnam.lo
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 bug report at http://bugs.php.net/?id=23283&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23283&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23283&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23283&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23283&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23283&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23283&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23283&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23283&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23283&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23283&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23283&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23283&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23283&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23283&r=gnused