AW: [Gimp-developer] gimp-1.2.3 on hp-ux 10.20: 'd_color' isn't k nown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: AW: [Gimp-developer] gimp-1.2.3 on hp-ux 10.20: 'd_color' isn't known

I test it with the following:

   # HP-UX overrides
   CC="gcc"
   prefix="/opt/gimp-1.2.3"; RANLIB="/bin/true"
   CONFIG_SHELL="/bin/sh"

   # Extend PATH to pick up gtk-config, glib-config and perl5
   PATH="/opt/gtk+/bin:/opt/glib/bin:/opt/perl5/bin:$PATH" ; export PATH

   # Disable Perl stuff - means GIMP relies on Perl 5 and it also tries to
   # sneakily update the /opt/perl5 tree during "make install" while you're not
   # watching...
   enable_perl="no"

   # These flags work for HP-UX 10.X and 11.X (sorry, no more 9.X support)
   HPCFLAGS="-I/usr/include/X11R6 -I/usr/contrib/X11R6/include"
   XMULIBS="-lXmu -lXt -lSM -lICE"
   HPLDFLAGS="-L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib"

   # Set HP-UX cpp and C flags
   CPPFLAGS="$HPCFLAGS -I/opt/gtk+/include -I/opt/glib/include -I/opt/tiff-3.5/include -I/opt/jpeg-6/include \
                       -I/opt/xpm/include -I/opt/libpng/include -I/opt/mpeg_lib/include -I/opt/zlib/include \
                       -I/opt/xdelta/include -I/opt/aalib/include -I/opt/gdbm/include -I/opt/gtkxmhtml/include"
 
   LDFLAGS="-O $HPLDFLAGS -L/usr/lib/X11R4 -L/opt/gtk+/lib -L/opt/glib/lib -L/opt/tiff-3.5/lib -L/opt/jpeg-6/lib \
            -L/opt/xpm/lib/X11 -L/opt/libpng/lib -L/opt/mpeg_lib/lib -L/opt/zlib/lib -L/opt/xdelta/lib \
            -L/opt/aalib/lib -L/opt/gdbm/lib -L/opt/gtkxmhtml/lib"
   export CFLAGS
   export LDFLAGS

but this errors occurs:

../../libgimp/gimptools_pdb.h:209: warning: data definition has no type or storage class
In file included from ../../libgimp/gimp_pdb.h:55,
                 from ../../libgimp/gimp.h:49,
                 from faxg3.c:42:
../../libgimp/gimpundo_pdb.h:34: parse error before "image_ID"
../../libgimp/gimpundo_pdb.h:35: parse error before "image_ID"
In file included from faxg3.c:42:
../../libgimp/gimp.h:119: parse error before "guint8"
../../libgimp/gimp.h:119: warning: no semicolon at end of struct or union
../../libgimp/gimp.h:120: warning: type defaults to `int' in declaration of `green'
../../libgimp/gimp.h:120: warning: data definition has no type or storage class
../../libgimp/gimp.h:121: parse error before "blue"
../../libgimp/gimp.h:121: warning: type defaults to `int' in declaration of `blue'
../../libgimp/gimp.h:121: warning: data definition has no type or storage class
../../libgimp/gimp.h:126: parse error before "gint32"
../../libgimp/gimp.h:126: warning: no semicolon at end of struct or union
../../libgimp/gimp.h:127: warning: type defaults to `int' in declaration of `y'
../../libgimp/gimp.h:127: warning: data definition has no type or storage class
../../libgimp/gimp.h:128: parse error before "width"
../../libgimp/gimp.h:128: warning: type defaults to `int' in declaration of `width'
../../libgimp/gimp.h:128: conflicting types for `width'
../../libgimp/gimpdrawable.h:39: previous declaration of `width'
../../libgimp/gimp.h:128: warning: data definition has no type or storage class
../../libgimp/gimp.h:129: parse error before "height"
../../libgimp/gimp.h:129: warning: type defaults to `int' in declaration of `height'
../../libgimp/gimp.h:129: conflicting types for `height'
../../libgimp/gimpdrawable.h:40: previous declaration of `height'
../../libgimp/gimp.h:129: warning: data definition has no type or storage class
../../libgimp/gimp.h:134: parse error before "gint32"
../../libgimp/gimp.h:134: warning: no semicolon at end of struct or union
../../libgimp/gimp.h:135: warning: type defaults to `int' in declaration of `d_int16'
../../libgimp/gimp.h:135: warning: data definition has no type or storage class
../../libgimp/gimp.h:136: parse error before "d_int8"
../../libgimp/gimp.h:136: warning: type defaults to `int' in declaration of `d_int8'
../../libgimp/gimp.h:136: warning: data definition has no type or storage class
../../libgimp/gimp.h:139: parse error before '*' token
../../libgimp/gimp.h:139: warning: type defaults to `int' in declaration of `d_int32array'
../../libgimp/gimp.h:139: warning: data definition has no type or storage class
../../libgimp/gimp.h:140: parse error before '*' token
../../libgimp/gimp.h:140: warning: type defaults to `int' in declaration of `d_int16array'
../../libgimp/gimp.h:140: warning: data definition has no type or storage class
../../libgimp/gimp.h:141: parse error before '*' token
../../libgimp/gimp.h:141: warning: type defaults to `int' in declaration of `d_int8array'
../../libgimp/gimp.h:141: warning: data definition has no type or storage class
../../libgimp/gimp.h:146: parse error before "d_display"
../../libgimp/gimp.h:146: warning: type defaults to `int' in declaration of `d_display'
../../libgimp/gimp.h:146: warning: data definition has no type or storage class
../../libgimp/gimp.h:147: parse error before "d_image"
../../libgimp/gimp.h:147: warning: type defaults to `int' in declaration of `d_image'
../../libgimp/gimp.h:147: warning: data definition has no type or storage class
../../libgimp/gimp.h:148: parse error before "d_layer"
../../libgimp/gimp.h:148: warning: type defaults to `int' in declaration of `d_layer'
../../libgimp/gimp.h:148: warning: data definition has no type or storage class
../../libgimp/gimp.h:149: parse error before "d_layer_mask"
../../libgimp/gimp.h:149: warning: type defaults to `int' in declaration of `d_layer_mask'
../../libgimp/gimp.h:149: warning: data definition has no type or storage class
../../libgimp/gimp.h:150: parse error before "d_channel"
../../libgimp/gimp.h:150: warning: type defaults to `int' in declaration of `d_channel'
../../libgimp/gimp.h:150: warning: data definition has no type or storage class
../../libgimp/gimp.h:151: parse error before "d_drawable"
../../libgimp/gimp.h:151: warning: type defaults to `int' in declaration of `d_drawable'
../../libgimp/gimp.h:151: warning: data definition has no type or storage class
../../libgimp/gimp.h:152: parse error before "d_selection"
../../libgimp/gimp.h:152: warning: type defaults to `int' in declaration of `d_selection'
../../libgimp/gimp.h:152: warning: data definition has no type or storage class
../../libgimp/gimp.h:153: parse error before "d_boundary"
../../libgimp/gimp.h:153: warning: type defaults to `int' in declaration of `d_boundary'
../../libgimp/gimp.h:153: warning: data definition has no type or storage class
../../libgimp/gimp.h:154: parse error before "d_path"
../../libgimp/gimp.h:154: warning: type defaults to `int' in declaration of `d_path'
../../libgimp/gimp.h:154: warning: data definition has no type or storage class
../../libgimp/gimp.h:155: parse error before "d_unit"
../../libgimp/gimp.h:155: warning: type defaults to `int' in declaration of `d_unit'
../../libgimp/gimp.h:155: warning: data definition has no type or storage class
../../libgimp/gimp.h:157: parse error before "d_tattoo"
../../libgimp/gimp.h:157: warning: type defaults to `int' in declaration of `d_tattoo'
../../libgimp/gimp.h:157: warning: data definition has no type or storage class
../../libgimp/gimp.h:159: parse error before '}' token
../../libgimp/gimp.h:164: field `data' has incomplete type
../../libgimp/gimp.h:165: confused by earlier errors, bailing out
gmake[3]: *** [faxg3.o] Error 1
gmake[3]: Leaving directory `/users/mgansser/GNU/gimp-1.2.3/plug-ins/faxg3'
gmake[2]: *** [all-recursive] Error 1


thanks Martin

> -----Ursprüngliche Nachricht-----
> Von: Sven Neumann [mailto:sven@xxxxxxxx]
> Gesendet am: Mittwoch, 13. Februar 2002 11:58
> An: Gansser, Martin
> Cc: 'gimp-developer@xxxxxxxxxxxxxxxxxxxxxx'
> Betreff: Re: [Gimp-developer] gimp-1.2.3 on hp-ux 10.20:
> 'd_color' isn't
> known
>
> Hi,
>
> "Gansser, Martin" <MGansser@xxxxxxx> writes:
>
> > I got the following error messages, if I compile gimp-1.2.3
> on hp-ux 10.20
> [snip]
>
> I suspect you have old libgimp headers somewhere in your include path
> and somehow they get used instead of the libgimp headers from
> the source.
>
> >    # Set HP-UX cpp and C flags
> >    CPPFLAGS="$HPCFLAGS -I/opt/gtk+/include -I/opt/glib/include
> > -I/opt/tiff-3.5/include \
> >              -I/opt/jpeg-6/include -I/opt/xpm/include
> -I/opt/libpng/include
> > -I/opt/mpeg_lib/include \
> >              -I/opt/zlib/include -I/opt/xdelta/include
> -I/opt/aalib/include
> > -I/opt/gdbm/include -I/opt/gtkxmhtml/include"
> >    # CFLAGS="-O +Onolimit +ESlit -Ae $CPPFLAGS -Wp,-H70000"
> >    CFLAGS="-O2 $CPPFLAGS -D_HPUX_SOURCE"
> >    LDFLAGS="-O $HPLDFLAGS -L/usr/lib/X11R6 -L/opt/gtk+/lib
> -L/opt/glib/lib
> > -L/opt/tiff-3.5/lib -L/opt/jpeg-6/lib \
> >             -L/opt/xpm/lib/X11 -L/opt/libpng/lib -L/opt/mpeg_lib/lib
> > -L/opt/zlib/lib -L/opt/xdelta/lib -L/opt/aalib/lib \
> >             -L/opt/gdbm/lib -L/opt/gtkxmhtml/lib"
> >    export CFLAGS
> >    export LDFLAGS
>
> I don't think you should add CPPFLAGS to the CFLAGS since that will
> confuse the include order which is most probably the cause of the
> problem. Another solution is to remove the old libgimp headers from
> the include path.
>
>
> Salut, Sven
>


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux