<p dir="ltr">As it seems syslog-ng is not linked against the eventlog library. The includes are there. But event log has .pc files too, why aren't you using those?</p>
<div class="gmail_quote">On Jun 12, 2013 7:09 AM, "fblubr" <<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng --enable-ipv6<br>
--enable-sql --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu<br>
rabbitmq-c build options:<br>
Host: i686-pc-linux-gnu<br>
Version: 0.2.0<br>
64-bit: no<br>
Tools: no<br>
Documentation: no<br>
<br>
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>
prefix : /apps/cactiprod/syslog-ng/syslog-ng<br>
linking mode : dynamic<br>
embedded crypto : no<br>
__thread keyword : yes<br>
Submodules:<br>
ivykis : internal<br>
libmongo-client : internal<br>
librabbitmq : internal<br>
Features:<br>
Debug symbols : no<br>
GCC profiling : no<br>
Memtrace : no<br>
IPV6 support : yes<br>
spoof-source support : no<br>
tcp-wrapper support : no<br>
Linux capability support : yes<br>
PCRE support : no<br>
Env wrapper support : no<br>
systemd support : no (unit dir: none)<br>
Modules:<br>
Module search path :<br>
/apps/cactiprod/syslog-ng/syslog-ng/lib/syslog-ng<br>
Sun STREAMS support (module): no<br>
SSL support (module) : no<br>
SQL support (module) : yes<br>
PACCT module (EXPERIMENTAL) : no<br>
MongoDB destination (module): yes<br>
JSON support (module) : no<br>
SMTP support (module) : no<br>
AMQP destination (module) : yes<br>
GEOIP support (module) : no<br>
-----<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>
collect2: ld returned 1 exit status<br>
make[5]: *** [pdbtool] Error 1<br>
make[5]: Leaving directory<br>
`/apps/cactiprod/syslog-ng/syslog-ng-3.4.2/modules/dbparser/pdbtool'<br>
make[4]: *** [all-recursive] Error 1<br>
make[4]: Leaving directory<br>
`/apps/cactiprod/syslog-ng/syslog-ng-3.4.2/modules/dbparser'<br>
make[3]: *** [all] Error 2<br>
make[3]: Leaving directory<br>
`/apps/cactiprod/syslog-ng/syslog-ng-3.4.2/modules/dbparser'<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory<br>
`/apps/cactiprod/syslog-ng/syslog-ng-3.4.2/modules'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/apps/cactiprod/syslog-ng/syslog-ng-3.4.2'<br>
make: *** [all] Error 2<br>
---<br>
Config.log<br>
<a href="http://pastebin.com/n4kQGsTW" target="_blank">http://pastebin.com/n4kQGsTW</a><br>
Output of make:<br>
<a href="http://pastebin.com/bdbWvxe5" target="_blank">http://pastebin.com/bdbWvxe5</a><br>
Please advice.<br>
<br>
Regards<br>
Michal<br>
<br>
<br>
On 06/09/2013 11:17 AM, Balazs Scheidler wrote:<br>
><br>
> Glib has two include directories one under $prefix/lib/glib-2.0 the<br>
> other under $prefix/include<br>
><br>
> Try exporting both in GLIB_CFLAGS.<br>
><br>
> BTW why aren't you using pkg-config?<br>
><br>
> Setting PKG_CONFIG_PATH should find the .pc file properly. And that<br>
> contains all the required information.<br>
><br>
> On Jun 7, 2013 12:51 PM, "Flur Blubr" <<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a><br>
> <mailto:<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a>>> wrote:<br>
><br>
> Hi, thx for response,<br>
> I have tryid to rm -f all and build all dependencies again, well<br>
> no an guru but this is how it looks like and I cant see there any<br>
> mismatch:<br>
> pwd<br>
> /apps/cactiprod/syslog-ng/syslog-ng-3.4.2<br>
> ls<br>
> eventlog glib libnet syslog-ng<br>
> eventlog-0.2.12 glib-2.15.4 libnet-1.2-rc2<br>
> syslog-ng-3.4.2<br>
> eventlog_0.2.12.tar.gz glib-2.15.4.tar.gz libnet-1.2-rc2.tar.gz<br>
> syslog-ng_3.4.2.tar.gz<br>
> Eventlog, Glib, Libnet compiled from scratch and exported:<br>
><br>
> export<br>
> EVTLOG_CFLAGS=-I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
><br>
> export EVTLOG_LIBS="-L/apps/cactiprod/syslog-ng/eventlog/lib/"<br>
><br>
> export LIBNET_LIBS="-L/apps/cactiprod/syslog-ng/libnet/lib"<br>
><br>
> export LIBNET_CFLAGS=-I/apps/cactiprod/syslog-ng/libnet/include/<br>
><br>
> This is is how my export of "problematic" glib looks like:<br>
><br>
> export<br>
> GLIB_CFLAGS=I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/<br>
><br>
> export GLIB_LIBS="-L/apps/cactiprod/syslog-ng/glib/lib"<br>
><br>
> - and the missing glibconfig.h is here:<br>
><br>
> ls /apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include<br>
> glibconfig.h<br>
><br>
> ls /apps/cactiprod/syslog-ng/glib/lib<br>
> glib-2.0 <a href="http://libglib-2.0.so" target="_blank">libglib-2.0.so</a> <<a href="http://libglib-2.0.so" target="_blank">http://libglib-2.0.so</a>><br>
> libgmodule-2.0.so.0.1504.0 <a href="http://libgthread-2.0.so" target="_blank">libgthread-2.0.so</a><br>
> <<a href="http://libgthread-2.0.so" target="_blank">http://libgthread-2.0.so</a>><br>
> <a href="http://libgio-2.0.la" target="_blank">libgio-2.0.la</a> <<a href="http://libgio-2.0.la" target="_blank">http://libgio-2.0.la</a>> libglib-2.0.so.0<br>
> <a href="http://libgobject-2.0.la" target="_blank">libgobject-2.0.la</a> <<a href="http://libgobject-2.0.la" target="_blank">http://libgobject-2.0.la</a>> libgthread-2.0.so.0<br>
> <a href="http://libgio-2.0.so" target="_blank">libgio-2.0.so</a> <<a href="http://libgio-2.0.so" target="_blank">http://libgio-2.0.so</a>> libglib-2.0.so.0.1504.0<br>
> <a href="http://libgobject-2.0.so" target="_blank">libgobject-2.0.so</a> <<a href="http://libgobject-2.0.so" target="_blank">http://libgobject-2.0.so</a>><br>
> libgthread-2.0.so.0.1504.0<br>
> libgio-2.0.so.0 <a href="http://libgmodule-2.0.la" target="_blank">libgmodule-2.0.la</a> <<a href="http://libgmodule-2.0.la" target="_blank">http://libgmodule-2.0.la</a>><br>
> libgobject-2.0.so.0 pkgconfig<br>
> libgio-2.0.so.0.0.0 <a href="http://libgmodule-2.0.so" target="_blank">libgmodule-2.0.so</a> <<a href="http://libgmodule-2.0.so" target="_blank">http://libgmodule-2.0.so</a>><br>
> libgobject-2.0.so.0.1504.0<br>
> <a href="http://libglib-2.0.la" target="_blank">libglib-2.0.la</a> <<a href="http://libglib-2.0.la" target="_blank">http://libglib-2.0.la</a>> libgmodule-2.0.so.0<br>
> <a href="http://libgthread-2.0.la" target="_blank">libgthread-2.0.la</a> <<a href="http://libgthread-2.0.la" target="_blank">http://libgthread-2.0.la</a>><br>
><br>
> ./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng<br>
><br>
> checking for GLIB... yes<br>
> checking for g_mapped_file_unref... no<br>
> checking sanity checking Glib headers... no<br>
> configure: error: Glib headers inconsistent with current compiler<br>
> setting. You might be using 32 bit Glib with a 64 bit compiler,<br>
> check PKG_CONFIG_PATH<br>
><br>
> FAIL<br>
> --<br>
><br>
> Another try with "compiler tunning":<br>
><br>
> ./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng<br>
> --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu<br>
><br>
> Will pass ./configure stage:<br>
><br>
> syslog-ng Open Source Edition 3.4.2 configured<br>
> Compiler options:<br>
> compiler : gcc -std=gnu99<br>
> compiler options : -g -O2 -Wall -pthread<br>
> I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/<br>
> -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<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 :<br>
> prefix : /apps/cactiprod/syslog-ng/syslog-ng<br>
> linking mode : dynamic<br>
> embedded crypto : no<br>
> __thread keyword : yes<br>
> Submodules:<br>
> ivykis : internal<br>
> libmongo-client : internal<br>
> librabbitmq : internal<br>
> Features:<br>
> Debug symbols : no<br>
> GCC profiling : no<br>
> Memtrace : no<br>
> IPV6 support : yes<br>
> spoof-source support : no<br>
> tcp-wrapper support : no<br>
> Linux capability support : yes<br>
> PCRE support : yes<br>
> Env wrapper support : no<br>
> systemd support : no (unit dir: none)<br>
> Modules:<br>
> Module search path :<br>
> /apps/cactiprod/syslog-ng/syslog-ng/lib/syslog-ng<br>
> Sun STREAMS support (module): no<br>
> SSL support (module) : yes<br>
> SQL support (module) : no<br>
> PACCT module (EXPERIMENTAL) : no<br>
> MongoDB destination (module): yes<br>
> JSON support (module) : no<br>
> SMTP support (module) : no<br>
> AMQP destination (module) : yes<br>
> GEOIP support (module) : no<br>
><br>
> ---<br>
><br>
> but make fails in the same way as previous attempt.<br>
><br>
> cat makelog.txt | grep gint<br>
> atomic.h:31: error: expected specifier-qualifier-list before 'gint'<br>
> atomic.h:69: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logstamp.h:45: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logstamp.h:45: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logstamp.h:46: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logstamp.h:46: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> nvtable.h:55: error: expected specifier-qualifier-list before 'gint'<br>
> nvtable.h:221: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logtransport.h:35: error: expected specifier-qualifier-list before<br>
> 'gint'<br>
> logtransport.h:54: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logmsg.h:141: error: expected specifier-qualifier-list before 'gint'<br>
> logmsg.h:230: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logmsg.h:231: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:48: error: expected specifier-qualifier-list before 'gint'<br>
> templates.h:120: error: expected specifier-qualifier-list before<br>
> 'gint'<br>
> templates.h:142: error: expected specifier-qualifier-list before<br>
> 'gint'<br>
> templates.h:146: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:192: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:192: error: expected declaration specifiers or '...'<br>
> before 'gint32'<br>
> templates.h:193: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:193: error: expected declaration specifiers or '...'<br>
> before 'gint32'<br>
> templates.h:194: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:194: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:194: error: expected declaration specifiers or '...'<br>
> before 'gint32'<br>
> templates.h:195: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:195: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> templates.h:195: error: expected declaration specifiers or '...'<br>
> before 'gint32'<br>
> cfg-lexer.h:62: error: expected specifier-qualifier-list before 'gint'<br>
> cfg-lexer.h:94: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> cfg-lexer.h:172: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> cfg-tree.h:99: error: expected specifier-qualifier-list before<br>
> 'gint16'<br>
> cfg-tree.h:161: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> cfg-parser.h:36: error: expected specifier-qualifier-list before<br>
> 'gint'<br>
> cfg.h:56: error: expected specifier-qualifier-list before 'gint'<br>
> cfg.h:123: error: expected declaration specifiers or '...' before<br>
> 'gint'<br>
> cfg.h:130: error: expected declaration specifiers or '...' before<br>
> 'gint'<br>
> cfg.h:134: error: expected declaration specifiers or '...' before<br>
> 'gint'<br>
> logpipe.h:211: error: expected specifier-qualifier-list before<br>
> 'gint32'<br>
> logpipe.h:238: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logpipe.h:337: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> stats.h:82: error: expected specifier-qualifier-list before 'gint'<br>
> stats.h:127: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logqueue.h:41: error: expected specifier-qualifier-list before 'gint'<br>
> logqueue.h:106: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logqueue.h:126: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> driver.h:135: error: expected specifier-qualifier-list before 'gint'<br>
> logsource.h:34: error: expected specifier-qualifier-list before 'gint'<br>
> logsource.h:90: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logsource.h:90: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logreader.h:59: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logreader.h:59: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logreader.h:63: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> logreader.h:63: error: expected declaration specifiers or '...'<br>
> before 'gint'<br>
> afinter.c:90: error: expected specifier-qualifier-list before 'gint'<br>
> ---<br>
><br>
> cat makelog.txt | grep glib.<br>
><br>
><br>
> /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99<br>
> -DHAVE_CONFIG_H -I. -I..<br>
> I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/<br>
> -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
> -I../lib/ivykis/src/include -I../lib/ivykis/src/include<br>
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2<br>
> -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF<br>
> .deps/libsyslog_ng_la-afinter.Tpo -c -o libsyslog_ng_la-afinter.lo<br>
> `test -f 'afinter.c' || echo './'`afinter.c<br>
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..<br>
> I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/<br>
> -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
> -I../lib/ivykis/src/include -I../lib/ivykis/src/include<br>
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall<br>
> -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF<br>
> .deps/libsyslog_ng_la-afinter.Tpo -c afinter.c -fPIC -DPIC -o<br>
> .libs/libsyslog_ng_la-afinter.o<br>
> gcc: I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/: No<br>
> such file or directory<br>
> syslog-ng.h:39:18: error: glib.h: No such file or directory<br>
><br>
> ---<br>
><br>
> This one is complaining about missing glib.h so:<br>
><br>
> find /apps/cactiprod/syslog-ng -name glib.h<br>
> /apps/cactiprod/syslog-ng/glib-2.15.4/glib/glib.h<br>
> /apps/cactiprod/syslog-ng/glib/include/glib-2.0/glib.h<br>
><br>
> - Another export to try:<br>
><br>
> export GLIB_CFLAGS=I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/<br>
><br>
> and ./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng<br>
> --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu<br>
><br>
> will pass, then make is failing again with "glib.h: No such file<br>
> or directory:<br>
><br>
> cat makelog.txt | grep glib<br>
><br>
><br>
> /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99<br>
> -DHAVE_CONFIG_H -I. -I..<br>
> I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/<br>
> -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
> -I../lib/ivykis/src/include -I../lib/ivykis/src/include<br>
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2<br>
> -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF<br>
> .deps/libsyslog_ng_la-afinter.Tpo -c -o libsyslog_ng_la-afinter.lo<br>
> `test -f 'afinter.c' || echo './'`afinter.c<br>
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..<br>
> I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/<br>
> -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
> -I../lib/ivykis/src/include -I../lib/ivykis/src/include<br>
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2<br>
> -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF<br>
> .deps/libsyslog_ng_la-afinter.Tpo -c afinter.c -fPIC -DPIC -o<br>
> .libs/libsyslog_ng_la-afinter.o<br>
> gcc: I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/: No such<br>
> file or directory<br>
> syslog-ng.h:39:18: error: glib.h: No such file or directory<br>
><br>
><br>
> I am missing something trivial? Dooing everything as root so it<br>
> shouldnt be a permission problem. For many many days without<br>
> sucess. Any hints are always wellcome!<br>
><br>
> Thx for your support<br>
><br>
> Regards<br>
><br>
> Michal<br>
><br>
><br>
><br>
> 2013/6/6 Balazs Scheidler <<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a><br>
> <mailto:<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>>><br>
><br>
> Hmmm that line misses the definition of gint, which is a very<br>
> basic int type provided by glib.<br>
><br>
> Wild guess: are you sure glibconfig.h is reachable by<br>
> syslog-ng via -I options? Is it pulling the proper file?<br>
><br>
> On May 31, 2013 6:46 AM, "Flur Blubr" <<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a><br>
> <mailto:<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a>>> wrote:<br>
><br>
> Dear all,<br>
> looking for help, for 4 days trying to compile<br>
> syslog-ng-3.4.1 on some kind of custom RED HAT<br>
> derivate and still failing. RPMs and YUM are forbidden and<br>
> system has libraries spread around all directories / using<br>
> exports export EVTLOG_CFLAGS, export EVTLOG_LIBS, export<br>
> GLIB_CFLAGS, export GLIB_LIBS to overwrite PKG CONFIG .<br>
> uname -a<br>
> Linux 2.6.32-279.1.1.el6.x86_64 #1 SMP Wed Jun 20 11:41:22<br>
> EDT 2012 x86_64 x86_64 x86_64 GNU/Linux<br>
> cat /etc/redhat-release<br>
> Red Hat Enterprise Linux Server release 6.3 (Santiago)<br>
> Configuration:<br>
><br>
> ./configure --prefix=/my-prefix/syslog-ng --enable-sql<br>
> --enable-ipv6 --enable-dynamic-linking<br>
> --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu<br>
> --enable-shared --disable-static CFLAGS=-O2<br>
><br>
> Getting this:<br>
> syslog-ng Open Source Edition 3.4.1 configured<br>
> Compiler options:<br>
> compiler : gcc -std=gnu99<br>
> compiler options : -O2 -Wall -pthread<br>
> -I/my-prefix/sources/glib-2.15.4/<br>
> -I/my-prefix/eventlog/include/eventlog/<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 :<br>
> prefix : /my-prefix/syslog-ng<br>
> linking mode : dynamic<br>
> embedded crypto : no<br>
> __thread keyword : yes<br>
> Submodules:<br>
> ivykis : internal<br>
> libmongo-client : internal<br>
> librabbitmq : internal<br>
> Features:<br>
> Debug symbols : no<br>
> GCC profiling : no<br>
> Memtrace : no<br>
> IPV6 support : yes<br>
> spoof-source support : no<br>
> tcp-wrapper support : no<br>
> Linux capability support : yes<br>
> PCRE support : yes<br>
> Env wrapper support : no<br>
> systemd support : no (unit dir: none)<br>
> Modules:<br>
> Module search path :<br>
> /my-prefix/syslog-ng/lib/syslog-ng<br>
> Sun STREAMS support (module): no<br>
> SSL support (module) : yes<br>
> SQL support (module) : yes<br>
> PACCT module (EXPERIMENTAL) : no<br>
> MongoDB destination (module): yes<br>
> JSON support (module) : no<br>
> SMTP support (module) : no<br>
> AMQP destination (module) : yes<br>
> GEOIP support (module) : no<br>
> But make is failing no matter what I do:<br>
> afinter.c: At top level:<br>
> afinter.c:385: error: expected ')' before 'mark_freq'<br>
> afinter.c: In function 'afinter_message_posted':<br>
> afinter.c:404: error: 'internal_msg_lock' undeclared<br>
> (first use in this function)<br>
> afinter.c:405: error: 'internal_msg_queue' undeclared<br>
> (first use in this function)<br>
> afinter.c:407: warning: implicit declaration of function<br>
> 'g_queue_new'<br>
> afinter.c:409: warning: implicit declaration of function<br>
> 'g_queue_push_tail'<br>
> afinter.c:411: error: 'AFInterSource' has no member named<br>
> 'post'<br>
> afinter.c: At top level:<br>
> afinter.c:416: error: expected ')' before 'hook_type'<br>
> afinter.c: In function 'afinter_global_init':<br>
> afinter.c:424: warning: implicit declaration of function<br>
> 'register_application_hook'<br>
> afinter.c:424: error: 'afinter_register_posted_hook'<br>
> undeclared (first use in this function)<br>
> make[4]: *** [libsyslog_ng_la-afinter.lo] Error 1<br>
> make[4]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib'<br>
> make[3]: *** [all-recursive] Error 1<br>
> make[3]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib'<br>
> make[2]: *** [all] Error 2<br>
> make[2]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib'<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory `/my-prefix/syslog-ng-3.4.1'<br>
> make: *** [all] Error 2<br>
> Can somebody advice?<br>
> Thx for your time.<br>
> Regards<br>
> Michal<br>
><br>
> ______________________________________________________________________________<br>
> Member info:<br>
> <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation:<br>
> <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>
><br>
><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:<br>
> <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>
><br>
><br>
><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:<br>
> <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>
><br>
><br>
><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>
<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>
</blockquote></div>