php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7280 global iniline not supported in SGI Compiler
Submitted: 2000-10-17 11:08 UTC Modified: 2001-08-07 09:50 UTC
From: robert dot marchand at umontreal dot ca Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: SGI IRIX 6.5.8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: robert dot marchand at umontreal dot ca
New email:
PHP Version: OS:

 

 [2000-10-17 11:08 UTC] robert dot marchand at umontreal dot ca
This is a followup to bug #5882

In order to compile and use the Apache dynamic module libphp4.so, the following
line in php_config.h has to be changed:

#define inline __inline

to 

#define inline

Otherwise, I get this error when trying to access a php page:

rld: Fatal Error: attempted access to unresolvable symbol in
/usr/local/apache/libexec/libphp4.so: _array_init

The compiler is the SGI Mipspro compiler version 7.3.
According to the C++ Programmer's Guide (MipsPro): 
extern inline functions are not supported.

My configure line is:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
--with-imap=/usr/local/imap --with-ldap=/usr/local

Other suggestions (like -Dinline= and --enable-c9x-inline) did not work.

Thanks!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-21 06:12 UTC] sniper@php.net
Please try the latest snapshot from http://snaps.php.net/
as this should be fixed now.

--Jani
 [2000-12-30 20:20 UTC] sniper@php.net
No feedback. If this happens with PHP 4.0.4 reopen this bug report.

--Jani
 [2001-01-03 11:59 UTC] robert dot marchand at umontreal dot ca
Hi,

   I didn't have time to check it before.  The bug is still there
with php 4.0.4 (exactly the same as already described) and the line

#define inline __inline

is still in main/php_config.h.

Changing it for

#define inline

work as before.

Do I have to add some flag to the configure line?

Thanks.

 [2001-04-16 06:09 UTC] jmoore@php.net
same as 5882. There is a fix included Stas or andi you responded to 5882 perhaps you can look at the fix.

- James
 [2001-08-04 00:04 UTC] sniper@php.net
Fixed in CVS.

 [2001-08-07 09:50 UTC] robert dot marchand at umontreal dot ca
Hi,

   I've tested it with PHP-4.0.7-cvs (snapshot of 2001/08/06) and it appears to be fixed. Thanks!

Note: PHP-4.0.6 still had the bug.

Robert Marchand
Universit? de Montr?al

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 30 18:01:35 2025 UTC