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

gEDA-user: geda-gschem installation problem, conflicting types with glib



[ Ales here, I'm reposting this since majordomo didn't recognize the
  e-mail as being subscribed to the geda-dev/geda-user mailinglist. ]

[ 
  To answer your question Michael, yes, gEDA/gaf 20041228 does not
  build using gtk+ 2.6.x.  However, this has been fixed in CVS.  You can
  either check that out and build that, or wait for the next release,
  or use gtk+ 2.4.x.   gtk+ 2.2.x is the minimum supported gtk+ version.

  -Ales
  
]

-- Cut here --

Date: Thu, 27 Jan 2005 21:51:53 +0100
From: Michael Schewe <michael.schewe@xxxxxxx>

Hi

i have a installation problem when making gschem:
it seems that there are conflicting types for function g_key_file_new(void):
in your prototype.h it is declared as SCM g_key_file_new(void);1
but in my gkeyfile.h (from glib 2.6.1) it is GKeyFile* g_key_file_new(void);

what can i do ?
Is gtk 2.2.0 really the minimum requirement or what is it (installing the newest gtk fails on my machine because of Xft) ?

error message is:

if gcc -DLOCALEDIR=\"/usr/local/geda/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include  -I/usr/local/geda/include -I/usr/local/include 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include      -g -O2 -MT a_pan.o -MD -MP -MF ".deps/a_pan.Tpo" \
   -c -o a_pan.o `test -f 'a_pan.c' || echo './'`a_pan.c; \
then mv -f ".deps/a_pan.Tpo" ".deps/a_pan.Po"; \
else rm -f ".deps/a_pan.Tpo"; exit 1; \
fi
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from ../noweb/a_pan.nw:56:
../include/prototype.h:30: conflicting types for `g_key_file_new'
/usr/local/include/glib-2.0/glib/gkeyfile.h:53: previous declaration of `g_key_file_new'
make[4]: *** [a_pan.o] Fehler 1


Thanks
Michael