EDM R1-12-69 fails to build on RHEL6 64bit OS. The problem is in calc_pv_factory.cc file in function equals. I have commented the offending lines and added lines with my fix. Here it is:
bool equals(const HashedCalcPvList *lhs, const HashedCalcPvList *rhs)
{
// if ( (unsigned int ) lhs->pv < (unsigned int ) rhs->pv ) {
if ( (unsigned long ) lhs->pv < (unsigned long ) rhs->pv ) {
return 1;
}
// else if ( (unsigned int ) lhs->pv > (unsigned int ) rhs->pv ) {
else if ( (unsigned long ) lhs->pv > (unsigned long ) rhs->pv ) {
return -1;
}
return 0;
}
I also get an enormous number of warnings.
Which version of edm is known to work with RHEL6 64bit Linux?
When I run the edm (1-12-69) binary I get the following warnings:
zms@ilc-esb09 $ Warning:
Name: filemenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: viewmenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: pathmenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: helpmenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: filemenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: viewmenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: pathmenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Warning:
Name: helpmenu
Class: XmCascadeButton
Illegal mnemonic character; Could not convert X KEYSYM to a keycode
Do these indicate that I may be missing something in the motif installation?
Thanks for any help,
Zen