[gembud] GEMPAK 5.11.4 Compiling Errors

Hello,

I'm trying to install GEMPAK on Fedora 12 (Intel Core 2 Duo processor with
x86_64 architecture). Each time I run 'make everything >& make.out &' it
runs successfully for 10-15 minutes, then I run into a large number of
errors having to do with /usr/include/Xm  (output below). After browsing
through the GEMPAK support archives, it would seem that these types of
errors are related to OpenMotif...but usually in those cases OpenMotif was
not installed or the wrong version was being used. As you can see below,
OpenMotif 2.3.1 is installed on my machine:

[root@localhost Desktop]# yum list openmotif
Loaded plugins: presto, refresh-packagekit
Installed Packages
openmotif.x86_64

2.3.1-1
installed
[root@localhost Desktop]# yum list openmotif-devel
Loaded plugins: presto, refresh-packagekit
Installed Packages
openmotif-devel.x86_64
2.3.1-1                                                            installed


Any ideas what is wrong? Any help would be greatly appreciated.

Thanks,

Chris Hovanic

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

/usr/include/Xm/RowColumn.h:123: error: ‘XmVaCreateRowColumn’ declared as
function returning a function
/usr/include/Xm/RowColumn.h:127: error: ‘XmVaCreateManagedRowColumn’
declared as function returning a function
In file included from /usr/include/Xm/XmAll.h:94,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/SSpinB.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/SSpinB.h:42: error: expected declaration specifiers or ‘...’
before ‘ArgList’
/usr/include/Xm/SSpinB.h:43: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/SSpinB.h:43: error: ‘XmCreateSimpleSpinBox’ declared as
function returning a function
/usr/include/Xm/SSpinB.h:65: error: ‘XmVaCreateSimpleSpinBox’ declared as
function returning a function
/usr/include/Xm/SSpinB.h:70: error: ‘XmVaCreateManagedSimpleSpinBox’
declared as function returning a function
In file included from /usr/include/Xm/XmAll.h:95,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/Scale.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/Scale.h:78: error: expected declaration specifiers or ‘...’
before ‘ArgList’
/usr/include/Xm/Scale.h:79: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/Scale.h:79: error: ‘XmCreateScale’ declared as function
returning a function
/usr/include/Xm/Scale.h:83: error: ‘XmVaCreateScale’ declared as function
returning a function
/usr/include/Xm/Scale.h:87: error: ‘XmVaCreateManagedScale’ declared as
function returning a function
/usr/include/Xm/Scale.h:91: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/Scale.h:92: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/Scale.h:93: error: expected declaration specifiers or ‘...’
before ‘Dimension’
/usr/include/Xm/Scale.h:94: error: expected declaration specifiers or ‘...’
before ‘Dimension’
/usr/include/Xm/Scale.h:95: error: expected declaration specifiers or ‘...’
before ‘Dimension’
In file included from /usr/include/Xm/XmAll.h:96,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/Screen.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/Screen.h:72: error: ‘XmGetXmScreen’ declared as function
returning a function
In file included from /usr/include/Xm/XmAll.h:97,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/ScrollBar.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/ScrollBar.h:74: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/ScrollBar.h:75: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/ScrollBar.h:75: error: ‘XmCreateScrollBar’ declared as
function returning a function
/usr/include/Xm/ScrollBar.h:91: error: expected declaration specifiers or
‘...’ before ‘Boolean’
/usr/include/Xm/ScrollBar.h:101: error: ‘XmVaCreateScrollBar’ declared as
function returning a function
/usr/include/Xm/ScrollBar.h:105: error: ‘XmVaCreateManagedScrollBar’
declared as function returning a function
In file included from /usr/include/Xm/XmAll.h:98,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/ScrolledW.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/ScrolledW.h:73: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/ScrolledW.h:74: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/ScrolledW.h:74: error: ‘XmCreateScrolledWindow’ declared as
function returning a function
/usr/include/Xm/ScrolledW.h:78: error: expected declaration specifiers or
‘...’ before ‘Dimension’
/usr/include/Xm/ScrolledW.h:79: error: expected declaration specifiers or
‘...’ before ‘Dimension’
/usr/include/Xm/ScrolledW.h:88: error: ‘XmVaCreateScrolledWindow’ declared
as function returning a function
/usr/include/Xm/ScrolledW.h:92: error: ‘XmVaCreateManagedScrolledWindow’
declared as function returning a function
In file included from /usr/include/Xm/XmAll.h:99,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/SelectioB.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/SelectioB.h:74: error: ‘XmSelectionBoxGetChild’ declared as
function returning a function
/usr/include/Xm/SelectioB.h:78: error: expected declaration specifiers or
‘...’ before ‘String’
/usr/include/Xm/SelectioB.h:79: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/SelectioB.h:80: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/SelectioB.h:80: error: ‘XmCreateSelectionBox’ declared as
function returning a function
/usr/include/Xm/SelectioB.h:83: error: expected declaration specifiers or
‘...’ before ‘String’
/usr/include/Xm/SelectioB.h:84: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/SelectioB.h:85: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/SelectioB.h:85: error: ‘XmCreateSelectionDialog’ declared as
function returning a function
/usr/include/Xm/SelectioB.h:88: error: expected declaration specifiers or
‘...’ before ‘String’
/usr/include/Xm/SelectioB.h:89: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/SelectioB.h:90: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/SelectioB.h:90: error: ‘XmCreatePromptDialog’ declared as
function returning a function
/usr/include/Xm/SelectioB.h:99: error: ‘XmVaCreateSelectionBox’ declared as
function returning a function
/usr/include/Xm/SelectioB.h:103: error: ‘XmVaCreateManagedSelectionBox’
declared as function returning a function
In file included from /usr/include/Xm/XmAll.h:100,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/SeparatoG.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/SeparatoG.h:68: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/SeparatoG.h:69: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/SeparatoG.h:69: error: ‘XmCreateSeparatorGadget’ declared as
function returning a function
/usr/include/Xm/SeparatoG.h:73: error: ‘XmVaCreateSeparatorGadget’ declared
as function returning a function
/usr/include/Xm/SeparatoG.h:78: error: ‘XmVaCreateManagedSeparatorGadget’
declared as function returning a function
In file included from /usr/include/Xm/XmAll.h:101,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/Separator.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/Separator.h:67: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/Separator.h:68: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/Separator.h:68: error: ‘XmCreateSeparator’ declared as
function returning a function
/usr/include/Xm/Separator.h:72: error: ‘XmVaCreateSeparator’ declared as
function returning a function
/usr/include/Xm/Separator.h:76: error: ‘XmVaCreateManagedSeparator’ declared
as function returning a function
In file included from /usr/include/Xm/XmAll.h:102,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/SpinB.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/SpinB.h:39: error: expected declaration specifiers or ‘...’
before ‘ArgList’
/usr/include/Xm/SpinB.h:40: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/SpinB.h:40: error: ‘XmCreateSpinBox’ declared as function
returning a function
/usr/include/Xm/SpinB.h:44: error: ‘XmVaCreateSpinBox’ declared as function
returning a function
/usr/include/Xm/SpinB.h:48: error: ‘XmVaCreateManagedSpinBox’ declared as
function returning a function
In file included from /usr/include/Xm/XmAll.h:103,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/TabBox.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘xmTabBoxWidgetClass’
/usr/include/Xm/TabBox.h:56: error: expected declaration specifiers or ‘...’
before ‘String’
/usr/include/Xm/TabBox.h:56: error: expected declaration specifiers or ‘...’
before ‘ArgList’
/usr/include/Xm/TabBox.h:56: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/TabBox.h:56: error: ‘XmCreateTabBox’ declared as function
returning a function
In file included from /usr/include/Xm/TabStack.h:6,
                 from /usr/include/Xm/XmAll.h:104,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/TabList.h:72: error: expected specifier-qualifier-list
