<div dir="ltr">Fixed and compiled. Dear Gergely, many thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/12 Gergely Nagy <span dir="ltr"><<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">fblubr <<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a>> writes:<br>
<br>
> HI, thx, indeed your suggestion worked like a charm,<br>
> [export PKG_CONFIG_PATH=/apps/cactiprod/syslog-ng/glib/lib/pkgconfig]<br>
> but another error shows up, configure runs fine as follows:<br>
<br>
</div>[...]<br>
<div class="im">> syslog-ng Open Source Edition 3.4.2 configured<br>
> Compiler options:<br>
> compiler : gcc -std=gnu99<br>
> compiler options : -I/apps/cactiprod/mariadb/include/mysql<br>
> -Wall -pthread -pthread<br>
> -I/apps/cactiprod/syslog-ng/glib/include/glib-2.0<br>
> -I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include<br>
> -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
> -I/apps/cactiprod/syslog-ng/libdbi/include/<br>
> -I$(top_srcdir)/lib/ivykis/src/include<br>
> -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE<br>
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
> linker flags : -L/apps/cactiprod/mariadb/lib<br>
<br>
</div>[...]<br>
<div class="im"><br>
> but "make" is failing:<br>
> patternize.c:(.text+0x10d8): undefined reference to `evt_tag_int'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to<br>
> `evt_rec_get_syslog_pri'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_format'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_ctx_init'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_init'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_add_tag'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_ctx_free'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_tag_printf'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_free'<br>
> ../../../lib/.libs/libsyslog-ng.so: undefined reference to<br>
> `evt_rec_add_tagsv'<br>
<br>
</div>This is because for some reason, it's not linking to the eventlog<br>
library. You should probably add the eventlog pkgconfig stuff to<br>
PKG_CONFIG_PATH, the same way you added glib:<br>
<br>
PKG_CONFIG_PATH=/apps/cactiprod/syslog-ng/glib/lib/pkgconfig<br>
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/apps/cactiprod/syslog-ng/eventlog/lib/pkgconfig<br>
<br>
That should help.<br>
<br>
Alternatively, append "-leventlog" to EVTLOG_LIBS.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
|8]<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</div></div></blockquote></div><br></div>