Re: Strange compiling problems



*-Reklaw <nawalker@earthlink.net>
|
| Michael, I dug up your old message. I really have no idea what 
| the problem could be. Could you send more info on your system to 
| the list?  Versions of libtool, autoconf, automake, etc, etc.
| 
| 
| On  2 Oct, Michael Bruce wrote:
| > 
| > I haven't been able to compile GNOME for a while, due to weird libtool
| > problems.  I fixed them recently (by forcing the use of my local
| > libtool rather than the included one), and I've been eager to get the
| > latest release running.
| > 
| > I've had problems.
| > 
| > The show-stopper at the moment is related to gdk_imlib.  Gnome-libs
| > needs this (or so it says when I try to compile it), so I've tried to
| > get it compiled.  while doing so, I get:
| > 
| > <ERROR>
| > 
| > /bin/sh ../libtool --mode=compile gcc -DDJPEG_PROG=\"/usr/bin/djpeg\"  -DCJPEG_PROG=\"/usr/bin/cjpeg\" -DCONVERT_PATH=\"/usr/bin\" -DNETPBM_PATH=\"/usr/bin\" -DSYSTEM_IMRC=\"/opt/gnome/etc/imrc\" -I. -I. -I.. -I./.. -I/opt/gnome/include -I/usr/X11R6/inclu
| > de -I/usr/X11R6/include -g -O2 -c cache.c
| > gcc -DDJPEG_PROG=\"/usr/bin/djpeg\" -DCJPEG_PROG=\"/usr/bin/cjpeg\" -DCONVERT_PATH=\"/usr/bin\" -DNETPBM_PATH=\"/usr/bin\" -DSYSTEM_IMRC=\"/opt/gnome/etc/imrc\"
| >  -I. -I. -I.. -I./.. -I/opt/gnome/include -I/usr/X11R6/include -I/usr/X11R6/include -g -O2 -c -fPIC -DPIC cache.c
| > In file included from /opt/gnome/include/gdk/gdktypes.h:25,
| >                  from /opt/gnome/include/gdk/gdk.h:23,
| >                  from gdk_imlib_types.h:1,
| >                  from gdk_imlib.h:5,
| >                  from cache.c:3:
| > /opt/gnome/include/glib.h:536: parse error before `gssize'
| > /opt/gnome/include/glib.h:536: warning: data definition has no type or storage class
| > /opt/gnome/include/glib.h:537: parse error before `gsize'
| > /opt/gnome/include/glib.h:537: warning: data definition has no type or storage class
| > /opt/gnome/include/glib.h:538: parse error before `GQuark'
| > /opt/gnome/include/glib.h:538: warning: data definition has no type or storage class
| > /opt/gnome/include/glib.h:539: parse error before `GTime'
| > /opt/gnome/include/glib.h:539: warning: data definition has no type or storage class

This seems to be the root of your problems. It doesn't seem like
gint32 and guint32 are defined. Try compiling and running this program:

#include <stdio.h>

int main (void)
{
	printf("sizeof(int) = %d\n", sizeof(int));
	printf("sizeof(long) = %d\n", sizeof(long));
}

If at least one of these are four, I'd say it's a problem with
autoconf (but I may be wrong). Get back to us with the output
of this program.

-- 
A mathematician is a machine for converting coffee to theorems
                                              (Martin Schulze)
olet@ifi.uio.no   [-: .elOle. :-]   olet@debian.org



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