BEEP system loggin on Solaris
"Des Smith" <[email protected]> Thu, 15 Aug 2002 17:05:07 +0100
| Newsgroups | gmane.network.beep.beepcore.c.general |
|---|---|
| Message-ID | <000001c24475$86538c80$b80112ac@DESSMITH> |
Ive been using the beepcore-c on FreeBSD. Im 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 isnt 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.