before ‘Pixel’
/usr/include/Xm/TabList.h:107: error: expected declaration specifiers or
‘...’ before ‘XtValueMask’
/usr/include/Xm/TabList.h:113: error: expected declaration specifiers or
‘...’ before ‘XtValueMask’
/usr/include/Xm/TabList.h:119: error: expected declaration specifiers or
‘...’ before ‘XtValueMask’
In file included from /usr/include/Xm/XmAll.h:104,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/TabStack.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘xmTabStackWidgetClass’
/usr/include/Xm/TabStack.h:21: error: expected declaration specifiers or
‘...’ before ‘String’
/usr/include/Xm/TabStack.h:21: error: expected declaration specifiers or
‘...’ before ‘ArgList’
/usr/include/Xm/TabStack.h:21: error: expected declaration specifiers or
‘...’ before ‘Cardinal’
/usr/include/Xm/TabStack.h:21: error: ‘XmCreateTabStack’ declared as
function returning a function
/usr/include/Xm/TabStack.h:22: error: ‘XmTabStackGetSelectedTab’ declared as
function returning a function
/usr/include/Xm/TabStack.h:23: error: expected declaration specifiers or
‘...’ before ‘Boolean’
/usr/include/Xm/TabStack.h:24: error: ‘XmTabStackIndexToWidget’ declared as
function returning a function
/usr/include/Xm/TabStack.h:25: error: ‘XmTabStackXYToWidget’ declared as
function returning a function
/usr/include/Xm/TabStack.h:34: error: ‘XmVaCreateTabStack’ declared as
function returning a function
/usr/include/Xm/TabStack.h:38: error: ‘XmVaCreateManagedTabStack’ declared
as function returning a function
In file included from /usr/include/Xm/XmAll.h:105,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/geminc.h:57,
                 from spfclnup.c:1:
