[Linux-HA] printw warning

Xun SX Sun xunsun at cn.ibm.com
Wed Aug 3 04:05:47 MDT 2005


Hi Tanghy,

For the printw problem, you may want to have a look at the thread starting
from:

http://lists.community.tummy.com/pipermail/linux-ha-dev/2005-August/011193.html

Then check your ncurses(-devel) version and `man printw` for its prototype.

Thanks & regards
Sun, Xun
xunsun at cn.ibm.com

linux-ha-bounces at lists.linux-ha.org wrote on 2005-08-03 15:49:17:

> Hi,
>
> I am installing v2.0.0 on RedHat 8.0.
> I use the following commands:
> ./ConfigureMe configure
> ./make
> Then there are warnings of printw:
>
> cc1: warnings being treated as errors
> native.c: In function 'native_printw':
> native.c:813: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:816: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:820: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:822: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:826: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:830: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:830: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:831: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> native.c:833: warning: passing arg 1 of 'printw' discards qualifiers from
> pointer target type
> gmake[2]: *** [native.lo] Error 1
> gmake[2]: Leaving directory '/root/heartbeat-2.0.0/crm/pengine
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory '/root/heartbeat-2.0.0/crm'
> gmake: *** [all-recursive] Error 1
>
> Such warnings also happened to other files with 'printw'.
> Are these warnings serious?
>
> Anyway, I changed the configure file, deleted the "-Werror", then install
> the HA software.
> But I have the problem to run it successfully. I put "crm yes" in ha.cf
> (haresource is not used any more?), run "/etc/init.d/heartbeat start"
> on 3 nodes. 2 nodes works normally, 1 node returns nothing when I run the
> command "./crmadmin -N/-R/-D", other nodes can not get its status either.
> I don't know why.
> Also I add some resource as IPaddr in cib.xml as the sample file. But it
> does not run on any node. In fact, I am not sure when and how to add
> resources. Is there any document on this?
>
> v2.0.0 is really powerful, but not so easy to configure and use as
previous
> version. Maybe it is because I didn't find the right way. Thx for help!
:)
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20050803/ab3d541f/attachment.html>


More information about the Linux-HA mailing list