>One hack would be to remove or uncomment it in the Makefile. 
>However, you may have to do this for all makefiles recursively 
>invoked.

This does indeed get me past that error.

>This is slightly off topic, but since you're at the stage of building
>Heartbeat am I assuming correctly you successfully built the
>cluster-glue development libraries? I ask because we have an open bug
>(http://developerbugs.linux-foundation.org/show_bug.cgi?id=2252) where
>the reporter said he was unable to build Glue on Solaris. Would you mind
>commenting on the bug saying if this works for you, and if so what you
>needed to do to get Glue to build? Thanks.

Sorry to have confused you, but the error I am seeing is in the build 
of the glue. It's interesting that the person have the problems in 
the bug doesn't seem to getting  -Wfgnu89-inline, 
-Wfstack-protector-all, or Wunsigned-char in the output.

Anyway, once I hacked that out, I get

strndup.c: In function 'strndup':
strndup.c:28: error: implicit declaration of function 'strnlen'
strndup.c:28: error: nested extern declaration of 'strnlen'

So I changed the define to say I don't have that function and that leads to...

/usr/include/glib-2.0/glib/gthread.h: In function 'g_once_init_enter':
/usr/include/glib-2.0/glib/gthread.h:344: error: cast discards 
qualifiers from pointer target type

pils.c: In function 'PIL_strerror':
pils.c:1299: error: implicit declaration of function 'snprintf'
pils.c:1299: error: nested extern declaration of 'snprintf'

It's not quite clear how the bug poster was able to able to get 
passed a few of the errors I was seeing, but now what I am seeing is 
closer to the bug poster's issue.
-- 

Maurice Volaski, [email protected]
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University
_______________________________________________
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