Re: PHP 4 on AIX using the xlc compiler

From: Date: Tue, 21 Nov 2000 18:29:05 +0000
Subject: Re: PHP 4 on AIX using the xlc compiler
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38846@lists.php.net to get a copy of this message
On Mon, 20 Nov 2000, Bill Stoddard wrote: > 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? I've removed that part completely. We do inline handling at another point. > 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? Does not -Wl,.. work for you? > 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.... The double definition of a symbol in the XML module has been fixed during the Hackathon. The MySQL problem is still there. - Sascha

« previous php.dev (#38846) next »