[Linux-HA] Compile error building 2.1.2 on RHEL5 64 bit
Doug Knight
dknight at wsi.com
Thu Sep 13 07:32:06 MDT 2007
I could do that, but isn't there a reason why warnings are set to fatal
for the build? Also, I successfully built the 2.0.8 on the same system
some time ago. I was building the 2.1.2 to try it out as an upgrade to
our existing configuration.
Doug
On Thu, 2007-09-13 at 14:55 +0200, Christian Frank wrote:
> Hi,
>
> add --disable-fatal-warnings to the configure.
>
> cause "cc1: warnings being treated as errors" will stop compiling
> everytime you have a compiler warning.
>
>
> Regards,
> Christian
>
> Doug Knight schrieb:
> > All,
> > I just downloaded the 2.1.2 tar ball to my RHEL5 64 bit system, and got
> > the following error during the ConfigureMe make phase:
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include -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 -Werror -ggdb3
> > -funsigned-char -DALIGNFUNC= -DMSGHDR_TYPE=msghdr -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 -Werror -ggdb3
> > -funsigned-char -MT ipcsocket.lo -MD -MP -MF .deps/ipcsocket.Tpo -c
> > ipcsocket.c -fPIC -DPIC -o .libs/ipcsocket.o
> > cc1: warnings being treated as errors
> > ipcsocket.c: In function 'socket_verify_auth':
> > ipcsocket.c:2293: warning: cast to pointer from integer of different
> > size
> > ipcsocket.c:2297: warning: cast to pointer from integer of different
> > size
> > gmake[2]: *** [ipcsocket.lo] Error 1
> > gmake[2]: Leaving directory
> > `/root/Downloads/heartbeat/heartbeat-2.1.2/lib/clplumbing'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory
> > `/root/Downloads/heartbeat/heartbeat-2.1.2/lib'
> > gmake: *** [all-recursive] Error 1
> >
> >
> > Has anyone seen this before, or anyone know what to correct to complete
> > the build?
> >
> > Thanks,
> > Doug Knight
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
> ****************************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. Access to this e-mail by anyone else is unauthorised.
> If you are not the intended recipient, any disclosure, copying,
> distribution or any action taken or omitted to be taken in reliance on
> it, is prohibited.
> E-mail messages are not necessarily secure. Renesas does not accept
> responsibility for any changes made to this message after it was sent.
> Please note that this email message has been swept by Renesas for
> the presence of computer viruses.
>
> Renesas Semiconductor Europe (Landshut) GmbH
> Jenaer Strasse 1, 84034 Landshut
> Tel.: +49-(0)871-684-0, Fax: +49-(0)871-684-150
> www.rsel.renesas.com
>
> GESCHAEFTSFUEHRER: Dipl.-Ing. YOSHIHARU KAKUI
> GESCHAEFTSFUEHRER: Dipl.-Phys. STEFAN SAUER
>
> Registergericht Landshut HRB 1464
> Ust-ldNr.: DE 128953054 Steuer-Nr.: 132/136/30347
>
> HypoVereinsbank, Landshut, Kto.-Nr. 3704 700 (BLZ 743 200 73)
> Mizuho Corporate Bank (Germany) AG, Frankfurt, Kto.-Nr. 200 733 (BLZ 503 308 00)
> ****************************************************************************
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list