<p dir="ltr">Dear R,  cool issue.</p>
<p dir="ltr">I have not seen this exact error on my compiles, here are some pointers:<br>
1. Post your config.log<br>
2. View the location of the referenced file(s)  In file included from /usr/include/net/ethernet.h:27,<br>
                 from /usr/include/libnet.h:98,<br>
                 from afinet-dest.c:43</p>
<p dir="ltr">3. Rerun the configure, make clean, make. Sometimes rerunning the configure and running make cleac helps.</p>
<p dir="ltr">Please post the findings.</p>
<div class="gmail_quote">On May 5, 2013 6:00 AM,  &lt;<a href="mailto:syslog-ng-request@lists.balabit.hu">syslog-ng-request@lists.balabit.hu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send syslog-ng mailing list submissions to<br>
        <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:syslog-ng-request@lists.balabit.hu">syslog-ng-request@lists.balabit.hu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:syslog-ng-owner@lists.balabit.hu">syslog-ng-owner@lists.balabit.hu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of syslog-ng digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1.  problems compiling OSE 3.4.1 on redhat enterprise 6.4<br>
      (Russell Fulton)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 5 May 2013 13:28:04 +1200<br>
From: Russell Fulton &lt;<a href="mailto:r.fulton@auckland.ac.nz">r.fulton@auckland.ac.nz</a>&gt;<br>
Subject: [syslog-ng] problems compiling OSE 3.4.1 on redhat enterprise<br>
        6.4<br>
To: Syslog-ng users&#39; and developers&#39; mailing list<br>
        &lt;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>
Message-ID: &lt;<a href="mailto:D1B88BF5-CE66-485B-93FF-ECE892F2F950@auckland.ac.nz">D1B88BF5-CE66-485B-93FF-ECE892F2F950@auckland.ac.nz</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
make[4]: Entering directory `/home/rful011/syslog-ng-3.4.1/modules/afsocket&#39;<br>
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../lib -I../../lib  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/local/include/eventlog       -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -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 libafsocket_notls_la-afinet-dest.lo -MD -MP -MF .deps/libafsocket_notls_la-afinet-dest.Tpo -c -o libafsocket_notls_la-afinet-dest.lo `test -f &#39;afinet-dest.c&#39; || echo &#39;./&#39;`afinet-dest.c<br>

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../lib -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/local/include/eventlog -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -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 libafsocket_notls_la-afinet-dest.lo -MD -MP -MF .deps/libafsocket_notls_la-afinet-dest.Tpo -c afinet-dest.c  -fPIC -DPIC -o .libs/libafsocket_notls_la-afinet-dest.o<br>

In file included from /usr/include/net/ethernet.h:27,<br>
                 from /usr/include/libnet.h:98,<br>
                 from afinet-dest.c:43:<br>
<br>
<br>
when I first encountered this error I went and did some googling and followed some vague leads to install a bunch of -devel packages (most of which were already installed ) but it did not make any difference.<br>
<br>
Googling the message brings up a bunch of hits for both redhat and debian families and a range of packages.  There did not seem to be any common cause.<br>
<br>
Russell<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
syslog-ng maillist  -  <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>
<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
<br>
<br>
End of syslog-ng Digest, Vol 97, Issue 4<br>
****************************************<br>
</blockquote></div>