[rsyslog-notify] Forum Thread: configure works, make doesn't make[2]: *** [librsyslog_la-ms - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Tue Sep 9 21:15:55 CEST 2014


User: LinuxDude2014 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24913#p24913

Message: 
----------
configure works, make doesn't make[2]: *** [librsyslog_la-ms

The OS is CentOS6 64-bit

Here is the snippet:
[code:2mc41bmi]  CC     librsyslog_la-msg.lo
msg.c: In function 'getJSONPropVal':
msg.c:2736: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'msgGetJSONPropJSON':
msg.c:2789: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'MsgSetPropsViaJSON':
msg.c:4077: error: 'json_tokener_errors' undeclared (first
use in this function)
msg.c:4077: error: (Each undeclared identifier is reported
only once
msg.c:4077: error: for each function it appears in.)
msg.c: In function 'jsonPathFindNext':
msg.c:4149: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'jsonFind':
msg.c:4218: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'msgAddJSON':
msg.c:4263: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'msgDelJSON':
msg.c:4338: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
make[2]: *** [librsyslog_la-msg.lo] Error 1
make[2]: Leaving directory
`/root/rsyslog-8.4.0/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rsyslog-8.4.0'
make: *** [all] Error 2[/code:2mc41bmi]

And here's the full configure make:
[code:2mc41bmi][root at logging rsyslog-8.4.0]#
./configure --prefix=/usr --libdir=/usr/lib64 --disable-uuid
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for valgrind... no
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached)
yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none
needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together...
yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments...
1966080
checking whether the shell understands some XSI constructs...
yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf
%s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc
object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBESTR... yes
checking for LIBLOGGING_STDLOG... yes
checking for JSON_C... no
checking for JSON_C... yes
checking for json_object_new_object in -ljson-c... yes
checking for json_object_new_int64... yes
checking for library containing clock_gettime... -lrt
checking for library containing mq_getattr... none required
checking for library containing dlopen... -ldl
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible...
yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be
included... yes
checking whether struct tm is in sys/time.h or
time.h... time.h
checking for working volatile... yes
checking for struct sockaddr.sa_len... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct
timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for vprintf... yes
checking for _doprnt... no
checking for flock... yes
checking for inotify_init... yes
checking for recvmmsg... yes
checking for basename... yes
checking for alarm... yes
checking for clock_gettime... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for select... yes
checking for setsid... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for ttyname_r... yes
checking for getline... yes
checking for malloc_trim... yes
checking for prctl... yes
checking for epoll_create... yes
checking for epoll_create1... yes
checking for fdatasync... yes
checking for syscall... yes
checking for lseek64... yes
checking for off64_t... yes
checking for library containing getifaddrs... none required
checking whether SCM_CREDENTIALS is declared... yes
checking whether SO_TIMESTAMP is declared... yes
checking whether SYS_gettid is declared... yes
checking for struct sysinfo.uptime... yes
checking whether GLOB_NOMAGIC is declared... yes
checking for MAXHOSTNAMELEN... yes
checking for __builtin_expect()... yes
checking whether the compiler provides atomic builtins... yes
checking whether the compiler provides atomic builtins for 64 bit data
types... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for special C compiler options needed for large
files... no
checking for _FILE_OFFSET_BITS value needed for large files...
no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pthread_setschedparam... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for library containing sched_get_priority_max... none
required
checking for sched_get_priority_max... yes
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for gcry_cipher_open in -lgcrypt... yes
checking hdfs.h usability... no
checking hdfs.h presence... no
checking for hdfs.h... no
checking hadoop/hdfs.h usability... no
checking hadoop/hdfs.h presence... no
checking for hadoop/hdfs.h... no
configure: checking if required man pages already exist...
Some man pages are missing or --enable-generate-man-pages given. We
need rst2man to generate man pages from source...
checking for rst2man... rst2man
configure: creating ./config.status
config.status: creating Makefile
config.status: creating runtime/Makefile
config.status: creating compat/Makefile
config.status: creating grammar/Makefile
config.status: creating tools/Makefile
config.status: creating plugins/imudp/Makefile
config.status: creating plugins/imtcp/Makefile
config.status: creating plugins/im3195/Makefile
config.status: creating plugins/imgssapi/Makefile
config.status: creating plugins/imuxsock/Makefile
config.status: creating plugins/imjournal/Makefile
config.status: creating plugins/immark/Makefile
config.status: creating plugins/imklog/Makefile
config.status: creating plugins/imkmsg/Makefile
config.status: creating plugins/omhdfs/Makefile
config.status: creating plugins/omprog/Makefile
config.status: creating plugins/mmexternal/Makefile
config.status: creating plugins/omstdout/Makefile
config.status: creating plugins/omjournal/Makefile
config.status: creating plugins/pmrfc3164sd/Makefile
config.status: creating plugins/pmlastmsg/Makefile
config.status: creating plugins/pmcisconames/Makefile
config.status: creating plugins/pmciscoios/Makefile
config.status: creating plugins/pmsnare/Makefile
config.status: creating plugins/pmaixforwardedfrom/Makefile
config.status: creating plugins/omruleset/Makefile
config.status: creating plugins/omuxsock/Makefile
config.status: creating plugins/imfile/Makefile
config.status: creating plugins/imsolaris/Makefile
config.status: creating plugins/imptcp/Makefile
config.status: creating plugins/imttcp/Makefile
config.status: creating plugins/impstats/Makefile
config.status: creating plugins/imrelp/Makefile
config.status: creating plugins/imdiag/Makefile
config.status: creating plugins/imzmq3/Makefile
config.status: creating plugins/omtesting/Makefile
config.status: creating plugins/omgssapi/Makefile
config.status: creating plugins/ommysql/Makefile
config.status: creating plugins/ompgsql/Makefile
config.status: creating plugins/omrelp/Makefile
config.status: creating plugins/omlibdbi/Makefile
config.status: creating plugins/ommail/Makefile
config.status: creating plugins/omsnmp/Makefile
config.status: creating plugins/omoracle/Makefile
config.status: creating plugins/omudpspoof/Makefile
config.status: creating plugins/ommongodb/Makefile
config.status: creating plugins/omhiredis/Makefile
config.status: creating plugins/omzmq3/Makefile
config.status: creating plugins/omrabbitmq/Makefile
config.status: creating plugins/mmnormalize/Makefile
config.status: creating plugins/mmjsonparse/Makefile
config.status: creating plugins/mmaudit/Makefile
config.status: creating plugins/mmanon/Makefile
config.status: creating plugins/mmutf8fix/Makefile
config.status: creating plugins/mmcount/Makefile
config.status: creating plugins/mmsequence/Makefile
config.status: creating plugins/mmfields/Makefile
config.status: creating plugins/mmpstrucdata/Makefile
config.status: creating plugins/mmrfc5424addhmac/Makefile
config.status: creating plugins/omelasticsearch/Makefile
config.status: creating plugins/sm_cust_bindcdr/Makefile
config.status: creating plugins/mmsnmptrapd/Makefile
config.status: creating java/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
****************************************************
rsyslog will be compiled with the following settings:

    Large file support enabled:               yes
    Networking support enabled:               yes
    Regular expressions support enabled:      yes
    Zlib compression support enabled:         yes
    rsyslog runtime will be built:            yes
    rsyslogd will be built:                   yes
    GUI components will be built:             no
    have to generate man pages:               yes
    Unlimited select() support enabled:       no
    uuid support enabled:                     no
    Log file signing support:                 no
    Log file encryption support:              yes
    anonymization support enabled:            no
    message counting support enabled:         no
    mmfields enabled:                         no

---{ input plugins }---
    Klog functionality enabled:               yes (linux)
    /dev/kmsg functionality enabled:          no
    plain tcp input module enabled:           no
    threaded plain tcp input module enabled:  no
    imdiag enabled:                           no
    file input module enabled:                no
    Solaris input module enabled:             no
    periodic statistics module enabled:       no
    imzmq3 input module enabled:              no
    imjournal input module enabled:           no

---{ output plugins }---
    Mail support enabled:                     no
    omprog module will be compiled:           no
    omstdout module will be compiled:         no
    omjournal module will be compiled:        no
    omhdfs module will be compiled:           no
    omelasticsearch module will be compiled:  no
    omruleset module will be compiled:        no
    omudpspoof module will be compiled:       no
    omuxsock module will be compiled:         no
    omzmq3 module will be compiled:           no
    omrabbitmq module will be compiled:       no

---{ parser modules }---
    pmrfc3164sd module will be compiled:      no
    pmlastmsg module will be compiled:        no
    pmcisconames module will be compiled:     no
    pmciscoios module will be compiled:       no
    pmaixforwardedfrom module w.be compiled:  no
    pmsnare module will be compiled:          no

---{ message modification modules }---
    mmnormalize module will be compiled:      no
    mmjsonparse module will be compiled:      no
    mmjaduit module will be compiled:         no
    mmsnmptrapd module will be compiled:      no
    mmutf8fix enabled:                        no
    mmrfc5424addhmac enabled:                 no
    mmpstrucdata enabled:                     no
    mmsequence enabled:                       no

---{ strgen modules }---
    sm_cust_bindcdr module will be compiled:  no

---{ database support }---
    MySql support enabled:                    no
    libdbi support enabled:                   no
    PostgreSQL support enabled:               no
    mongodb support enabled:                  no
    hiredis support enabled:                  no
    Oracle (OCI) support enabled:             no

---{ protocol support }---
    GnuTLS network stream driver enabled:     no
    GSSAPI Kerberos 5 support enabled:        no
    RELP support enabled:                     no
    SNMP support enabled:                     no

---{ debugging support }---
    Testbench enabled:                        yes
    Extended Testbench enabled:               no
    MySQL Tests enabled:                      no
    Debug mode enabled:                       no
    Runtime Instrumentation enabled:          no
    (total) debugless mode enabled:           no
    Diagnostic tools enabled:                 no
    End-User tools enabled:                   no
    Enhanced memory checking enabled:         no
    Valgrind support settings enabled:        no

[root at logging rsyslog-8.4.0]# make
make  all-recursive
make[1]: Entering directory `/root/rsyslog-8.4.0'
Making all in compat
make[2]: Entering directory
`/root/rsyslog-8.4.0/compat'
  CC     compat_la-getifaddrs.lo
  CCLD   compat.la
make[2]: Leaving directory `/root/rsyslog-8.4.0/compat'
Making all in runtime
make[2]: Entering directory
`/root/rsyslog-8.4.0/runtime'
  CC     librsyslog_la-rsyslog.lo
  CC     librsyslog_la-dnscache.lo
  CC     librsyslog_la-glbl.lo
  CC     librsyslog_la-conf.lo
  CC     librsyslog_la-janitor.lo
  CC     librsyslog_la-rsconf.lo
  CC     librsyslog_la-parser.lo
  CC     librsyslog_la-strgen.lo
  CC     librsyslog_la-msg.lo
msg.c: In function 'getJSONPropVal':
msg.c:2736: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'msgGetJSONPropJSON':
msg.c:2789: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'MsgSetPropsViaJSON':
msg.c:4077: error: 'json_tokener_errors' undeclared (first
use in this function)
msg.c:4077: error: (Each undeclared identifier is reported
only once
msg.c:4077: error: for each function it appears in.)
msg.c: In function 'jsonPathFindNext':
msg.c:4149: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'jsonFind':
msg.c:4218: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'msgAddJSON':
msg.c:4263: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
msg.c: In function 'msgDelJSON':
msg.c:4338: warning: 'json_object_object_get' is deprecated
(declared at /usr/include/json-c/json_object.h:290)
make[2]: *** [librsyslog_la-msg.lo] Error 1
make[2]: Leaving directory
`/root/rsyslog-8.4.0/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rsyslog-8.4.0'
make: *** [all] Error 2
[/code:2mc41bmi]

What's going wrong here?

TIA


More information about the rsyslog-notify mailing list