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

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



On Mon, 14 Feb 2005 16:23:19 -0500, Jorge Ernesto Guevara Cuenca
<guevara.ernesto@xxxxxxxxx> wrote:
> Hi!
> 
> I have a resemblance error:
> 
> In file included from ../noweb/a_pan.nw:56:
> 
> ../include/prototype.h:30: error: conflicting types for `g_key_file_new'
> 
> /usr/include/glib-2.0/glib/gkeyfile.h:53: error: previous declaration
> of `g_key_file_new'
> 
> make[4]: *** [a_pan.o] Error 1
> 
> make[4]: Leaving directory
> `/usr/local/src/geda-sources/gedagaf/geda-gschem-20041228/src'
> 
> make[3]: *** [all] Error 2
> 
> make[3]: Leaving directory
> `/usr/local/src/geda-sources/gedagaf/geda-gschem-20041228/src'
> 
> make[2]: *** [all-recursive] Error 1
> 
> make[2]: Leaving directory
> `/usr/local/src/geda-sources/gedagaf/geda-gschem-20041228'
> 
> make[1]: *** [all] Error 2
> 
> make[1]: Leaving directory
> `/usr/local/src/geda-sources/gedagaf/geda-gschem-20041228'
> 
> make: *** [geda-gschem-20041228/src/gschem] Error 2
> 
> But i have install the package libgtk2.0-dev in debian testing...
> thet provide the version 2.2.4

The version is 2.4.14

> 
> That I can do?
> 
> 
> On Thu, 27 Jan 2005 22:48:11 -0500, Ales Hvezda <ahvezda@xxxxxxxxxxxxxx> wrote:
> >
> > [ 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
> >
> 
> --
> Jorge Ernesto Guevara Cuenca
> 


-- 
Jorge Ernesto Guevara Cuenca