[syslog-ng] Failed to compile syslog-ng-incubator with 3.7.0beta2

Jacek Drewniak jacek.drewniak at oort.in
Wed Aug 5 12:49:28 CEST 2015


Hi, I would like to compile incubator to use elasticsearch destination.
Unfortunately there is an error during compilation. :(

syslog-ng Incubator 0.4.1 configured
------------------------------------
 Debugging:            no
 Modules:
  basicfuncs-plus      yes
  kafka                yes
  logmongource:        yes
  lua:                 yes (lua5.1)
  monitor-source:      yes (lua5.1)
  perl:                no
  python:              yes (python)
  rss                  yes
  trigger-source       yes
  tfgetent             yes
  zmq                  no
  grok-parser          no
  date-parser          yes
  java                 yes

jacek at uwbTestField:~/syslog-ng-incubator$ make
/usr/local/share/tools/lex-rules.am:14: warning: overriding commands for
target `.y.c'
make: warning: ignoring old commands for target `.y.c'
  GEN      modules/trigger-source/trigger-source-grammar.y
  YACC     modules/trigger-source/trigger-source-grammar.c
  GEN      modules/monitor-source/monitor-source-grammar.y
  YACC     modules/monitor-source/monitor-source-grammar.c
  GEN      modules/rss/rss-grammar.y
  YACC     modules/rss/rss-grammar.c
  GEN      modules/lua/lua-grammar.y
  YACC     modules/lua/lua-grammar.c
  GEN      modules/python/python-grammar.y
  YACC     modules/python/python-grammar.c
  GEN      modules/kafka/kafka-grammar.y
  YACC     modules/kafka/kafka-grammar.c
  GEN      modules/zmq/zmq-grammar.y
  YACC     modules/zmq/zmq-grammar.c
  GEN      modules/java/native/java-grammar.y
  YACC     modules/java/native/java-grammar.c
  GEN      modules/java/org/syslog_ng/InternalMessageSender.class
  GEN      modules/java/org/syslog_ng/SyslogNgClassLoader.class
  GEN      modules/java/org/syslog_ng/LogMessage.class
  GEN      modules/java/org/syslog_ng/LogTemplate.class
  GEN      modules/java/org/syslog_ng/LogPipe.class
  GEN      modules/java/org/syslog_ng/LogDestination.class
  GEN      modules/java/org/syslog_ng/TextLogDestination.class
  GEN      modules/java/org/syslog_ng/StructuredLogDestination.class
  GEN      modules/java/org/syslog_ng/DummyTextDestination.class
  GEN      modules/java/org/syslog_ng/DummyStructuredDestination.class
  GEN      modules/java/LogDestination.h
  GEN      modules/java/LogMessage.h
  GEN      modules/java/LogTemplate.h
  GEN      modules/java/InternalMessageSender.h
  GEN      modules/java/SyslogNg.jar
added manifest
adding: org/(in = 0) (out= 0)(stored 0%)
adding: org/syslog_ng/(in = 0) (out= 0)(stored 0%)
adding: org/syslog_ng/LogPipe.class(in = 1461) (out= 825)(deflated 43%)
adding: org/syslog_ng/SyslogNgClassLoader.class(in = 4154) (out=
2224)(deflated 46%)
adding: org/syslog_ng/DummyTextDestination.class(in = 1273) (out=
675)(deflated 46%)
adding: org/syslog_ng/LogMessage.class(in = 576) (out= 353)(deflated 38%)
adding: org/syslog_ng/DummyStructuredDestination.class(in = 1692) (out=
905)(deflated 46%)
adding: org/syslog_ng/SyslogNgClassLoader$1.class(in = 1305) (out=
648)(deflated 50%)
adding: org/syslog_ng/TextLogDestination.class(in = 491) (out=
334)(deflated 31%)
adding: org/syslog_ng/InternalMessageSender.class(in = 875) (out=
448)(deflated 48%)
adding: org/syslog_ng/LogDestination.class(in = 908) (out= 516)(deflated
43%)
adding: org/syslog_ng/LogTemplate.class(in = 785) (out= 477)(deflated 39%)
adding: org/syslog_ng/StructuredLogDestination.class(in = 649) (out=
406)(deflated 37%)
  GEN      modules/date/date-parser-grammar.y
  YACC     modules/date/date-parser-grammar.c
make  all-am
make[1]: Entering directory `/home/jacek/syslog-ng-incubator'
/usr/local/share/tools/lex-rules.am:14: warning: overriding commands for
target `.y.c'
make[1]: warning: ignoring old commands for target `.y.c'
  CC
modules/trigger-source/modules_trigger_source_libtrigger_source_la-trigger-source-grammar.lo
  CC
modules/trigger-source/modules_trigger_source_libtrigger_source_la-trigger-source.lo
modules/trigger-source/trigger-source.c: In function 'trigger_source_new':
modules/trigger-source/trigger-source.c:167:27: error: too few arguments to
function 'log_source_set_options'
                           owner->super.super.id, NULL, FALSE, FALSE);
                           ^
In file included from modules/trigger-source/trigger-source.h:28:0,
                 from modules/trigger-source/trigger-source.c:24:
/usr/local/include/syslog-ng/logsource.h:97:6: note: declared here
 void log_source_set_options(LogSource *self, LogSourceOptions *options,
gint stats_level, gint stats_source, const gchar *stats_id, const gchar
*stats_instance, gboolean threaded, gboolean pos_tracked, LogExprNode
*expr_node);
      ^
make[1]: ***
[modules/trigger-source/modules_trigger_source_libtrigger_source_la-trigger-source.lo]
Error 1
make[1]: Leaving directory `/home/jacek/syslog-ng-incubator'
make: *** [all] Error 2


-- 
*Jacek Drewniak*
R&D

*email*: jacek.drewniak at oort.in

*mobile*: *+**48 696 151 670*

*website*: www.oort.in




AWARDS

Bluetooth Breakthrough Award Finalist
CES 2015 Envisioneering Innovation & Design Award Winner
Tech Trailblazers Awards Winner
Most exciting company at Bluetooth Media Event in New York 2014
Polish Agency for Enterprise Development Award Winner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150805/5b887b7b/attachment.htm 


More information about the syslog-ng mailing list