<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Problems compiling syslog-ng on RH9 with spoof source</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
<BR><FONT SIZE=2 FACE="Arial">I'm having some difficulty building syslog-ng on RH9 with spoof source. I've looked through the archives and haven't</FONT>
<BR><FONT SIZE=2 FACE="Arial">seen this particular issue. I've tried it using 1.6.5, 1.6.7, 1.6.10. They all have the same problem.</FONT>
<BR><FONT SIZE=2 FACE="Arial">I've loaded libol-0.3.16 and libnet-1.1.2.1-2.0. It will build fine w/o spoof source enabled.</FONT>
<BR><FONT SIZE=2 FACE="Arial">The start of the compiling problem appears as below. </FONT>
<BR><FONT SIZE=2 FACE="Arial">Any suggestions? </FONT>
<BR><FONT SIZE=2 FACE="Arial">thanks.</FONT>
<BR><FONT SIZE=2 FACE="Arial">-gv</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">if gcc -DHAVE_CONFIG_H -I. -I/usr/src/redhat/SOURCES/syslog-ng-1.6.10/src -I. -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -g -O2 -Wall -I/usr/src/redhat/SOURCES/libol-0.3.16/src -D_GNU_SOURCE -MT afinet.o -MD -MP -MF ".deps/afinet.Tpo" \</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> -c -o afinet.o `test -f 'afinet.c' || echo '/usr/src/redhat/SOURCES/syslog-ng-1.6.10/src/'`afinet.c; \</FONT>
<BR><FONT SIZE=2 FACE="Arial">then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \</FONT>
<BR><FONT SIZE=2 FACE="Arial">else rm -f ".deps/afinet.Tpo"; exit 1; \</FONT>
<BR><FONT SIZE=2 FACE="Arial">fi</FONT>
<BR><FONT SIZE=2 FACE="Arial">In file included from afinet.c:47:</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:34: parse error before "libnet_t"</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:34: warning: no semicolon at end of struct or union</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:41: parse error before '}' token</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x: In function `do_afinet_dest_mark':</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:50: dereferencing pointer to incomplete type</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:51: dereferencing pointer to incomplete type</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:52: dereferencing pointer to incomplete type</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:53: dereferencing pointer to incomplete type</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x: In function `do_afinet_dest_free':</FONT>
<BR><FONT SIZE=2 FACE="Arial">afinet.c.x:59: dereferencing pointer to incomplete type</FONT>
</P>
</BODY>
</HTML>