Hi, On Wed, Oct 21, 2009 at 03:08:53PM +0200, Florian Haas wrote: > On 2009-10-21 14:36, Dejan Muhamedagic wrote: > >>> The warnings being? > >> In agents, a simple "./configure && make" leads to: > >> > >> [...] > >> gmake[1]: Entering directory `/home/rpmbuild/hg/cluster-agents/heartbeat' > >> if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include > >> -I../linux-ha -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g > >> -O2 -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall > >> -Waggregate-return -Wbad-function-cast -Wcast-qual -Wcast-align > >> -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 > >> -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes > >> -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs > >> -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes > >> -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -MT IPv6addr.o > >> -MD -MP -MF ".deps/IPv6addr.Tpo" -c -o IPv6addr.o IPv6addr.c; \ > >> then mv -f ".deps/IPv6addr.Tpo" ".deps/IPv6addr.Po"; else rm -f > >> ".deps/IPv6addr.Tpo"; exit 1; fi > >> cc1: warnings being treated as errors > >> IPv6addr.c: In function ‘send_ua’: > >> IPv6addr.c:453: warning: passing argument 2 of > >> ‘libnet_pblock_record_ip_offset’ makes pointer from integer without a cast > > > > This doesn't happen here with libnet-1.1.2.1-140.75.i586. Which > > libnet version do you have? > > libnet-1.1.4-3.el5
API changed. I'll see how this can be detected at the configure stage. Cheers, Dejan > Cheers, > Florian > > _______________________________________________ > Pacemaker mailing list > [email protected] > http://oss.clusterlabs.org/mailman/listinfo/pacemaker _______________________________________________ Pacemaker mailing list [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker
