Re: BEEP system loggin on Solaris

"William J. Mills" <[email protected]> Thu, 15 Aug 2002 12:51:39 -0500
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <[email protected]>
Wow bummer.  To think our first dev platform for that stuff 
was Solaris.  How depressing.

-bill

On Thu, Aug 15, 2002 at 05:05:07PM +0100, Des Smith wrote:
> Ive been using the beepcore-c on FreeBSD. I’m moving the code to Solaris
> (SunOS 5.8).
>  
> Ive found some problems with running with the same beepd.cfg file.
> Namely beepcore (logconf.c) complains about an invalid log_mode in the
> config file.
>  
> I put some debug info into the logconf.c and found that SYSLOG_NAMES and
> INTERNAL_MARK are defined at the point where the logging is initialised
> on FreeBSD, but not on Solaris. 
>  
> Looking at the syslog.h files for Solaris and FreeBSD , the required
> CODE type isn’t defined for Solaris. 
>  
> Having define the CODE type in my logconf.c , the facilitynames[ ] array
> and prioritynames[ ] array also need to be defined.
>  
> Have others used beepcode-c on Solaris. Are there other known issues
> when using on Solaris?
>  
> Thanks,
> Des Smith.
>  
>  
>  
>  


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390