* linking together with compatiblity libstdio-mt.a (-lstdio-mt) does not work because this works not for .so files. The linking to libc is not overwritten. If you compile a whole program with it, it works (the init code of libstdio-mt.a unlinks all references to libc). But SunONE/iPlanet servers are not available in sourcecode so you cannot recompile the main code.
* To compile with sfio that it works you have to include everywhere the special version of "stdio.h" (not with <>...). So we need a #define and we should include it to php-config.h and remove all occurences of #include <stdio.h> from code... and link to "libsfio.a". But this did not work, if I include CFLAGS=... before the ./configure it appends the -I at the end of all includes and will not use the special version of stdio.h I think the problem is the <> around the standard includes, they have to be ""...
* If I do it really hard by: CC="gcc -nostdinc -I/../sfio/include -I/usr/include" ./configure (to get the right search order)
The compiler claims about some redefinitions and stops somewhere in pthread.h :(
Larry: Do you know how I could do this?
Uwe
At 05:58 25.03.2003 -0600, you wrote:
--On Tuesday, March 25, 2003 11:57:04 +0000 Wez Furlong <[EMAIL PROTECTED]> wrote:
http://www.research.att.com/sw/tools/sfio/ ?yep.My pleasure.
This sounds like a reasonable fix; we would need to add a configure check for this. (Although CFLAGS=-I/path/to/sfio/includes ./configure should also work).
Uwe, could you try this out?
Thanks for the suggestion Larry :)
when I was at a Solaris ISP, I used it for my Apache, and it worked great.
LER
--Wez.
On Tue, 25 Mar 2003, Larry Rosenman wrote:There is an AT&T SFIO package that is a drop in replacement stdio package that fixes this for solaris.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http:///www.schindlers-software.de eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php