[syslog-ng] Compile Error for syslog-ng-1.1.30

Tomohiro Yamauchi (=?ISO-2022-JP?B?GyRCOzNGYhsoQg==?= =?ISO-2022-JP?B?IBskQkp+OUAbKEI=?=) handy@nid.co.jp
Thu, 05 Aug 1999 14:31:47 +0900


Hi.

From: georg.funke@netcologne.de
Subject: [syslog-ng] Compile Error for syslog-ng-1.1.30
Date: Thu, 5 Aug 1999 06:33:04 +0200 (CEST)
Message-ID: <199908050435.GAA05967@vekoll.saturnus.vein.hu>

> when i try to syslog-ng-1.1.30, i get the following error:
> 
> utils.c: In function `getutent':
> utils.c:70: syntax error before `ut'
> utils.c:77: `ut' undeclared (first use in this function)
> utils.c:77: (Each undeclared identifier is reported only once
> utils.c:77: for each function it appears in.)
> utils.c:79: warning: control reaches end of non-void function

Please change utils.c's 70 line.
<       static utmp ut;
---
>       static struct utmp ut;


and I fixed syslog-ng-1.1.30/configure's 2438 line.
< LIBOL_REQ_VERSION="0.2.1"
---
> LIBOL_REQ_VERSION="0.2.2"


But, syslog-ng don't record log messages to file.
My system is Solaris7 for SPARC.
syslog-ng.conf is as follows.

source src {
        sun-streams("/dev/log" door("/etc/.syslog_door"));
        internal();
};
destination test {
        file("/var/log/test.log");
};
log {
        source(src);    destination(test);
};


Execute syslog-ng with this syslog-ng.conf and generation
syslog events. For example `su -`.
The following is what truss output at the time.

13372:  door_return(0x00000000, 0, 0x00000000, 0)       = 0
13372:  poll(0xFFBEF9C8, 2, 60000)      (sleeping...)
13372:  signotifywait()                 (sleeping...)
13372:  lwp_cond_wait(0xFF14F618, 0xFF14F628, 0xFF105CA0) (sleeping...)
13372:  door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
13372:  door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)


He looks like always sleeping :-)

--
Tomohiro Yamauchi	handy@nid.co.jp