Dear R, cool issue.
I have not seen this exact error on my compiles, here are some pointers:
1. Post your config.log
2. View the location of the referenced file(s) In file included from /usr/include/net/ethernet.h:27,
from /usr/include/libnet.h:98,
from afinet-dest.c:43
3. Rerun the configure, make clean, make. Sometimes rerunning the configure and running make cleac helps.
Please post the findings.
Send syslog-ng mailing list submissions to
syslog-ng@lists.balabit.hu
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.balabit.hu/mailman/listinfo/syslog-ng
or, via email, send a message with subject or body 'help' to
syslog-ng-request@lists.balabit.hu
You can reach the person managing the list at
syslog-ng-owner@lists.balabit.hu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of syslog-ng digest..."
Today's Topics:
1. problems compiling OSE 3.4.1 on redhat enterprise 6.4
(Russell Fulton)
----------------------------------------------------------------------
Message: 1
Date: Sun, 5 May 2013 13:28:04 +1200
From: Russell Fulton <r.fulton@auckland.ac.nz>
Subject: [syslog-ng] problems compiling OSE 3.4.1 on redhat enterprise
6.4
To: Syslog-ng users' and developers' mailing list
<syslog-ng@lists.balabit.hu>
Message-ID: <D1B88BF5-CE66-485B-93FF-ECE892F2F950@auckland.ac.nz>
Content-Type: text/plain; charset=us-ascii
make[4]: Entering directory `/home/rful011/syslog-ng-3.4.1/modules/afsocket'
/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 'afinet-dest.c' || echo './'`afinet-dest.c
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
In file included from /usr/include/net/ethernet.h:27,
from /usr/include/libnet.h:98,
from afinet-dest.c:43:
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.
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.
Russell
------------------------------
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
End of syslog-ng Digest, Vol 97, Issue 4
****************************************