[PHP-DEV] PHP 4.0 Bug #7280 Updated: global iniline not supported in SGI Compiler From: robert.marchand <email protected>
Date: 01/03/01

ID: 7280
User Update by: robert.marchand <email protected>
Old-Status: Closed
Status: Open
Bug Type: *Install and Config
Description: global iniline not supported in SGI Compiler

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.

Previous Comments:
---------------------------------------------------------------------------

[2000-12-30 20:20:09] sniper <email protected>
No feedback. If this happens with PHP 4.0.4 reopen this bug report.

--Jani

---------------------------------------------------------------------------

[2000-11-21 06:12:07] sniper <email protected>
Please try the latest snapshot from http://snaps.php.net/
as this should be fixed now.

--Jani

---------------------------------------------------------------------------

[2000-10-17 11:08:06] robert.marchand <email protected>
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!

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=7280

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>