php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9501 variable sapi_module defined multiple places
Submitted: 2001-02-28 16:12 UTC Modified: 2001-10-23 07:21 UTC
From: amra at us dot ibm dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: OS400
Private report: No CVE-ID: None
 [2001-02-28 16:12 UTC] amra at us dot ibm dot com
I am attempting to create PHP CGI.  What I cannot understand is how one is suppose to create PHP when sapi_module is defined multiple places.  In my case, sapi_module is defined in main/SAPI.c and sapi/cgi/cgi_main.c.  When I try to create the program, I get 

"Definition supplied multiple times for symbol 'sapi_module'"

It would be nice of the truly global sapi_module (in SAPI.c) was renamed.  Or a rule ensuring that sapi_module in othre places, in which it is truely private, should not be named sapi_module.  Something to think about.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-09 12:42 UTC] amra at us dot ibm dot com
Just wondering what the status of this is...
 [2001-10-23 07:21 UTC] sniper@php.net
sapi_module is not defined in sapi/cgi/cgi_main.c afaik.
At least not in latest CVS. please try the latest CVS 
snapshot from http://snaps.php.net/ and reopen this bug
report if this problem still exists.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 21:01:29 2024 UTC