#23729 [NEW]: Fails at make
| From: | pavel dot golub at farata dot kr dot ua | Date: | Wed, 21 May 2003 05:13:35 +0000 |
| Subject: | #23729 [NEW]: Fails at make | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40113@lists.php.net to get a copy of this message | ||
From: pavel dot golub at farata dot kr dot ua
Operating system: Mandrake Linux 9.1
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: Fails at make
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/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.lo(.text+0x3d1): In function `my_dir':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to
`errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to
`errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to
`errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to
`errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to
`errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/php-4.3.1/ext/mysql/libmys
ql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Then I change the source of ./ext/mysql/libmysql/mysql.h by adding
string:
#include <errno.h>
but the result was the same.
The same error present in RedHat9
--
Edit bug report at http://bugs.php.net/?id=23729&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23729&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23729&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23729&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23729&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23729&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23729&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23729&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23729&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23729&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23729&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23729&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23729&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23729&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23729&r=gnused