[Linux-HA] Compile error - source CRM-Stable-190294c11946 (from
Andrew's website), platform RHES4 x86_64
Alex and Gill Strachan
asgks at yahoo.com
Mon Oct 30 05:46:53 MST 2006
I don't ! I haven't looked at C code in a long time but I will try tomorrow. Could be fun ;-)
Now - what could 'quorumd.c:336: warning: cast to pointer from integer of different size' mean !?!
Going to catch up on some sleep now.
----- Original Message ----
From: Andrew Beekhof <beekhof at gmail.com>
To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
Sent: Monday, 30 October, 2006 9:48:26 PM
Subject: Re: [Linux-HA] Compile error - source CRM-Stable-190294c11946 (from Andrew's website), platform RHES4 x86_64
On 10/30/06, Alex and Gill Strachan <asgks at yahoo.com> wrote:
> Compiling this version due to usage on RHES4 32bit platform. On the 64 bit platform I am experiencing an error with drbddisk where it becomes unmanaged, using the above source code I don't get this on 32bit OS.
>
> I installed a libnet..64 bit version.
>
> ConfigureMe configure
> make
>
> The following error resulted ...
>
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls -I/usr/include -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 quorumd_la-quorumd.lo -MD -MP -MF .deps/quorumd_la-quorumd.Tpo -c quorumd.c -fPIC -DPIC -o
> .libs/quorumd_la-quorumd.o
> quorumd.c: In function `initialize_tls_session':
> quorumd.c:336: warning: cast to pointer from integer of different size
> gmake[4]: *** [quorumd_la-quorumd.lo] Error 1
> gmake[4]: Leaving directory `/home/astracha/tasks/hb2/CRM-Stable-190294c11946/lib/plugins/quorum'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/home/astracha/tasks/hb2/CRM-Stable-190294c11946/lib/plugins/quorum'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/home/astracha/tasks/hb2/CRM-Stable-190294c11946/lib/plugins'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/astracha/tasks/hb2/CRM-Stable-190294c11946/lib'
> make: *** [all-recursive] Error 1
> [root at rokfids1 CRM-Stable-190294c11946]# uname -a
> Linux rokfids1 2.6.9-34.EL #1 Fri Feb 24 16:46:41 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
do you have a patch that makes this compile for you? i dont have any
64-bit systems...
_______________________________________________
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
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the Linux-HA
mailing list