[syslog-ng] Error encountered while building syslog-ng-2.1.3 on RHEL3

Chanchal Verma cverma2 at csc.com
Thu Jan 8 14:19:33 CET 2009


Hi,

I am facing problem while builing syslog-ng-2.1.3 on RHEL3 operating 
system. Configuration goes fine but it shows error while doing 'make'. 
Here is details of configuration option:

champ at localhost syslog-ng-2.1.3]# ./configure --enable-static-linking 
--prefix=/opt/soe/local/syslog-ng-2.1.3 
EVTLOG_CFLAGS="-I/opt/soe/local/syslog-ng-2.1.3/eventlog/include/eventlog" 
  EVTLOG_LIBS="-L/opt/soe/local/syslog-ng-2.1.3/eventlog/lib"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
.
.
.
checking for EVTLOG... yes
checking for LIBNET... yes
checking whether to enable Sun STREAMS support... no
checking whether to enable Sun door support... no
checking whether to enable TCP wrapper support... yes
checking whether to enable spoof source support... yes
checking whether to enable IPv6 support... yes
checking whether to enable SQL support... no
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking pkg-config is at least version 0.14... yes
checking for GLIB - version >= 2.4.0... yes (version 2.16.0)
checking for static GLib libraries... yes
checking sanity checking Glib headers... yes
configure: creating ./config.status
config.status: creating dist.conf
config.status: creating Makefile
config.status: creating syslog-ng.spec.bb
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/docvars.xml
config.status: creating contrib/Makefile
config.status: creating tests/Makefile
config.status: creating solbuild/Makefile
config.status: creating tgzbuild/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/functional/Makefile
config.status: creating tests/loggen/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
.
.
****************************************************************

While doing 'make' following error encountered:

champ at localhost syslog-ng-2.1.3]#make  (I have pasted last few lines of 
error message)
.
.
libsyslog-ng.a(afinet.o)(.text+0x78a):/home/soetest1/syslog-ng-2.1.3/src/afinet.c:342: 
undefined reference to `evt_tag_str'
libsyslog-ng.a(afinet.o)(.text+0xae7): In function `afinet_dd_queue':
/home/soetest1/syslog-ng-2.1.3/src/afinet.c:522: undefined reference to 
`evt_tag_str'
libsyslog-ng.a(stats.o)(.text+0xd3): In function `stats_register_counter':
/home/soetest1/syslog-ng-2.1.3/src/stats.c:97: undefined reference to 
`evt_tag_str'
libsyslog-ng.a(stats.o)(.text+0x1aa):/home/soetest1/syslog-ng-2.1.3/src/stats.c:140: 
more undefined references to `evt_tag_str' follow
libsyslog-ng.a(stats.o)(.text+0x3a8): In function `stats_generate_log':
/home/soetest1/syslog-ng-2.1.3/src/stats.c:230: undefined reference to 
`evt_tag_printf'
libsyslog-ng.a(stats.o)(.text+0x3b2):/home/soetest1/syslog-ng-2.1.3/src/stats.c:230: 
undefined reference to `evt_rec_add_tag'
libsyslog-ng.a(fdwrite.o)(.text+0xad): In function 
`fd_write_write_method':
/home/soetest1/syslog-ng-2.1.3/src/fdwrite.c:49: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(fdwrite.o)(.text+0xbe):/home/soetest1/syslog-ng-2.1.3/src/fdwrite.c:49: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(fdwrite.o)(.text+0x16e): In function 
`fd_write_free_method':
/home/soetest1/syslog-ng-2.1.3/src/fdwrite.c:80: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(fdread.o)(.text+0x9d): In function `fd_do_read':
/home/soetest1/syslog-ng-2.1.3/src/fdread.c:49: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(fdread.o)(.text+0xae):/home/soetest1/syslog-ng-2.1.3/src/fdread.c:49: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(fdread.o)(.text+0x1be):/home/soetest1/syslog-ng-2.1.3/src/fdread.c:103: 
more undefined references to `evt_tag_int' follow
libsyslog-ng.a(dnscache.o)(.text+0x2db): In function 
`dns_cache_check_hosts':
/home/soetest1/syslog-ng-2.1.3/src/dnscache.c:221: undefined reference to 
`evt_tag_errno'
libsyslog-ng.a(dnscache.o)(.text+0x2f0):/home/soetest1/syslog-ng-2.1.3/src/dnscache.c:221: 
undefined reference to `evt_tag_str'
libsyslog-ng.a(apphook.o)(.text+0x47): In function 
`register_application_hook':
/home/soetest1/syslog-ng-2.1.3/src/apphook.c:38: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(apphook.o)(.text+0x5c):/home/soetest1/syslog-ng-2.1.3/src/apphook.c:38: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(apphook.o)(.text+0x114): In function 
`run_application_hook':
/home/soetest1/syslog-ng-2.1.3/src/apphook.c:56: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(serialize.o)(.text+0x43): In function 
`serialize_archive_read_bytes':
/home/soetest1/syslog-ng-2.1.3/src/serialize.c:33: undefined reference to 
`evt_tag_str'
libsyslog-ng.a(serialize.o)(.text+0xcb): In function 
`serialize_archive_write_bytes':
/home/soetest1/syslog-ng-2.1.3/src/serialize.c:49: undefined reference to 
`evt_tag_str'
libsyslog-ng.a(logreader.o)(.text+0xce): In function 
`log_reader_fd_check':
/home/soetest1/syslog-ng-2.1.3/src/logreader.c:104: undefined reference to 
`evt_tag_errno'
libsyslog-ng.a(logreader.o)(.text+0x19a):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:112: 
undefined reference to `evt_tag_errno'
libsyslog-ng.a(logreader.o)(.text+0x30d): In function 
`log_reader_handle_line':
/home/soetest1/syslog-ng-2.1.3/src/logreader.c:195: undefined reference to 
`evt_tag_printf'
libsyslog-ng.a(logreader.o)(.text+0x6cf): In function 
`log_reader_fetch_log':
/home/soetest1/syslog-ng-2.1.3/src/logreader.c:450: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(logreader.o)(.text+0x6e6):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:450: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(logreader.o)(.text+0x6f7):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:450: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(logreader.o)(.text+0x774):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:440: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(logreader.o)(.text+0x7c2):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:425: 
undefined reference to `evt_tag_errno'
libsyslog-ng.a(logreader.o)(.text+0x7d3):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:425: 
undefined reference to `evt_tag_int'
libsyslog-ng.a(logreader.o)(.text+0x8a5): In function `log_reader_init':
/home/soetest1/syslog-ng-2.1.3/src/logreader.c:479: undefined reference to 
`evt_tag_int'
libsyslog-ng.a(logreader.o)(.text+0x8ba):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:479: 
undefined reference to `evt_tag_int'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libwrap.a(hosts_access.o)(.text+0x862): 
In function `host_match':
: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/home/soetest1/syslog-ng-2.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soetest1/syslog-ng-2.1.3'
make: *** [all] Error 2

I am building it on - RHEL 3.0 - Operating system.
Any help will be highly appreciated.


With Regards,
Chanchal Verma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090108/1fbfc8e0/attachment.htm 


More information about the syslog-ng mailing list