Subject: Re: cannot build abiword 0.9.4.1 on hp-ux 10.20
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu Oct 04 2001 - 02:25:10 CDT
Hi Martin,
It appears gcc 3.0.1 doesn't like the xlib header files provided
by HPUX. If true this is a major problem for HP. Have you tried building
any other gtk applications with gcc 3.0.1?
Cheers
Martin
On Thu, 4 Oct 2001, Gansser, Martin wrote:
> Hello,
>
> I made following changes in the source, because libz and libpng doesnīt
> found on hp-ux 10.20
> I tried it wiht this version:
> http://prdownloads.sourceforge.net/abiword/abiword-0.9.4.1.tar.gz
> <http://prdownloads.sourceforge.net/abiword/abiword-0.9.4.1.tar.gz>
>
> file: abi/src/config/require/unix/Makefile
> =========================
>
> add for hp-ux /opt/zlib/lib/libz.a
> add for hp-ux /opt/libpng/lib/libpng.a
>
> file: abi/src/tools/scripts/unix/Makefile
> ========================
> changed chmod -f 500 in chmod 500, because 'chmod -f' it isnīt
> supported on hp-ux
>
> file: src/pkg/common/unix/scripts/install.sh
> ===============================
> change chmod -f 500 in chmod 500, because 'chmod -f' it isnīt
> supported on hp-ux
>
> Installed GNU-SW:
> ==============
> gcc 3.0.1
> gtk+ 1.2.10
> glib 1.2.10
> libpng 1.0.11
> zlib 1.1.3
>
> I do only gmake:
> Now the following compiling error occur:
>
> In file included from /opt/gtk+/include/gtk-1.2/gdk/gdkprivate.h:32,
> from /opt/gtk+/include/gtk-1.2/gdk/gdkx.h:30,
> from ev_UnixKeyboard.cpp:484:
> /usr/include/X11R6/X11/Xutil.h:368: warning: ISO C++ forbids declaration of
> `XClipBox' with no type
> /usr/include/X11R6/X11/Xutil.h:394: warning: ISO C++ forbids declaration of
> `XDestroyRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:400: warning: ISO C++ forbids declaration of
> `XEmptyRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:407: warning: ISO C++ forbids declaration of
> `XEqualRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:553: warning: ISO C++ forbids declaration of
> `XIntersectRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:589: warning: ISO C++ forbids declaration of
> `XOffsetRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:632: warning: ISO C++ forbids declaration of
> `XSetClassHint' with no type
> /usr/include/X11R6/X11/Xutil.h:641: warning: ISO C++ forbids declaration of
> `XSetIconSizes' with no type
> /usr/include/X11R6/X11/Xutil.h:649: warning: ISO C++ forbids declaration of
> `XSetNormalHints' with no type
> /usr/include/X11R6/X11/Xutil.h:668: warning: ISO C++ forbids declaration of
> `XSetSizeHints' with no type
> /usr/include/X11R6/X11/Xutil.h:681: warning: ISO C++ forbids declaration of
> `XSetStandardProperties' with no type
> /usr/include/X11R6/X11/Xutil.h:706: warning: ISO C++ forbids declaration of
> `XSetWMHints' with no type
> /usr/include/X11R6/X11/Xutil.h:775: warning: ISO C++ forbids declaration of
> `XSetRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:792: warning: ISO C++ forbids declaration of
> `XSetZoomHints' with no type
> /usr/include/X11R6/X11/Xutil.h:800: warning: ISO C++ forbids declaration of
> `XShrinkRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:816: warning: ISO C++ forbids declaration of
> `XSubtractRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:876: warning: ISO C++ forbids declaration of
> `XUnionRectWithRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:884: warning: ISO C++ forbids declaration of
> `XUnionRegion' with no type
> /usr/include/X11R6/X11/Xutil.h:908: warning: ISO C++ forbids declaration of
> `XXorRegion' with no type
> gmake[4]: ***
> [/users/mgansser/GNU/abiword-0.9.4.1/abi/src/HP_B.10.20_9000-785_OBJ/obj/ev_
> UnixKeyboard.o] Error 1
> gmake[4]: Leaving directory
> `/users/mgansser/GNU/abiword-0.9.4.1/abi/src/af/ev/unix'
> gmake[3]: *** [build] Error 2
> gmake[3]: Leaving directory
> `/users/mgansser/GNU/abiword-0.9.4.1/abi/src/af/ev'
> gmake[2]: *** [build] Error 2
> gmake[2]: Leaving directory `/users/mgansser/GNU/abiword-0.9.4.1/abi/src/af'
> gmake[1]: *** [build] Error 2
> gmake[1]: Leaving directory `/users/mgansser/GNU/abiword-0.9.4.1/abi/src'
> gmake: *** [compile] Error 2
> rs_root:{/users/mgansser/GNU/abiword-0.9.4.1/abi} #
>
>
> with best regards
>
> Martin Gansser
> Application Engineer
> ===========================
> RAND Worldwide
> Rindelbacher Strasse 42
> 73479 Ellwangen/Germany
> T:07961/890-124 / F: 07961/890-220
> E-Mail: <mailto:mgansser@rand.de> mailto:mgansser@rand.de
> Web: <http://www.rand.de/> http://www.rand.de
> ===========================
>
>
>
This archive was generated by hypermail 2b25 : Thu Oct 04 2001 - 02:25:20 CDT