[Iup-users] IUP compile error: conflicting types for 'XmComboBoxCallbackStruct'

mpb mpb.mail at gmail.com
Thu Oct 4 03:15:01 GMT+3 2007


Hi,

I am trying to compile IUP 2.6rc2 on Kubuntu 7.04.

I get the following error (and some warnings).  It looks like IUP is
redefining/redeclaring symbols that were previously defined/declared
by Motif.

Does anyone have any suggestions?

Thanks!

-mpb


==== Building iup ====
<snip>
ComboBox1.c
In file included from mot/ComboBox1P.h:32,
                 from mot/ComboBox1.c:128:
mot/ComboBox1.h:78:1: warning: "XmNshowLabel" redefined
In file included from /usr/include/Xm/Xm.h:61,
                 from /usr/include/Xm/ArrowB.h:45,
                 from mot/ComboBox1.c:122:
/usr/include/Xm/XmStrDefs22.h:526:1: warning: this is the location of
the previous definition
In file included from mot/ComboBox1P.h:32,
                 from mot/ComboBox1.c:128:
mot/ComboBox1.h:79:1: warning: "XmCShowLabel" redefined
In file included from /usr/include/Xm/Xm.h:61,
                 from /usr/include/Xm/ArrowB.h:45,
                 from mot/ComboBox1.c:122:
/usr/include/Xm/XmStrDefs22.h:799:1: warning: this is the location of
the previous definition
In file included from mot/ComboBox1P.h:32,
                 from mot/ComboBox1.c:128:
mot/ComboBox1.h:106: error: conflicting types for 'XmComboBoxCallbackStruct'
/usr/include/Xm/Xm.h:677: error: previous declaration of
'XmComboBoxCallbackStruct' was here
make[2]: *** [../obj/iup/Debug/ComboBox1.o] Error 1



More information about the iup-users mailing list