[syslog-ng] Syslog-ng losing messages on solaris 10

Balazs Scheidler bazsi at balabit.hu
Wed Mar 12 11:08:36 CET 2008


On Mon, 2008-03-03 at 09:50 +0000, AndyH at nominet.org.uk wrote:
> 
> syslog-ng-bounces at lists.balabit.hu wrote on 29/02/2008 17:40:16:
> 
> > > > All options I have left is to force clients to wait somewhat when
> they
> > > > invoke the syslog door, this'd be poor man's flow-control though.
> > > >
> > > > This patch fixes the door initialization problem:
> > > >
> > > > http://git.balabit.hu/?p=bazsi/syslog-ng-2.
> > > > 1.git;a=commit;h=5b65710e9781203d005e6f4bcb3f33bad4f827b6
> > >
> > > patch fails to compile:
> > >
> > > afstreams.c:195: warning: implicit declaration of function
> > > `register_application_hook'
> > > afstreams.c:195: error: `AH_POST_DAEMONIZED' undeclared (first use in
> this
> > > function)
> > > afstreams.c:195: error: (Each undeclared identifier is reported only
> once
> > > afstreams.c:195: error: for each function it appears in.)
> >
> > The patch is for syslog-ng 2.1, not for 2.0, it needs further backports.
> 
> Fails to compile on the 2.1 source:
> 
> Undefined                       first referenced
>  symbol                             in file
> yylex
> /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../sparcv9/libfl.so
> ld: fatal: Symbol referencing errors. No output written to loggen
> collect2: ld returned 1 exit status
> gmake[3]: *** [loggen] Error 1
> gmake[2]: *** [all-recursive] Error 1
> gmake[1]: *** [all-recursive] Error 1
> gmake: *** [all] Error 2

I don't see how 2.1 is different in this regard from 2.0, probably the
lex file was improperly generated. Can you check if cfg-lex.c is 0 bytes
long? (which causes it to compile, but without any code).

-- 
Bazsi



More information about the syslog-ng mailing list