Re: [gtk-list] Re: Problems compiling in HP
- From: Erik Mouw <J A K Mouw its tudelft nl>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Problems compiling in HP
- Date: Wed, 15 Sep 99 15:57:25 +0200
On Wed, 15 Sep 1999 14:56:15 +0200 (METDST), Antonio Matias Moro Munnoz wrote:
> I am trying to compile glib and gtk on hp (hppa2.0-hp-hpux10.01)
> When compiling glib with make I get the following error:
>
> ---------------------------------------------------------------------
> make[2]: Entering directory `/mnt3/nuclear/moro/glib-1.2.4'
> /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.
> -DG_LOG_DOMAIN=g_log_domain_glib -Aa -z -DANSI -D_INCLUDE_XOPEN_SOURCE
> -I/usr/include/Motif1.2 -I/usr/include/X11R5 -I/usr/local/imsl/include
> -D_REENTRANT -c garray.c
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -Aa -z
> -DANSI -D_INCLUDE_XOPEN_SOURCE -I/usr/include/Motif1.2
> -I/usr/include/X11R5 -I/usr/local/imsl/include -D_REENTRANT -c +Z -DPIC
> garray.c -o .libs/garray.lo
> cc: "glibconfig.h", line 69: error 1504: A zero or negative array size is
> illegal.
> cc: "glibconfig.h", line 69: error 1578: Size of struct or union member is
> unknown.
> make[2]: *** [garray.lo] Error 1
> make[2]: Leaving directory `/mnt3/nuclear/moro/glib-1.2.4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt3/nuclear/moro/glib-1.2.4'
> make: *** [all-recursive-am] Error 2
> -----------------------------------------------------------------------
>
> I would appreciate any hint.
Can you show what's on line 69 of glibconfig.h?
Other than that, I think you have a bit too long include search path:
-I/usr/include/Motif1.2 and -I/usr/local/imsl/include should not be
neccessary to compile GLIB and GTK. Maybe it's just a matter of namespace
pollution (not every software package is as clean as GTK) that will go
away if you don't use the Motif and imsl include directories.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]