<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">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:</font>
<br>
<br><font size=2 face="sans-serif">champ@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"</font>
<br><font size=2 face="sans-serif">checking for a BSD-compatible install...
/usr/bin/install -c</font>
<br><font size=2 face="sans-serif">checking whether build environment is
sane... yes</font>
<br><font size=2 face="sans-serif">checking for gawk... gawk</font>
<br><font size=2 face="sans-serif">checking whether make sets $(MAKE)...
yes</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">checking for EVTLOG... yes</font>
<br><font size=2 face="sans-serif">checking for LIBNET... yes</font>
<br><font size=2 face="sans-serif">checking whether to enable Sun STREAMS
support... no</font>
<br><font size=2 face="sans-serif">checking whether to enable Sun door
support... no</font>
<br><font size=2 face="sans-serif">checking whether to enable TCP wrapper
support... yes</font>
<br><font size=2 face="sans-serif">checking whether to enable spoof source
support... yes</font>
<br><font size=2 face="sans-serif">checking whether to enable IPv6 support...
yes</font>
<br><font size=2 face="sans-serif">checking whether to enable SQL support...
no</font>
<br><font size=2 face="sans-serif">checking for pkg-config... (cached)
/usr/local/bin/pkg-config</font>
<br><font size=2 face="sans-serif">checking pkg-config is at least version
0.14... yes</font>
<br><font size=2 face="sans-serif">checking for GLIB - version >= 2.4.0...
yes (version 2.16.0)</font>
<br><font size=2 face="sans-serif">checking for static GLib libraries...
yes</font>
<br><font size=2 face="sans-serif">checking sanity checking Glib headers...
yes</font>
<br><font size=2 face="sans-serif">configure: creating ./config.status</font>
<br><font size=2 face="sans-serif">config.status: creating dist.conf</font>
<br><font size=2 face="sans-serif">config.status: creating Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating syslog-ng.spec.bb</font>
<br><font size=2 face="sans-serif">config.status: creating src/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating doc/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating doc/docvars.xml</font>
<br><font size=2 face="sans-serif">config.status: creating contrib/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating tests/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating solbuild/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating tgzbuild/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating tests/unit/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating tests/functional/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating tests/loggen/Makefile</font>
<br><font size=2 face="sans-serif">config.status: creating config.h</font>
<br><font size=2 face="sans-serif">config.status: config.h is unchanged</font>
<br><font size=2 face="sans-serif">config.status: executing depfiles commands</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">****************************************************************</font>
<br>
<br><font size=2 face="sans-serif">While doing 'make' following error encountered:</font>
<br>
<br><font size=2 face="sans-serif">champ@localhost syslog-ng-2.1.3]#make
(I have pasted last few lines of error message)</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(afinet.o)(.text+0x78a):/home/soetest1/syslog-ng-2.1.3/src/afinet.c:342:
undefined reference to `evt_tag_str'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(afinet.o)(.text+0xae7):
In function `afinet_dd_queue':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/afinet.c:522:
undefined reference to `evt_tag_str'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(stats.o)(.text+0xd3):
In function `stats_register_counter':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/stats.c:97:
undefined reference to `evt_tag_str'</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(stats.o)(.text+0x3a8):
In function `stats_generate_log':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/stats.c:230:
undefined reference to `evt_tag_printf'</font>
<br><font size=2 face="sans-serif">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'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(fdwrite.o)(.text+0xad):
In function `fd_write_write_method':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/fdwrite.c:49:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(fdwrite.o)(.text+0xbe):/home/soetest1/syslog-ng-2.1.3/src/fdwrite.c:49:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(fdwrite.o)(.text+0x16e):
In function `fd_write_free_method':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/fdwrite.c:80:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(fdread.o)(.text+0x9d):
In function `fd_do_read':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/fdread.c:49:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(fdread.o)(.text+0xae):/home/soetest1/syslog-ng-2.1.3/src/fdread.c:49:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">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</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(dnscache.o)(.text+0x2db):
In function `dns_cache_check_hosts':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/dnscache.c:221:
undefined reference to `evt_tag_errno'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(dnscache.o)(.text+0x2f0):/home/soetest1/syslog-ng-2.1.3/src/dnscache.c:221:
undefined reference to `evt_tag_str'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(apphook.o)(.text+0x47):
In function `register_application_hook':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/apphook.c:38:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(apphook.o)(.text+0x5c):/home/soetest1/syslog-ng-2.1.3/src/apphook.c:38:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(apphook.o)(.text+0x114):
In function `run_application_hook':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/apphook.c:56:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(serialize.o)(.text+0x43):
In function `serialize_archive_read_bytes':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/serialize.c:33:
undefined reference to `evt_tag_str'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(serialize.o)(.text+0xcb):
In function `serialize_archive_write_bytes':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/serialize.c:49:
undefined reference to `evt_tag_str'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0xce):
In function `log_reader_fd_check':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/logreader.c:104:
undefined reference to `evt_tag_errno'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x19a):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:112:
undefined reference to `evt_tag_errno'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x30d):
In function `log_reader_handle_line':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/logreader.c:195:
undefined reference to `evt_tag_printf'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x6cf):
In function `log_reader_fetch_log':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/logreader.c:450:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x6e6):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:450:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x6f7):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:450:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x774):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:440:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x7c2):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:425:
undefined reference to `evt_tag_errno'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x7d3):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:425:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x8a5):
In function `log_reader_init':</font>
<br><font size=2 face="sans-serif">/home/soetest1/syslog-ng-2.1.3/src/logreader.c:479:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">libsyslog-ng.a(logreader.o)(.text+0x8ba):/home/soetest1/syslog-ng-2.1.3/src/logreader.c:479:
undefined reference to `evt_tag_int'</font>
<br><font size=2 face="sans-serif">/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libwrap.a(hosts_access.o)(.text+0x862):
In function `host_match':</font>
<br><font size=2 face="sans-serif">: undefined reference to `yp_get_default_domain'</font>
<br><font size=2 face="sans-serif">collect2: ld returned 1 exit status</font>
<br><font size=2 face="sans-serif">make[2]: *** [syslog-ng] Error 1</font>
<br><font size=2 face="sans-serif">make[2]: Leaving directory `/home/soetest1/syslog-ng-2.1.3/src'</font>
<br><font size=2 face="sans-serif">make[1]: *** [all-recursive] Error 1</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/home/soetest1/syslog-ng-2.1.3'</font>
<br><font size=2 face="sans-serif">make: *** [all] Error 2</font>
<br>
<br><font size=2 face="sans-serif">I am building it on - RHEL 3.0 - Operating
system.</font>
<br><font size=2 face="sans-serif">Any help will be highly appreciated.</font>
<br>
<br>
<br><font size=2 face="sans-serif">With Regards,<br>
Chanchal Verma</font>