[syslog-ng] afinet.c:: Compilation help needed on HP-UX 11i
Balazs Scheidler
bazsi at balabit.hu
Mon Jan 29 10:04:04 CET 2007
On Mon, 2007-01-29 at 07:42 +0000, Shamim wrote:
> 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/usr/local/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:156: error: storage size of 'mreq' isn't known
> afinet.c:156: warning: unused variable 'mreq'
> *** Error exit code 1
> Stop.
> *** Error exit code 1
> Stop.
> *** Error exit code 1
> Stop.
struct ip_mreq is required for enabling multicast on a socket. Does
HP-UX have IP multicast support? Maybe it's only a missing header?
Can you check the output of:
find /usr/include -name \*.h | xargs grep "struct ip_mreq"
(or wherever system headers are located)
--
Bazsi
More information about the syslog-ng
mailing list