#87 Make fails when compiling with support for syslog

0.14
closed-invalid
nobody
5
2010-05-28
2010-05-28
Anonymous
No

When compiling Aide (at least on gentoo and RHEL5) with support for syslog (configured with ' ./configure --with-syslog_ident --with-syslog_facility --with-syslog_logopt --with-syslog_priority'), make fails with the following message:

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS -W -Wall -g -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
error.c: In function 'error_init':
error.c:64: error: 'yes' undeclared (first use in this function)
error.c:64: error: (Each undeclared identifier is reported only once
error.c:64: error: for each function it appears in.)
error.c: In function 'error':
error.c:166: error: 'yes' undeclared (first use in this function)
make[3]: *** [error.o] Error 1
make[3]: Leaving directory `/tmp/aide-0.14/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/aide-0.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/aide-0.14'
make: *** [all] Error 2

Discussion

  • Richard van den Berg

    • status: open --> closed-invalid
     
  • Richard van den Berg

    You need to specify parameters for each of these options, see http://linux.die.net/man/3/syslog
    For example:

    ./configure --with-syslog_ident=aide --with-syslog_facility=LOG_DAEMON --with-syslog_logopt=LOG_CONS --with-syslog_priority=LOG_NOTICE

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks