"Gansser, Martin" <[EMAIL PROTECTED]> writes:

> I got the following error messages, if I compile gimp-1.2.3 on hp-ux 10.20

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"
>    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
Gimp-developer mailing list

Reply via email to