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

mpb mpb.mail at gmail.com
Mon Oct 8 19:42:29 GMT+3 2007


> mpb wrote:
> > 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.

On 10/3/07, Otfried Cheong <otfried.iup at ipe.airpost.net> wrote:
> You need to remove "mot/ComboBox1.c" from the list of sources in the
> Makefile. (Apparently this file is a backport of the combo box from
> Motif 2 to Motif 1, but since Ubuntu has Motif 2 it should not be
> compiled in.)

src/Makefile contains:

  # Define to use Motif 1.x
  ifdef USE_MOTIF1
    SRC += mot/ComboBox1.c
  endif

However, src/iup.make does not appear to respect the USE_MOTIF1 flag.
This would seem to be a bug in src/iup.make.  Maybe it has already
been fixed in CVS.

-mpb



More information about the iup-users mailing list