Gnumeric compilation error
- From: Alexander Weber <alexander weber vodafone com>
- To: gnumeric-list gnome org
- Subject: Gnumeric compilation error
- Date: Wed, 26 Mar 2003 17:12:21 +0100
Hello all,
I'm actually trying to compile gnumeric 1.0.12 on my linux-machine. What
i found is an compiler error which looks like a codingproblem to me, so
I would like to ask your help.
In line 32 of the sourcefile "global-gnome-font.c" there is a
functioncall that looks like this:
l = gnome_font_family_list ();
But this function is defined as follows (gnome-font.h):
gnome_font_family_list (GnomeFontClass *klass);
And what consequentially happens is this errormessage while compiling
that stuff:
In file included from global-gnome-font.c:15:
/usr/include/libgnomeprint/gnome-font.h:198: parse error before
`GdkFont'
/usr/include/libgnomeprint/gnome-font.h:198: warning: no semicolon at
end of struct or union
/usr/include/libgnomeprint/gnome-font.h:199: warning: type defaults to
`int' in declaration of `GnomeDisplayFont'
/usr/include/libgnomeprint/gnome-font.h:199: warning: data definition
has no type or storage class
/usr/include/libgnomeprint/gnome-font.h:201: parse error before `*'
/usr/include/libgnomeprint/gnome-font.h:201: warning: type defaults to
`int' in declaration of `gnome_font_get_display_font'
/usr/include/libgnomeprint/gnome-font.h:201: warning: data definition
has no type or storage class
/usr/include/libgnomeprint/gnome-font.h:204: parse error before `*'
/usr/include/libgnomeprint/gnome-font.h:208: warning: type defaults to
`int' in declaration of `gnome_get_display_font'
/usr/include/libgnomeprint/gnome-font.h:208: warning: data definition
has no type or storage class
global-gnome-font.c: In function `global_gnome_font_init':
global-gnome-font.c:32: too few arguments to function
`gnome_font_family_list'
So any idea what`s wrong with that compilation?
I'm using:
Red Hat Linux 7.2, Kernel 2.4.7-10 on an i586
gnomeprint 0.37
Many thanks in advance for your help
Alex
--
Alexander Weber
Vodafone D2 GmbH / TBN1
Performance Management Engineering
Tel.: +49 172 33099-6169
Fax.: +49 172 33099-6203
Mobile: +49 172 2088444
eMail: alexander weber vodafone com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]