Hello,
I've searched endlessly as to why this is failing, but I cannot get around the
problem. I have the libestr-0.1.0, libee-0.4.1, and librelp-1.0.0 -- it
failing on compilation. I've tried setting "-march=barcelona -mtune=barcelona"
to fix the possible atomic issue, but its still fails compilation. I also ran
autoreconf -fvi, that did not help either.
[root@build01 tmp]# cat /etc/redhat-release
CentOS release 6.2 (Final)
root@build01 tmp]# uname -a
Linux build01 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012
x86_64 x86_64 x86_64 GNU/Linux
[root@build01 tmp]# rpm -qa gcc automake make
gcc-4.4.6-3.el6.x86_64
make-3.81-19.el6.x86_64
automake-1.11.1-1.2.el6.noarch
[root@build01 rsyslog-6.2.1]# ./configure
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 for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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... yes
checking for javac... no
configure: WARNING: no javac found, disabling features depending on it
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 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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 host system type... (cached) x86_64-unknown-linux-gnu
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 LIBEE... yes
checking for library containing clock_gettime... -lrt
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 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 typeof syntax and keyword spelling... typeof
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 dereferences a symlink specified with a 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 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 setid... no
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 lseek64... yes
checking whether SCM_CREDENTIALS is declared... yes
checking for MAXHOSTNAMELEN... 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 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 SYSLOG_UNIXAF support... yes
checking for FSSTND support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating runtime/Makefile
config.status: creating tools/Makefile
config.status: creating doc/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/immark/Makefile
config.status: creating plugins/imklog/Makefile
config.status: creating plugins/imtemplate/Makefile
config.status: creating plugins/omtemplate/Makefile
config.status: creating plugins/omhdfs/Makefile
config.status: creating plugins/omprog/Makefile
config.status: creating plugins/omstdout/Makefile
config.status: creating plugins/pmrfc3164sd/Makefile
config.status: creating plugins/pmlastmsg/Makefile
config.status: creating plugins/pmcisconames/Makefile
config.status: creating plugins/pmsnare/Makefile
config.status: creating plugins/pmaixforwardedfrom/Makefile
config.status: creating plugins/omruleset/Makefile
config.status: creating plugins/omdbalerting/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/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/mmnormalize/Makefile
config.status: creating plugins/sm_cust_bindcdr/Makefile
config.status: creating plugins/mmsnmptrapd/Makefile
config.status: creating plugins/cust1/Makefile
config.status: creating java/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
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
custom module 1 will be built: no
Unlimited select() support enabled: no
---{ input plugins }---
Klog functionality enabled: yes (linux)
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
input template module will be compiled: no
---{ output plugins }---
Mail support enabled: no
omprog module will be compiled: no
output mongodb module will be compiled: no
omstdout module will be compiled: no
omhdfs module will be compiled: no
omruleset module will be compiled: yes
omdbalerting module will be compiled: no
omudpspoof module will be compiled: no
omuxsock module will be compiled: no
output template 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
pmaixforwardedfrom module w.be compiled: no
pmsnare module will be compiled: no
---{ message modification modules }---
mmnormalize module will be compiled: no
mmsnmptrapd module will be compiled: no
---{ strgen modules }---
sm_cust_bindcdr module will be compiled:
---{ database support }---
MySql support enabled: no
libdbi support enabled: no
PostgreSQL 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
Diagnostic tools enabled: no
Enhanced memory checking enabled: no
Valgrind support settings enabled: no
[root@build01 rsyslog-6.2.1]# make
make all-recursive
make[1]: Entering directory `/tmp/rsyslog-6.2.1'
Making all in doc
make[2]: Entering directory `/tmp/rsyslog-6.2.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/doc'
Making all in runtime
make[2]: Entering directory `/tmp/rsyslog-6.2.1/runtime'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/runtime'
Making all in .
make[2]: Entering directory `/tmp/rsyslog-6.2.1'
make[2]: Leaving directory `/tmp/rsyslog-6.2.1'
Making all in plugins/immark
make[2]: Entering directory `/tmp/rsyslog-6.2.1/plugins/immark'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/plugins/immark'
Making all in plugins/imuxsock
make[2]: Entering directory `/tmp/rsyslog-6.2.1/plugins/imuxsock'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/plugins/imuxsock'
Making all in plugins/imtcp
make[2]: Entering directory `/tmp/rsyslog-6.2.1/plugins/imtcp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/plugins/imtcp'
Making all in plugins/imudp
make[2]: Entering directory `/tmp/rsyslog-6.2.1/plugins/imudp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/plugins/imudp'
Making all in plugins/omtesting
make[2]: Entering directory `/tmp/rsyslog-6.2.1/plugins/omtesting'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/plugins/omtesting'
Making all in tools
make[2]: Entering directory `/tmp/rsyslog-6.2.1/tools'
CCLD rsyslogd
../runtime/.libs/librsyslog.a(librsyslog_la-conf.o): In function
`cflineProcessPropFilter':
/tmp/rsyslog-6.2.1/runtime/conf.c:879: undefined reference to `es_newStrFromBuf'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `msgGetCEEVar':
/tmp/rsyslog-6.2.1/runtime/msg.c:3211: undefined reference to `es_newStrFromBuf'
/tmp/rsyslog-6.2.1/runtime/msg.c:3231: undefined reference to `es_deleteStr'
/tmp/rsyslog-6.2.1/runtime/msg.c:3224: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `MsgGetProp':
/tmp/rsyslog-6.2.1/runtime/msg.c:2554: undefined reference to `es_str2cstr'
/tmp/rsyslog-6.2.1/runtime/msg.c:2555: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `getCEEPropVal':
/tmp/rsyslog-6.2.1/runtime/msg.c:2341: undefined reference to `es_str2cstr'
/tmp/rsyslog-6.2.1/runtime/msg.c:2342: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-rule.o): In function
`shouldProcessThisMessage':
/tmp/rsyslog-6.2.1/runtime/rule.c:244: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-rule.o): In function
`ruleDebugPrint':
/tmp/rsyslog-6.2.1/runtime/rule.c:423: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-rule.o): In function `ruleDestruct':
/tmp/rsyslog-6.2.1/runtime/rule.c:356: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function
`tplPrintList':
/tmp/rsyslog-6.2.1/runtime/../template.c:1215: undefined reference to
`es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function
`tplDeleteNew':
/tmp/rsyslog-6.2.1/runtime/../template.c:1163: undefined reference to
`es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function
`tplDeleteAll':
/tmp/rsyslog-6.2.1/runtime/../template.c:1105: undefined reference to
`es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function
`do_Parameter':
/tmp/rsyslog-6.2.1/runtime/../template.c:595: undefined reference to
`es_newStrFromCStr'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libee.so: undefined reference
to `es_addBuf'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libee.so: undefined reference
to `es_strbufcmp'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libee.so: undefined reference
to `es_newStrFromSubStr'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libee.so: undefined reference
to `es_addChar'
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../libee.so: undefined reference
to `es_newStr'
collect2: ld returned 1 exit status
make[2]: *** [rsyslogd] Error 1
make[2]: Leaving directory `/tmp/rsyslog-6.2.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/rsyslog-6.2.1'
make: *** [all] Error 2
[root@build01 rsyslog-6.2.1]# ls
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards