Error during make-XmStrDefs.c:18: error: declaration for parameter '_XmStrings' but no such parameter

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Error during make-XmStrDefs.c:18: error: declaration for parameter '_XmStrings' but no such parameter

Submitted by dirty_hary on Sun, 01/10/2010 - 09:44. General Questions
make command on openmotif-2.3.0 (after ./compile) gives lots of warnings:
XmStrDefs.c:1371: warning: (near initialization for '_XmStrings')
XmStrDefs.c:1372: warning: excess elements in scalar initializer

And then the error-

XmStrDefs.c:1374: error: expected declaration specifiers before 'externaldef'
XmStrDefs.c:1666: error: expected declaration specifiers before ';' token
XmStrDefs.c:1668: error: expected declaration specifiers before 'externaldef'
XmStrDefs.c:1686: error: expected declaration specifiers before ';' token
XmStrDefs.c:1688: error: expected declaration specifiers before 'externaldef'
XmStrDefs.c:1733: error: expected declaration specifiers before ';' token
XmStrDefs.c:18: error: declaration for parameter '_XmStrings' but no such parameter
XmStrDefs.c:1733: error: expected '{' at end of input
make[3]: *** [XmStrDefs.lo] Error 1
make[3]: Leaving directory `/var/www/html/Test/openmotif-2.3.0/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/www/html/Test/openmotif-2.3.0/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/www/html/Test/openmotif-2.3.0/lib'
make: *** [all-recursive] Error 1

Any idea how to avoid this. I am installing it on an Red Hat 4.1.2-14

ihayvuk

The file XmStrDefs.c is generated. Maybe it contains corrupted data. Please try to remove this file and then run make.