<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">On May 31, 2013 6:46 AM, &quot;Flur Blubr&quot; &lt;<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a>&gt; 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 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:&#39;Trebuchet MS&#39;,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:&#39;Trebuchet MS&#39;,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 &#39;)&#39; before &#39;mark_freq&#39;<br>afinter.c: In function &#39;afinter_message_posted&#39;:<br>

afinter.c:404: error: &#39;internal_msg_lock&#39; undeclared (first use in this function)<br>afinter.c:405: error: &#39;internal_msg_queue&#39; undeclared (first use in this function)<br>afinter.c:407: warning: implicit declaration of function &#39;g_queue_new&#39;<br>

afinter.c:409: warning: implicit declaration of function &#39;g_queue_push_tail&#39;<br>afinter.c:411: error: &#39;AFInterSource&#39; has no member named &#39;post&#39;<br>afinter.c: At top level:<br>afinter.c:416: error: expected &#39;)&#39; before &#39;hook_type&#39;<br>

afinter.c: In function &#39;afinter_global_init&#39;:<br>afinter.c:424: warning: implicit declaration of function &#39;register_application_hook&#39;<br>afinter.c:424: error: &#39;afinter_register_posted_hook&#39; 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&#39;<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib&#39;<br>

make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/my-prefix/syslog-ng-3.4.1/lib&#39;<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/my-prefix/syslog-ng-3.4.1&#39;<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>______________________________________________________________________________<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>