<p dir="ltr">Glib has two include directories one under $prefix/lib/glib-2.0 the other under $prefix/include</p>
<p dir="ltr">Try exporting both in GLIB_CFLAGS.</p>
<p dir="ltr">BTW why aren't you using pkg-config?</p>
<p dir="ltr">Setting PKG_CONFIG_PATH should find the .pc file properly. And that contains all the required information.</p>
<div class="gmail_quote">On Jun 7, 2013 12:51 PM, "Flur Blubr" <<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">
<div dir="ltr"><div>Hi, thx for response, </div><div> </div><div>I have tryid to rm -f all and build all dependencies again, well no an guru but this is how it looks like and I cant see there any mismatch:</div><div> </div>
<div> pwd<br>/apps/cactiprod/syslog-ng/syslog-ng-3.4.2<br></div><div>ls<br>eventlog glib libnet syslog-ng<br>eventlog-0.2.12 glib-2.15.4 libnet-1.2-rc2 syslog-ng-3.4.2<br>
eventlog_0.2.12.tar.gz glib-2.15.4.tar.gz libnet-1.2-rc2.tar.gz syslog-ng_3.4.2.tar.gz</div><div> </div><div>Eventlog, Glib, Libnet compiled from scratch and exported:<br><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><font color="#000000">export EVTLOG_CFLAGS=-I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/</font></span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><font color="#000000"><font size="3" face="Times New Roman">
</font><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">export EVTLOG_LIBS=</span><span><font size="3" face="Calibri">"</font></span><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">-L/apps/cactiprod/syslog-ng/eventlog/lib/</span><span><font size="3" face="Calibri">"</font></span><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><span> </span></span></font></span></p>
<font color="#000000"><font size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 10pt;line-height:normal"><font size="3"><font face="Times New Roman">
<span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">export
LIBNET_LIBS="-L/apps/cactiprod/syslog-ng/libnet/lib"<span> </span></span></font></font></p><font size="3"><font face="Times New Roman"><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">export LIBNET_CFLAGS=-I/apps/cactiprod/syslog-ng/libnet/include/</span></p></font><p style="margin:0cm 0cm 10pt;line-height:normal">
</p></font><p style="margin:0cm 0cm 10pt;line-height:normal"></p></font><p style="margin:0cm 0cm 10pt;line-height:normal">This is is how my export of "problematic" glib looks like:</p></div><div><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">export
GLIB_CFLAGS=I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/</span></p><font color="#000000" size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">export </span><span style="color:red"><font size="3" face="Calibri">GLIB_LIBS</font></span><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">="-L/</span><span style="color:red"><font size="3" face="Calibri">apps/cactiprod/syslog-ng/glib/lib</font></span><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">"</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">- and the missing glibconfig.h is here:</span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"> ls /apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include<br>glibconfig.h<br></span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"> 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> 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://libgio-2.0.la" target="_blank">libgio-2.0.la</a> libglib-2.0.so.0 <a href="http://libgobject-2.0.la" target="_blank">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> libglib-2.0.so.0.1504.0 <a href="http://libgobject-2.0.so" target="_blank">libgobject-2.0.so</a> 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> 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> libgobject-2.0.so.0.1504.0<br>
<a href="http://libglib-2.0.la" target="_blank">libglib-2.0.la</a> libgmodule-2.0.so.0 <a href="http://libgthread-2.0.la" target="_blank">libgthread-2.0.la</a><br></span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">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 setting. You might be using 32 bit Glib with a 64 bit compiler, check PKG_CONFIG_PATH</span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">FAIL<br>--</span></p><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">Another try with "compiler tunning":</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">Will pass ./configure stage:</span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">syslog-ng Open Source Edition 3.4.2 configured<br> Compiler options:<br> compiler : gcc -std=gnu99<br>
compiler options : -g -O2 -Wall -pthread I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/ -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/ -I$(top_srcdir)/lib/ivykis/src/include -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE -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 : /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></span></p>---<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">but make fails in the same way as previous attempt. </span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">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 '...' before 'gint'<br>logstamp.h:45: error: expected declaration specifiers or '...' before 'gint'<br>logstamp.h:45: error: expected declaration specifiers or '...' before 'gint'<br>
logstamp.h:46: error: expected declaration specifiers or '...' before 'gint'<br>logstamp.h:46: error: expected declaration specifiers or '...' before 'gint'<br>nvtable.h:55: error: expected specifier-qualifier-list before 'gint'<br>
nvtable.h:221: error: expected declaration specifiers or '...' before 'gint'<br>logtransport.h:35: error: expected specifier-qualifier-list before 'gint'<br>logtransport.h:54: error: expected declaration specifiers or '...' before 'gint'<br>
logmsg.h:141: error: expected specifier-qualifier-list before 'gint'<br>logmsg.h:230: error: expected declaration specifiers or '...' before 'gint'<br>logmsg.h:231: error: expected declaration specifiers or '...' before 'gint'<br>
templates.h:48: error: expected specifier-qualifier-list before 'gint'<br>templates.h:120: error: expected specifier-qualifier-list before 'gint'<br>templates.h:142: error: expected specifier-qualifier-list before 'gint'<br>
templates.h:146: error: expected declaration specifiers or '...' before 'gint'<br>templates.h:192: error: expected declaration specifiers or '...' before 'gint'<br>templates.h:192: error: expected declaration specifiers or '...' before 'gint32'<br>
templates.h:193: error: expected declaration specifiers or '...' before 'gint'<br>templates.h:193: error: expected declaration specifiers or '...' before 'gint32'<br>templates.h:194: error: expected declaration specifiers or '...' before 'gint'<br>
templates.h:194: error: expected declaration specifiers or '...' before 'gint'<br>templates.h:194: error: expected declaration specifiers or '...' before 'gint32'<br>templates.h:195: error: expected declaration specifiers or '...' before 'gint'<br>
templates.h:195: error: expected declaration specifiers or '...' before 'gint'<br>templates.h:195: error: expected declaration specifiers or '...' before 'gint32'<br>cfg-lexer.h:62: error: expected specifier-qualifier-list before 'gint'<br>
cfg-lexer.h:94: error: expected declaration specifiers or '...' before 'gint'<br>cfg-lexer.h:172: error: expected declaration specifiers or '...' before 'gint'<br>cfg-tree.h:99: error: expected specifier-qualifier-list before 'gint16'<br>
cfg-tree.h:161: error: expected declaration specifiers or '...' before 'gint'<br>cfg-parser.h:36: error: expected specifier-qualifier-list before 'gint'<br>cfg.h:56: error: expected specifier-qualifier-list before 'gint'<br>
cfg.h:123: error: expected declaration specifiers or '...' before 'gint'<br>cfg.h:130: error: expected declaration specifiers or '...' before 'gint'<br>cfg.h:134: error: expected declaration specifiers or '...' before 'gint'<br>
logpipe.h:211: error: expected specifier-qualifier-list before 'gint32'<br>logpipe.h:238: error: expected declaration specifiers or '...' before 'gint'<br>logpipe.h:337: error: expected declaration specifiers or '...' before 'gint'<br>
stats.h:82: error: expected specifier-qualifier-list before 'gint'<br>stats.h:127: error: expected declaration specifiers or '...' before 'gint'<br>logqueue.h:41: error: expected specifier-qualifier-list before 'gint'<br>
logqueue.h:106: error: expected declaration specifiers or '...' before 'gint'<br>logqueue.h:126: error: expected declaration specifiers or '...' 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 '...' before 'gint'<br>logsource.h:90: error: expected declaration specifiers or '...' before 'gint'<br>
logreader.h:59: error: expected declaration specifiers or '...' before 'gint'<br>logreader.h:59: error: expected declaration specifiers or '...' before 'gint'<br>logreader.h:63: error: expected declaration specifiers or '...' before 'gint'<br>
logreader.h:63: error: expected declaration specifiers or '...' before 'gint'<br>afinter.c:90: error: expected specifier-qualifier-list before 'gint'<br>---</span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">cat makelog.txt | grep glib.</span></p><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><br>
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/ -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/ -I../lib/ivykis/src/include -I../lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF .deps/libsyslog_ng_la-afinter.Tpo -c -o libsyslog_ng_la-afinter.lo `test -f 'afinter.c' || echo './'`afinter.c<br>
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/ -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/ -I../lib/ivykis/src/include -I../lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF .deps/libsyslog_ng_la-afinter.Tpo -c afinter.c -fPIC -DPIC -o .libs/libsyslog_ng_la-afinter.o<br>
gcc: I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include/: No such file or directory<br>syslog-ng.h:39:18: error: glib.h: No such file or directory</span></p><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">---</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">This one is complaining about missing glib.h so:</span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"> 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</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">- Another export to try:</span><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"> <font color="#000000" size="3" face="Times New Roman">
</font></span></p><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">export
GLIB_CFLAGS=I</span><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><font color="#000000">/apps/cactiprod/syslog-ng/glib/include/glib-2.0/</font></span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><font color="#000000">and ./configure --prefix=/apps/cactiprod/syslog-ng/syslog-ng --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu</font></span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><font color="#000000">will pass, then make is failing again with "glib.h: No such file or directory:</font></span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"> cat makelog.txt | grep glib</span></p><span style="font-family:"Trebuchet MS","sans-serif";font-size:10.5pt"><p style="margin:0cm 0cm 10pt;line-height:normal">
<br>/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/ -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/ -I../lib/ivykis/src/include -I../lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF .deps/libsyslog_ng_la-afinter.Tpo -c -o libsyslog_ng_la-afinter.lo `test -f 'afinter.c' || echo './'`afinter.c<br>
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/ -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/ -I../lib/ivykis/src/include -I../lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -pthread -MT libsyslog_ng_la-afinter.lo -MD -MP -MF .deps/libsyslog_ng_la-afinter.Tpo -c afinter.c -fPIC -DPIC -o .libs/libsyslog_ng_la-afinter.o<br>
gcc: I/apps/cactiprod/syslog-ng/glib/include/glib-2.0/: No such file or directory<br>syslog-ng.h:39:18: error: glib.h: No such file or directory</p><p style="margin:0cm 0cm 10pt;line-height:normal"><br></p></span><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">I am missing something trivial? </span><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">Dooing everything as root so it shouldnt be a permission problem. For many many days without sucess. Any hints are always wellcome!</span></p>
<p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">Thx for your support</span></p><p style="margin:0cm 0cm 10pt;line-height:normal">
<span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">Regards</span></p><p style="margin:0cm 0cm 10pt;line-height:normal"><span style="color:red;font-family:"Trebuchet MS","sans-serif";font-size:10.5pt">Michal</span></p>
<font color="#000000" size="3" face="Times New Roman">
</font></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/6 Balazs Scheidler <span dir="ltr"><<a href="mailto:bazsi77@gmail.com" target="_blank">bazsi77@gmail.com</a>></span><br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<p dir="ltr">Hmmm that line misses the definition of gint, which is a very basic int type provided by glib.</p>
<p dir="ltr">Wild guess: are you sure glibconfig.h is reachable by syslog-ng via -I options? Is it pulling the proper file?</p>
<div class="gmail_quote"><div><div>On May 31, 2013 6:46 AM, "Flur Blubr" <<a href="mailto:fblubr@gmail.com" target="_blank">fblubr@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div><div>
<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Dear all,</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">looking for help, for 4 days trying to compile syslog-ng-3.4.1 on some kind of custom RED HAT derivate and still failing. RPMs and YUM are forbidden and system has libraries spread around all directories / using exports <span style="line-height:16px;font-family:"Trebuchet MS",sans-serif;font-size:10.5pt"><font color="#000000">export EVTLOG_CFLAGS, <span style="font-size:10.5pt">export EVTLOG_LIBS, <span style="font-size:10.5pt"><span style="line-height:17px;font-family:Calibri,sans-serif;font-size:11pt">export GLIB_CFLAGS, <span style="font-size:11pt">export GLIB_LIBS to</span></span> </span></span></font></span>overwrite <span style="line-height:16px;font-family:"Trebuchet MS",sans-serif;font-size:10.5pt"><font color="#000000">PKG CONFIG .</font></span> </div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">uname -a<br>Linux 2.6.32-279.1.1.el6.x86_64 #1 SMP Wed Jun 20 11:41:22 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">cat /etc/redhat-release</div><div style="font-family:arial,sans-serif;font-size:13px">Red Hat Enterprise Linux Server release 6.3 (Santiago)<br>
</div><div style="font-family:arial,sans-serif;font-size:13px">Configuration:</div><div style="font-family:arial,sans-serif;font-size:13px"><br>./configure --prefix=/my-prefix/syslog-ng --enable-sql --enable-ipv6 --enable-dynamic-linking --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --enable-shared --disable-static CFLAGS=-O2<br>
<br>Getting this:</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">syslog-ng Open Source Edition 3.4.1 configured<br> Compiler options:<br> compiler : gcc -std=gnu99<br>
compiler options : -O2 -Wall -pthread -I/my-prefix/sources/glib-2.15.4/ -I/my-prefix/eventlog/include/eventlog/ -I$(top_srcdir)/lib/ivykis/src/include -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE -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 : /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></div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">But make is failing no matter what I do:</div><div style="font-family:arial,sans-serif;font-size:13px">
</div><div style="font-family:arial,sans-serif;font-size:13px">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 (first use in this function)<br>afinter.c:405: error: 'internal_msg_queue' undeclared (first use in this function)<br>afinter.c:407: warning: implicit declaration of function 'g_queue_new'<br>
afinter.c:409: warning: implicit declaration of function 'g_queue_push_tail'<br>afinter.c:411: error: 'AFInterSource' has no member named '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 'register_application_hook'<br>afinter.c:424: error: 'afinter_register_posted_hook' 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>
</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">Can somebody advice? </div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">
Thx for your time.</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">Regards</div><div style="font-family:arial,sans-serif;font-size:13px"> </div>
<div style="font-family:arial,sans-serif;font-size:13px">Michal </div></div>
<br></div></div><div>______________________________________________________________________________<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></div></blockquote></div>
<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></blockquote></div><br></div></div>
<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></blockquote></div>