[syslog-ng] Compilation issue with syslog-ng 3.4.1
Balazs Scheidler
bazsi77 at gmail.com
Thu Feb 7 06:57:20 CET 2013
hi,
thanks for the report. seems pacct wasn't enabled when we did the test builds.
----- Original message -----
> Hello list.
>
> I'm facing some compilation issue with the pacct plugin:
>
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
> -I../../lib -I../../lib -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/eventlog -D_BSD_SOURCE
> -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include
> -I../../lib/ivykis/src/include -I../../lib/ivykis/src/include
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe
> -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
> -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wall -pthread -MT
> libpacctformat_la-pacct-format-plugin.lo -MD -MP -MF
> .deps/libpacctformat_la-pacct-format-plugin.Tpo -c pacct-format-plugin.c
> -fPIC -DPIC -o .libs/libpacctformat_la-pacct-format-plugin.o
> pacct-format-plugin.c:38:3: warning: initialization from incompatible
> pointer type [enabled by default]
> pacct-format-plugin.c:38:3: warning: (near initialization for
> 'pacct_format_plugin.construct') [enabled by default]
> mv -f .deps/libpacctformat_la-pacct-format-plugin.Tpo
> .deps/libpacctformat_la-pacct-format-plugin.Plo
> pacct-format.c:155:1: error: unknown type name 'LogProtoOptions'
> pacct-format.c:155:98: error: conflicting types for 'options'
> pacct-format.c:155:41: note: previous definition of 'options' was here
> pacct-format.c: In function 'pacct_construct_proto':
> pacct-format.c:157:3: warning: implicit declaration of function
> 'log_proto_binary_record_server_new' [-Wimplicit-function-declaration]
> pacct-format.c:157:3: warning: 'return' with a value, in function
> returning void [enabled by default]
> pacct-format.c: At top level:
> pacct-format.c:162:3: error: unknown field 'alter_proto_options'
> specified in initializer
> pacct-format.c:162:26: error: 'pacct_alter_proto_options' undeclared
> here (not in a function)
> pacct-format.c:164:1: warning: initialization from incompatible pointer
> type [enabled by default]
> pacct-format.c:164:1: warning: (near initialization for
> 'pacct_handler.parse') [enabled by default]
> make[3]: *** [libpacctformat_la-pacct-format.lo] Erreur 1
>
> This is a mageia cauldron system, 64 bits, with gcc 4.7.2.
> --
> BOFH excuse #368:
>
> Failure to adjust for daylight savings time.
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng FAQ:
> http://www.balabit.com/wiki/syslog-ng-faq
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130207/d187960c/attachment-0001.htm
More information about the syslog-ng
mailing list