#21894 [NEW]: Unable to make
| From: | lewisluk at hotmail dot com | Date: | Mon, 27 Jan 2003 05:29:16 +0000 |
| Subject: | #21894 [NEW]: Unable to make | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31302@lists.php.net to get a copy of this message | ||
From: lewisluk@hotmail.com
Operating system: Redhat Linux 8.0
PHP version: 4.3.0
PHP Bug Type: Compile Failure
Bug description: Unable to make
I have problem compiling php 4.3.0 on Redhat Linux 8.0 after successfully
configured the scripts. (./configure).
./configure --with-apxs2=/opt/IBMIHS/bin/apxs
(with IBM HTTP Server/Apache 2.0.40)
Here are the errors I saw after I ran make:
(ok in the beginning until....)
.
.
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/opt/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam'
is dangerous, better use `mkstemp'
sapi/cli/php_cli.lo: In function `sapi_cli_deactivate':
/opt/php-4.3.0/sapi/cli/php_cli.c:221: undefined reference to
`sapi_globals_id'
sapi/cli/php_cli.lo: In function `main':
/opt/php-4.3.0/sapi/cli/php_cli.c:444: undefined reference to
`tsrm_startup'
/opt/php-4.3.0/sapi/cli/php_cli.c:473: undefined reference to
`compiler_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:473: undefined reference to
`ts_resource_ex'
/opt/php-4.3.0/sapi/cli/php_cli.c:474: undefined reference to
`executor_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:474: undefined reference to
`ts_resource_ex'
/opt/php-4.3.0/sapi/cli/php_cli.c:475: undefined reference to
`core_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:475: undefined reference to
`ts_resource_ex'
/opt/php-4.3.0/sapi/cli/php_cli.c:476: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:476: undefined reference to
`ts_resource_ex'
/opt/php-4.3.0/sapi/cli/php_cli.c:477: undefined reference to
`ts_resource_ex'
/opt/php-4.3.0/sapi/cli/php_cli.c:568: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:512: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:521: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:543: undefined reference to
`compiler_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:579: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:810: undefined reference to
`tsrm_shutdown'
/opt/php-4.3.0/sapi/cli/php_cli.c:598: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:645: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:671: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:677: undefined reference to
`compiler_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:687: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:715: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:733: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:734: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:747: undefined reference to
`executor_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:800: undefined reference to
`executor_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:750: undefined reference to
`core_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:725: undefined reference to
`sapi_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:700: undefined reference to
`compiler_globals_id'
/opt/php-4.3.0/sapi/cli/php_cli.c:799: undefined reference to
`executor_globals_id'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Appreciate for your help.
--
Edit bug report at http://bugs.php.net/?id=21894&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21894&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21894&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21894&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21894&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21894&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21894&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21894&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21894&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21894&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21894&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21894&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21894&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21894&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21894&r=gnused