Menu

#1 Make Problem

closed
nobody
5
2015-01-27
2004-12-16
beef-tech
No

Hi,
I'd like to ask you for help with compilation of your
EasyMotif 2.1.
I think I have all necessary installed but during make,
it still ends with error.
I have Mandrake 9.1 and lesstif 2.1.
I do xmkmf -a, then make and here is output to stderr...

Makefile:996: warning: overriding commands for target
.c.o' Makefile:972: warning: ignoring old commands for target.c.o'
In file included from /usr/X11R6/include/Xm/XmAll.h:71,
from EasyMotif.c:38:
/usr/X11R6/include/Xm/ComboBox.h:39: redefinition of
XmComboBoxWidget' include/PD/ComboBox.h:245:XmComboBoxWidget'
previously declared here
/usr/X11R6/include/Xm/ComboBox.h:40: redefinition of
XmComboBoxWidgetClass' include/PD/ComboBox.h:244:XmComboBoxWidgetClass'
previously declared here
/usr/X11R6/include/Xm/ComboBox.h:65: conflicting types
for XmComboBoxAddItem' include/PD/ComboBox.h:187: previous declaration ofXmComboBoxAddItem'
/usr/X11R6/include/Xm/ComboBox.h:69: conflicting types
for XmComboBoxSelectItem' include/PD/ComboBox.h:201: previous declaration ofXmComboBoxSelectItem'
make: *** [EasyMotif.o] Error 1

Thanx for help
Tomas Blazej

Discussion

  • Anonymous

    Anonymous - 2015-01-26

    I also get error trying to build EasyMotif...in my case, the xmkmf seems successful and running make goes on for quite a bit, but finally fails with this message attached.
    Basically even though there are no displayed errors, it says it can't find the executable; which is true since it didn't finish. I had "undefed" all the options in config since I don't have openGL and thought maybe that or some other of those options were failing.

     
    • Juergen Keidel

      Juergen Keidel - 2015-01-26

      Hi,
      the Version 2.1 is very old. I recommend to download the lastest Version, which is 2_3_8_4. Lesstif makes some troubles, therefor it will be the best, removing lesstif from the machine and to install the newest Motif Version which is available at Sourceforge. The config file may be change containing #undef HasOpenGL
      in case of Lesstif, add a line #define LESSTIFF
      but this only a try, the installation of a real motif will be much better.

      Regards

      Jürgen keidel

       
  • Juergen Keidel

    Juergen Keidel - 2015-01-26

    Hi,
    the Version 2.1 is very old. I recommend to download the lastest Version, which is 2_3_8_4. Lesstif makes some troubles, therefor it will be the best, removing lesstif from the machine and to install the newest Motif Version which is available at Sourceforge. The config file may be change containing #undef HasOpenGL
    in case of Lesstif, add a line #define LESSTIFF
    but this only a try, the installation of a real motif will be much better.

    Regards
    Jürgen Keidel

     
  • Anonymous

    Anonymous - 2015-01-27

    Thank you Jurgen for the quick reply..I am trying to build the latest version 2_3_8_4
    and I have openmotif installed. It is a non-standard Linux distribution called TinyCore, but other programs have build successfully. For those, I have used ./configure to get the correct Makefiles. For this, I followed the direction and used xmkmf -a (which I had to install from imake rather than motif). It is puzzling to me that there are no error messages until the one that says EasyMotif not found. I would have expected if the build of EasyMotif failed it would say that rather than just complaining that the executable is not found. But I will keep hacking away and see if I can uncover the problem. I put the define for PD back since the README file seems to indicate that is important. I also tried defining debian since TinyCore is based on it (but really minimal).

     

Anonymous
Anonymous

Add attachments
Cancel