On Thu, Aug 05, 1999 at 06:33:04AM +0200, georg.funke@netcologne.de wrote:
Hi,
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
My System is Redhat 6.0 with kernel 2.2.10 and the compiler is gcc-2.95.
hmmm... that part of utils.c is the NetBSD workaround, and it probably have errors. You don't need that on Linux. The funny thing is that it compiles fine for me. Please check your config.log file, whether getutent() is found by the configure script. As a temporary fix change line 60 of utils.c from #ifndef HAVE_GETUTENT to #if 0 -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt