[Pacemaker] pacemaker-mgmt compile error
Michael Fung
mike at 3open.org
Wed Jun 23 09:40:12 UTC 2010
After patching the glib header file, it went further and died here:
/usr/lib/libpe_status.so.2: undefined reference to `printw'
/usr/lib/libpe_status.so.2: undefined reference to `stdscr'
/usr/lib/libpe_status.so.2: undefined reference to `wmove'
collect2: ld returned 1 exit status
I think I will give up and wait for a .deb package instead.
Thanks for all who helped.
Rgds,
Michael
On 2010/6/23 下午 03:42, Yan Gao wrote:
>
>
> On 06/23/10 14:21, Michael Fung wrote:
>>
>> On 2010/6/23 上午 11:18, Yan Gao wrote:
>>>
>>> Strange glib...How about use "--enable-fatal-warnings=no" when configuring the source?
>>
>> Dear Yan, thanks for your help.
>>
>> After restart from scratch and doing:
>> ./Configure configure --enable-fatal-warnings=no
>>
>> The make result is the same:
>> cc1: warnings being treated as errors
>> In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
>> from /usr/include/glib-2.0/glib.h:34,
>> from mgmt_tls_lib.c:33:
>> /usr/include/glib-2.0/glib/gthread.h: In function ‘g_once_init_enter’:
>> /usr/include/glib-2.0/glib/gthread.h:348: error: cast discards
>> qualifiers from pointer target type
>> make[2]: *** [libhbmgmttls_la-mgmt_tls_lib.lo] Error 1
>> make[2]: Leaving directory
>> `/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib'
>> make: *** [all-recursive] Error 1
>
> Hmm, not sure... looks like there's some problem with the inline function from the glib header.
> You may need to check your installation of glib and its devel package.
>
> Regards,
> Yan
More information about the Pacemaker
mailing list