Hi,

I just checked. I received a potential patch some time ago from Maik Kündig,
find it attached. I did not yet merge it because I cannot even compile
omoracle in my environment.If it solves the issue, please let me know and
I'll apply it.

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Grigorescu, Vlad
> Sent: Wednesday, October 05, 2011 12:56 AM
> To: rsyslog-users
> Subject: [rsyslog] omoracle on rsyslog v6?
> 
> Hello,
> 
> Has anyone else tried building omoracle on rsyslog 6? It worked fine for me
in
> rsyslog-5.8.4, but it's failing in rsyslog-6.1.12:
> 
> <snip> (For full log file, see: <http://pastebin.ca/2086975>)
> omoracle.c: In function 'queryEtryPt':
> omoracle.c:575: error: 'newScope' undeclared (first use in this function)
> omoracle.c:575: error: (Each undeclared identifier is reported only once
> omoracle.c:575: error: for each function it appears in.)
> omoracle.c:575: error: 'restoreScope' undeclared (first use in this
> function)
> omoracle.c: In function 'modInit':
> omoracle.c:607: error: too few arguments to function 'omsdRegCFSLineHdlr'
> omoracle.c:611: error: too few arguments to function 'omsdRegCFSLineHdlr'
> omoracle.c:614: error: too few arguments to function 'omsdRegCFSLineHdlr'
> omoracle.c:617: error: too few arguments to function 'omsdRegCFSLineHdlr'
> omoracle.c:620: error: too few arguments to function 'omsdRegCFSLineHdlr'
> omoracle.c:628: error: too few arguments to function 'omsdRegCFSLineHdlr'
> omoracle.c:632: error: too few arguments to function 'omsdRegCFSLineHdlr'
> make[2]: *** [omoracle_la-omoracle.lo] Error 1
> make[2]: Leaving directory `/home/user/src/rsyslog-
> 6.1.12/plugins/omoracle'
> </snip>
> 
> 
> I've tried using progressively older versions of rsyslog6, going as far
back as
> 6.1.0, the earliest I could find.
> 
> It looks like the v6 branch introduces scoping, which seems to be related
to
> the error messages I see. Does the plugin need to be updated? I'll do some
> more poking around...
> 
> Thanks,
> 
>   --Vlad Grigorescu
>   IT Security Engineer
>   University of Illinois
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com

Attachment: omoracle.c.diff
Description: omoracle.c.diff

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to