Re: 2 questions: getter/setter use and streams use
| From: | Uwe Schindler | Date: | Tue, 15 Apr 2003 07:01:59 +0000 |
| Subject: | Re: 2 questions: getter/setter use and streams use | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-924@lists.php.net to get a copy of this message | ||
You have to use -lstdio-mt -lsfio-mt because you need a thread save implementation. It worked for me at the end, but first I had to fix the problems with _FILE_TAG. I wrote a bug report to AT&T and they confirmed it. The problem with linking could be another specific one. I will try it also under Solaris 9 for x86 in a vmware at my local computer, too.
Uwe
At 17:10 14.04.2003 -0400, Jay Smith wrote:
I've got sfio working with php on Solaris 8 SPARC. Had some problems in the beginning, but it does seem to be working. (Well, it compiles and links fine, at least. They definitely aren't in the current directory when building php.) Try LIBS="-L/path/to/sfio/lib/ -lstdio -lsfio" ./configure ... Worked for me, anyway. J Uwe Schindler wrote: Sorry that I wait so long in testing sfio on solaris 9, but after tomorrow I will have enough time (diploma exam...). What I can say about it: The current version of sfio is not compatible with Solaris 8/9: * Compiling fails because FILE_TAG is not only declared in stdio.h only, also in some other .h files (I think this is for faster preprocessing???) * Linking with -lstdio -lsfio only works if libstdio.a and libsfio.a are in the current directory (-L. instead of -L/path/to/libs), if not it fails (I do not know why, could be that -L. is used automatically as the first search path for libs, if use exact dir it is searched for at the end) When this problems are solved, I would prefer to make a switch --with-sfio into the configure script. I think I will check this during this week. If the linking problem is still there a method to fix this would be by copying the .a files befor make or in the configure script). The missing replacement header file problem can be fixed by one additional replacement for floating_point.h (this is the header file which has a duplicate definition of FILE_TAG). Uwe -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php----- 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: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!