[syslog-ng] Re: Problem still persists: afinet.c:: Compilation help needed on HP-UX 11i

Balazs Scheidler bazsi at balabit.hu
Fri Mar 2 14:21:27 CET 2007


Sorry, I meant to send this message in private. As I see the original
message was also sent to the list.

So, do you have the quoted include file in your afinet.c source file?

On Thu, 2007-03-01 at 11:37 +0100, Balazs Scheidler wrote:
> On Thu, 2007-03-01 at 09:40 +0000, Shamim wrote:
> > Hi Bazsi,
> > I  downloaded a newer snapshot as per your suggestion from
> > http://www.balabit.com/downloads/syslog-ng/2.0/src-snapshot/
> > and tried to compile it. It gives me the same problem
> > *******************************************************************************************
> > afunix.c: In function 'afunix_sd_init':
> > afunix.c:73: warning: comparison is always true due to limited range
> > of data type
> >         if gcc -DHAVE_CONFIG_H -I. -I. -I..
> > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> > -I/opt/soe/local/syslog-ng-2.0.2/eventlog/include/eventlog
> > -D_GNU_SOURCE  -g -O2 -Wall -g -MT afinet.o -MD -MP -MF
> > ".deps/afinet.Tpo" \
> >           -c -o afinet.o `test -f 'afinet.c' || echo './'`afinet.c; \
> >         then mv -f ".deps/afinet.Tpo" ".deps/afinet.Po"; \
> >         else rm -f ".deps/afinet.Tpo"; exit 1; \
> >         fi
> > afinet.c: In function 'afinet_setup_socket':
> > afinet.c:157: error: storage size of 'mreq' isn't known
> > afinet.c:157: warning: unused variable 'mreq'
> > *** Error exit code 1
> > Stop.
> 
> 
> Does your version of afinet.c #include <netinet/in.h>  in the beginning
> of the file? Mine does.
> 
> Please post these questions to the mailing list, I'm quite overwhelmed
> usually, so I'm not always able to respond to compilation problems.

-- 
Bazsi



More information about the syslog-ng mailing list