OpenMotif v2.2: Compilation Error

Hello,

OpenMotif compilation stopped at..

make[2] Entering directory `/mnt/a6/tmp/kerja/openMotif-2.2.1/tools/wml`
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -I./../../lib -I./../../include -Os -s -fomit-frame-pointer -D__USE_EXTERN_INLINES -Wall -Wno-unused -Wno-comment -c wmldbcreate.c
In file included from wmldbcreate.c96
UilUrmClas.h847 `XmNtoolTipEnable` undeclared here (not in a function)
UilUrmClas.h847 initializer element is not constant
UilUrmClas.h847 (near initialization for `uil_argument_toolkit_names_vec[517]`)
UilUrmClas.h848 `XmNtoolTipPostDelay` undeclared here (not in a function)
UilUrmClas.h848 initializer element is not constant
UilUrmClas.h848 (near initialization for `uil_argument_toolkit_names_vec[518]`)
UilUrmClas.h849 `XmNtoolTipPostDuration` undeclared here (not in a function)
UilUrmClas.h849 initializer element is not constant
UilUrmClas.h849 (near initialization for `uil_argument_toolkit_names_vec[519]`)
UilUrmClas.h850 `XmNtoolTipString` undeclared here (not in a function)
UilUrmClas.h850 initializer element is not constant
UilUrmClas.h850 (near initialization for `uil_argument_toolkit_names_vec[520]`)

OS Linux distro Slackware v7.1
gcc gcc version 3.0.3
GLIBC v2.1.3

TIA.


ICS_support

ICS_support's picture

OpenMotif v2.2: Compilation Error

Looks like you`re using an old version of motif.wml.


Anonymous

Anonymous's picture

OpenMotif v2.2: Compilation Error

I have the same error. How could it be an old version of the file you mention, when I am trying to compile motif from scratch? The file you mention comes in the tar.gz file. How can it be old?


Anonymous

Anonymous's picture

OpenMotif v2.2: Compilation Error

I have the same error.


Anonymous

Anonymous's picture

OpenMotif v2.2: Compilation Error

I`m getting the same compilation error from a stock
openMotif-2.2.2.tar.gz downloaded Feb. 17. I`m
attempting to compile on an Alpha machine running
RedHat Linux 7.2.

(Off to check the bug lists.)


Anonymous

Anonymous's picture

OpenMotif v2.2: Compilation Error

(Sorry for following up to self.)

The bug lists show a similar bug report and say the
workaround for bug #1143 will work. The workaround
is to move directory /usr/X116/include/Xm out of the
way for the duration of the compile. At least this
gets me much farther.