Date: 11/20/00
- Next message: thomas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7889 Updated: symbol getsesenv: referenced symbol not found"
- Previous message: John Wright: "Re: [PHP-DEV] .lib file for a Win32 compile"
- In reply to: Bill Stoddard: "Re: [PHP-DEV] [PATCH] Fix compile problem with php4 on AIX using the xlc compiler"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Reply: Sascha Schumann: "Re: [PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
My last note may have been lost in the noise, so reposting...
Pulled the latest php4 from cvs last week and I am still having problems
getting a clean compile on AIX using xlc.
./buildconf
./configure --with-apxs=path --without-mysql --without-xml
Problem 1:
is in php_config.h,
line 60.9: (S) Macro name inline cannot be redefined
"inline" is defined on line 78 of php.h
The attached patch fixes this problem. Any reason this patch should not be
committed?
Problem 2:
Seg fault on start-up because the apache symbols have not been imported by the
php dso. There is a bug report on this and the work around described in the
report is valid. I am not a autoconf/libtool guru and don't have a clear idea
how to fix this one.
Update: I believe problem 2 can be cleanly fixed with the next release of
libtool (ability to pass arbitrary flags to the linker), so I've been told.
Can anyone confirm this?
Problem 3:
dlfcn.h header not being discovered because the xlc #line directive does
not support line numbers over 32768 (bleh). I have not found a clean way
around this. I wrote a perl script to munge the #line directives in the
configure script as a temporary solution. Any suggestions?
There are other problems if I include mysql or xml. Wanted to knock these out
first....
Thanks,
Bill
Index: php.h
===================================================================
RCS file: /repository/php4/main/php.h,v
retrieving revision 1.126
diff -u -r1.126 php.h
--- php.h 2000/11/02 15:32:52 1.126
+++ php.h 2000/11/09 20:10:08
@@ -71,7 +71,7 @@
#define PHP_DEBUG ZEND_DEBUG
-#if PHP_DEBUG || !(defined(__GNUC__)||defined(PHP_WIN32))
+#if PHP_DEBUG || !(defined(__GNUC__)||defined(PHP_WIN32)||defined(__IBMC__))
#ifdef inline
#undef inline
#endif
-- 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>
- Next message: thomas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7889 Updated: symbol getsesenv: referenced symbol not found"
- Previous message: John Wright: "Re: [PHP-DEV] .lib file for a Win32 compile"
- In reply to: Bill Stoddard: "Re: [PHP-DEV] [PATCH] Fix compile problem with php4 on AIX using the xlc compiler"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Reply: Sascha Schumann: "Re: [PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

