<div>Hi Bazsi,</div>  <div>I&nbsp; downloaded a newer snapshot as per your suggestion from <A href="http://www.balabit.com/downloads/syslog-ng/2.0/src-snapshot/">http://www.balabit.com/downloads/syslog-ng/2.0/src-snapshot/</A></div>  <div>and tried to compile it. It gives me the same problem</div>  <div>*******************************************************************************************</div>  <div>afunix.c: In function 'afunix_sd_init':<BR>afunix.c:73: warning: comparison is always true due to limited range of data type<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if gcc -DHAVE_CONFIG_H -I. -I. -I..&nbsp;&nbsp;&nbsp; -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include&nbsp;&nbsp; -I/opt/soe/local/syslog-ng-2.0.2/eventlog/include/eventlog&nbsp;&nbsp; -D_GNU_SOURCE&nbsp; -g -O2 -Wall -g -MT afinet.o -MD -MP -MF ".deps/afinet.Tpo" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c -o afinet.o `test -f 'afinet.c' || echo './'`afinet.c;
 \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else rm -f ".deps/afinet.Tpo"; exit 1; \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<BR>afinet.c: In function 'afinet_setup_socket':<BR>afinet.c:157: error: storage size of 'mreq' isn't known<BR>afinet.c:157: warning: unused variable 'mreq'<BR>*** Error exit code 1</div>  <div>Stop.<BR>*** Error exit code 1</div>  <div>Stop.<BR>*** Error exit code 1</div>  <div>Stop.<BR># pwd<BR>/shamim/syslog-ng-2.0.2+20070201<BR>#<BR>***********************************************************************************************************</div>  <div>&nbsp;</div>  <div>Then I downloaded even more newer spanshot. Still the same problem</div>  <div>&nbsp;</div>  <div>###########################################################</div>  <div># cd syslog-ng-2.0.2+20070228<BR># ./configure --enable-dynamic-linking
 --prefix=/opt/soe/local/syslog-ng-2.0.2<BR>checking for a BSD-compatible install... ./install-sh -c<BR>checking whether build environment is sane... yes<BR>checking for gawk... gawk<BR>checking whether make sets $(MAKE)... yes<BR>checking for gcc... gcc<BR>checking for C compiler default output file name... a.out<BR>checking whether the C compiler works... yes<BR>checking whether we are cross compiling... no<BR>checking for suffix of executables...<BR>checking for suffix of object files... o<BR>checking whether we are using the GNU C compiler... yes<BR>checking whether gcc accepts -g... yes<BR>checking for gcc option to accept ANSI C... none needed<BR>checking for style of include used by make... GNU<BR>checking dependency style of gcc... gcc3<BR>checking for gcc option to accept ANSI C... none needed<BR>checking for bison... bison -y<BR>checking for flex... flex<BR>checking for yywrap in -lfl... yes<BR>checking lex output file root... lex.yy<BR>checking whether yytext is
 a pointer... yes<BR>checking whether make sets $(MAKE)... (cached) yes<BR>checking for ranlib... ranlib<BR>checking how to enable static linking for certain libraries... HP-UX<BR>checking how to run the C preprocessor... gcc -E<BR>checking for egrep... grep -E<BR>checking for ANSI C header files... yes<BR>checking for sys/types.h... yes<BR>checking for sys/stat.h... yes<BR>checking for stdlib.h... yes<BR>checking for string.h... yes<BR>checking for memory.h... yes<BR>checking for strings.h... yes<BR>checking for inttypes.h... yes<BR>checking for stdint.h... no<BR>checking for unistd.h... yes<BR>checking dmalloc.h usability... no<BR>checking dmalloc.h presence... no<BR>checking for dmalloc.h... no<BR>checking for strings.h... (cached) yes<BR>checking openssl/ssl.h usability... no<BR>checking openssl/ssl.h presence... no<BR>checking for openssl/ssl.h... no<BR>checking getopt.h usability... no<BR>checking getopt.h presence... no<BR>checking for getopt.h... no<BR>checking
 stropts.h usability... yes<BR>checking stropts.h presence... yes<BR>checking for stropts.h... yes<BR>checking sys/strlog.h usability... yes<BR>checking sys/strlog.h presence... yes<BR>checking for sys/strlog.h... yes<BR>checking door.h usability... no<BR>checking door.h presence... no<BR>checking for door.h... no<BR>checking whether struct tm is in sys/time.h or time.h... time.h<BR>checking for struct tm.tm_gmtoff... no<BR>checking for I_CONSLOG... no<BR>checking for O_LARGEFILE... yes<BR>checking for struct sockaddr_storage... yes<BR>checking for door_create in -ldoor... no<BR>checking for socket in -lsocket... no<BR>checking for nanosleep in -lrt... yes<BR>checking for gethostbyname in -lnsl... yes<BR>checking for regexec in -lregex... no<BR>checking for res_init in -lresolv... no<BR>checking for strdup... yes<BR>checking for strtol... yes<BR>checking for inet_aton... yes<BR>checking for inet_ntoa... yes<BR>checking for getopt_long... no<BR>checking for getaddrinfo...
 yes<BR>checking for getutent... yes<BR>checking whether to enable Sun STREAMS support... no<BR>checking whether to enable Sun door support... no<BR>checking for pkg-config... /usr/local/bin/pkg-config<BR>checking pkg-config is at least version 0.9.0... yes<BR>checking for GLIB_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include<BR>checking for GLIB_LIBS... -L/usr/local/lib -lglib-2.0 -lintl -liconv<BR>checking for EVTLOG_CFLAGS... -I/opt/soe/local/syslog-ng-2.0.2/eventlog/include/eventlog<BR>checking for EVTLOG_LIBS... -L/opt/soe/local/syslog-ng-2.0.2/eventlog/lib -levtlog<BR>checking for LIBNET... yes<BR>checking for static GLib libraries... no<BR>configure: creating ./config.status<BR>config.status: creating dist.conf<BR>config.status: creating Makefile<BR>config.status: creating syslog-ng.spec.bb<BR>config.status: creating src/Makefile<BR>config.status: creating doc/Makefile<BR>config.status: creating doc/docvars.xml<BR>config.status: creating
 contrib/Makefile<BR>config.status: creating tests/Makefile<BR>config.status: creating solbuild/Makefile<BR>config.status: creating tests/unit/Makefile<BR>config.status: creating tests/functional/Makefile<BR>config.status: creating config.h<BR>config.status: executing depfiles commands<BR>#<BR></div>  <div>&nbsp;if gcc -DHAVE_CONFIG_H -I. -I. -I..&nbsp;&nbsp;&nbsp; -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include&nbsp;&nbsp; -I/opt/soe/local/syslog-ng-2.0.2/eventlog/include/eventlog&nbsp;&nbsp; -DLIBNET_BIG_ENDIAN -D_GNU_SOURCE&nbsp; -g -O2 -Wall -g -MT afinet.o -MD -MP -MF ".deps/afinet.Tpo" \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c -o afinet.o `test -f 'afinet.c' || echo './'`afinet.c; \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else rm -f ".deps/afinet.Tpo"; exit 1; \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<BR>afinet.c: In
 function 'afinet_setup_socket':<BR>afinet.c:157: error: storage size of 'mreq' isn't known<BR>afinet.c:157: warning: unused variable 'mreq'<BR>*** Error exit code 1</div>  <div>Stop.<BR>*** Error exit code 1</div>  <div>Stop.<BR>*** Error exit code 1</div>  <div>Stop.<BR>#<BR></div>  <div>&nbsp;</div>  <div>##############################################################</div>  <div><BR>&nbsp;</div>  <div>Pease advise.</div>  <div>&nbsp;</div>  <div>Thanks</div>  <div>Shamimuddin</div>  <div>CSC Noida<BR><B><I>Balazs Scheidler &lt;bazsi@balabit.hu&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, 2007-02-26 at 15:50 +0000, Shamim wrote:<BR>&gt; Hi Everybody,<BR>&gt; <BR>&gt; ***************************************************************************************<BR>&gt; My System H/w is HP-UX 11.11<BR>&gt; Model: 9000/785/B2000<BR>&gt; OS mode: 64 bit<BR>&gt;
 *************************************************************************************<BR>&gt; I'm trying to compile syslog-ng-2.0.2.on HP-UX machine and it give<BR>&gt; beloe error.<BR>&gt; <BR>&gt; afinet.c: In function 'afinet_setup_socket':<BR>&gt; afinet.c:157: error: storage size of 'mreq' isn't known<BR>&gt; afinet.c:157: warning: unused variable 'mreq'<BR>&gt; *** Error exit code 1<BR>&gt; Stop.<BR>&gt; *** Error exit code 1<BR>&gt; Stop.<BR>&gt; *** Error exit code 1<BR>&gt; Stop.<BR>&gt; #<BR>&gt; <BR>&gt; However when I comment this function and it get compiled, but it<BR>&gt; didn't send message to central server.<BR>&gt; <BR>&gt; The out put of includea header file is :<BR>&gt; ********************************************************************************<BR>&gt; # find /usr/include -name \*.h | xargs grep "struct ip_mreq"<BR>&gt; /usr/include/netinet/in.h:struct ip_mreq {<BR>&gt; #<BR>&gt;
 **********************************************************************************<BR>&gt; <BR>&gt; <BR>&gt; IF anybody has faced same problem , please share with me, <BR>&gt; Thanks in advance<BR><BR>I fixed this problem after 2.0.2 was released. Try a newer snapshot.<BR><BR>-- <BR>Bazsi<BR><BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1> 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/trueswitch/*http://uk.docs.yahoo.com/trueswitch2.html">Do it now...</a>