[CM] Snd Build Fails With Motif-2.5.2

LAP mail1 at lapiet.info
Mon Apr 20 12:33:08 PDT 2026


Hello,

After my distro updated the motif libraries to motif-2.5.2 the snd
program no longer executes or builds.

During the make process, I get the following errors:

snd-motif.c: In function 'watch_edit_history_sash':
snd-motif.c:25679:3: error: unknown type name 'SashCallData'
25679 |   SashCallData call_data = (SashCallData)info;
      |   ^~~~~~~~~~~~
snd-motif.c:25679:29: error: 'SashCallData' undeclared (first use in this function)
25679 |   SashCallData call_data = (SashCallData)info;
      |                             ^~~~~~~~~~~~
snd-motif.c:25679:29: note: each undeclared identifier is reported only once for each function it appears in
snd-motif.c:25679:42: error: expected ',' or ';' before 'info'
25679 |   SashCallData call_data = (SashCallData)info;
      |                                          ^~~~
snd-motif.c:25681:17: error: invalid type argument of '->' (have 'int')
25681 |   if ((call_data->params) &&
      |                 ^~
snd-motif.c:25682:28: error: invalid type argument of '->' (have 'int')
25682 |       (mus_strcmp(call_data->params[0], "Start")))
      |                            ^~
snd-motif.c: In function 'watch_sash':
snd-motif.c:27820:3: error: unknown type name 'SashCallData'
27820 |   SashCallData call_data = (SashCallData)info;
      |   ^~~~~~~~~~~~
snd-motif.c:27820:29: error: 'SashCallData' undeclared (first use in this function)
27820 |   SashCallData call_data = (SashCallData)info;
      |                             ^~~~~~~~~~~~
snd-motif.c:27820:42: error: expected ',' or ';' before 'info'
27820 |   SashCallData call_data = (SashCallData)info;
      |                                          ^~~~
snd-motif.c:27823:17: error: invalid type argument of '->' (have 'int')
27823 |   if ((call_data->params) &&
      |                 ^~
snd-motif.c:27824:17: error: invalid type argument of '->' (have 'int')
27824 |       (call_data->params[0]) &&
      |                 ^~
snd-motif.c:27830:31: error: invalid type argument of '->' (have 'int')
27830 |       if (mus_strcmp(call_data->params[0], "Start"))
      |                               ^~
snd-motif.c:27877:35: error: invalid type argument of '->' (have 'int')
27877 |           if (mus_strcmp(call_data->params[0], "Commit")) /* release sash */
      |                                   ^~


The new motif code must have introduced changes.

Would you please take a look at this and fix if possible.

LAP
 


More information about the Cmdist mailing list