On Tue, Jul 31, 2001 at 03:12:20AM +0100, Pier P. Fumagalli wrote: > Any clue??? :)
Some. I'd recommend using Apache 2.0 for this case because httpd-2.0 is already using threads (and sets up the compiler flags accordingly). I have a feeling that he is compiling Apache 1.3/mod_webapp/apr without _REENTRANT defined at compile-time, so bad things will happen on Solaris when you try to create a thread at run-time. Also, remember that there are two versions of the Solaris threading libraries (apr would use pthread and his ORB would use thread). However, the man pages say that they *should* be compatible even in the same process. They even have an example in the man pages... > > I thought it might be that I hadn't put -lthread in the link line but that's > > even nastier - Apache doesn't even manage to startup if I do that. > > Is it simply crashing or does it give some output? This leads me to believe that _REENTRANT isn't defined correctly at compile-time. -- justin
