[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ircd 2.9.5: running Solaris 2.6, exiting at fclose(stdout)



On Apr 19, James Waldrop wrote:
| I'm trying to get ircd 2.9.5 running on a machine with a fresh install
| of Solaris 2.6. The server keeps exiting silently (no core dump, just
| exiting). I tracked down the problem to sys_init() in ircd/s_bsd.c,
| specifically the (void)fclose(stdout); call.
|
| Does anyone know why this is happening? fclose() isn't returning at all,
| contrary to the documentation.

I have never heard os anything similar;
what is MAXCONNECTIONS set to?

| Also, I tried compiling with zlib support and found two problems --
| there was no #include <zlib.h> in the appropriate place and the compiler
| didn't link to -lz, both of which I fixed and things compiled fine after
| that. Of course I haven't been able to test it with a running server
| yet. I'm just noting it for those of you who care about fixing the
| standard distribution.

zlib.h is included, and -lz used; as long as configure found
the necessary files.  See doc/INSTALL or ./configure --help

| I also wanted to run DEBUG_MODE, but there were lots of problems with
| the compile when I try to define this flag.

there might be.. sigh