php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21894 Unable to make
Submitted: 2003-01-26 23:29 UTC Modified: 2003-01-29 00:07 UTC
Votes:7
Avg. Score:4.7 ± 0.5
Reproduced:5 of 7 (71.4%)
Same Version:5 (100.0%)
Same OS:3 (60.0%)
From: lewisluk at hotmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.0 OS: Redhat Linux 8.0
Private report: No CVE-ID: None
 [2003-01-26 23:29 UTC] lewisluk at hotmail dot com
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.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-28 13:30 UTC] lewisluk at hotmail dot com
Yes it is working now without problem, thanks!  So I guess the next version will solve this problem?  Since it says version 4.3.1-dev now.
 [2003-01-29 00:07 UTC] sniper@php.net
Yes, next release will be 4.3.1 which is a bugfix release.
I don't know when it will be released though, but soon, I hope. :)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Aug 15 23:01:28 2024 UTC