/usr/include/Xm/Text.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘WidgetClass’
/usr/include/Xm/Text.h:96: error: expected declaration specifiers or ‘...’
before ‘ArgList’
/usr/include/Xm/Text.h:97: error: expected declaration specifiers or ‘...’
before ‘Cardinal’
/usr/include/Xm/Text.h:97: error: ‘XmCreateScrolledText’ declared as
function returning a function
/usr/include/Xm/Text.h:101: error: expected declaration specifiers or ‘...’
before ‘ArgList’

cIn file included from /home/gempak/GEMPAK5.11.4/gempak/include/proto.h:28,
                 from /home/gempak/GEMPAK5.11.4/gempak/include/gemprm.h:647,
                 from spfclnup.c:2:
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:193: error:
‘ncw_create’ declared as function returning a function
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:201: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ncw_isup’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:230: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:300: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:301: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:322: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:323: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:375: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:404: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:409: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:480: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:571: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:668: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgairmet_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:679: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgairmetp_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:698: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgccfp_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:707: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgccfw_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:720: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘pgcirc_getLabColorFlag’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:721: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgcirc_getLabFlag’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:727: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgcirc_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:733: error:
expected declaration specifiers or ‘...’ before ‘XtCallbackProc’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:738: error:
expected ‘)’ before ‘lab_flag’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:753: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgcycle_useCycle’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:763: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:773: error:
‘pgdist_create’ declared as function returning a function
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:779: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgdist_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:781: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgdist_isDplOn’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:797: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgedit_isActive’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:804: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:805: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:806: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:807: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:808: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:809: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:812: error:
expected ‘)’ before ‘reset’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:819: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgextrap_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:829: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgfilterw_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:842: error:
expected ‘)’ before ‘path_flag’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:845: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgfilw_isFileSaved’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:846: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgfilw_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:847: error:
expected ‘)’ before ‘append’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:863: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgfrom_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:865: error:
expected declaration specifiers or ‘...’ before ‘Boolean’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:872: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pglpfw_isUp’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:888: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘pgfrtw_getLabColorFlag’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:889: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgfrtw_getLabFlag’
/home/gempak/GEMPAK5.11.4/gempak/include/proto_nmaplib.h:891: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgfrtw_isUp’

---------------------------------------------------------------------------------------------------------------------------------------------------------