Hi,

On Mon, Feb 15, 2010 at 04:42:57PM +0200, Yossi Nachum wrote:
> Hi
> I have now the first problem from the already repoted bug:
> 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include
> -I../../include -I../../include -I../../linux-ha -I../../linux-ha
> -I../../libltdl -I../../libltdl -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual
> -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute
> -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long
> -Wno-strict-aliasing -ggdb3 -funsigned-char -ggdb3 -O0 -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 -g -O2 -Wall
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual
> -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute
> -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long
> -Wno-strict-aliasing -ggdb3 -funsigned-char -ggdb3 -O0 -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 pils.lo -MD -MP
> -MF .deps/pils.Tpo -c pils.c  -fPIC -DPIC -o .libs/pils.o
> pils.c: In function `PIL_strerror':
> pils.c:1299: warning: implicit declaration of function `snprintf'
> pils.c:1299: warning: nested extern declaration of `snprintf'

snprintf should be declared in stdio.h which is included at the
top of pils.c. You could try to copy the above gcc line, add
the -E option to get the cpp output, replace -o .libs/pils.o
with -o pils.i, and check the resulting file (i.e. search for
snprintf).

> make[2]: *** [pils.lo] Error 1
> make[2]: Leaving directory
> `/usr/local/src/linux-ha/Reusable-Cluster-Components-glue-1.0.3/lib/pils'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/local/src/linux-ha/Reusable-Cluster-Components-glue-1.0.3/lib'
> make: *** [all-recursive] Error 1
> 
> when I make an old version of heartbeat (2.1.4) its working...

That's odd. pils.c didn't change much since 2005.

Thanks,

Dejan

> On Mon, Feb 15, 2010 at 1:20 PM, Dejan Muhamedagic <[email protected]>wrote:
> 
> > Hi,
> >
> > On Mon, Feb 15, 2010 at 01:15:49PM +0200, Yossi Nachum wrote:
> > > I solved this either by adding /usr/ccs/bin to my PATH
> > > but I have more problems...
> > > I am trying now to compile it gnu ld, the gnu ld is in /usr/local/bin/ld
> > do
> > > you know how I tell configure to use it?
> > > it always pick the sun version of ld ...
> >
> > Not sure. Perhaps by fixing your PATH to look first in
> > /usr/local/bin.
> >
> > Thanks,
> >
> > Dejan
> >
> > > On Mon, Feb 15, 2010 at 12:24 PM, Dejan Muhamedagic <[email protected]
> > >wrote:
> > >
> > > > Hi,
> > > >
> > > > On Thu, Feb 11, 2010 at 10:53:24PM +0200, Yossi Nachum wrote:
> > > > > I solved this error by installing more dependencies packages
> > > > > but now I get this error
> > > > >
> > > > > make[1]: *** [libreplace.la] Error 1
> > > > > make[1]: Leaving directory
> > > > >
> > `/usr/local/src/linux-ha/Reusable-Cluster-Components-glue-1.0.3/replace'
> > > > > make: *** [all-recursive] Error 1
> > > >
> > > > This doesn't tell us anything. Isn't there more?
> > > >
> > > > Thanks,
> > > >
> > > > Dejan
> > > > _______________________________________________
> > > > Linux-HA mailing list
> > > > [email protected]
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > > See also: http://linux-ha.org/ReportingProblems
> > > >
> > > _______________________________________________
> > > Linux-HA mailing list
> > > [email protected]
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to