ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/05/24/13:17:10

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <5380D3E6.9060905@philippklostermann.de>
Date: Sat, 24 May 2014 19:16:22 +0200
From: Philipp Klostermann <geda AT philippklostermann DOT de>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Which Debina-Package do I have to install? make geda-gaf
git version 1.9.1-20140308-80-g62aede2 under Debian Wheezy fails due to missing
glib.
References: <535A1445 DOT 4060108 AT philippklostermann DOT de> <20140425093528 DOT 24599 DOT qmail AT stuge DOT se>
In-Reply-To: <20140425093528.24599.qmail@stuge.se>
Reply-To: geda-help AT delorie DOT com

Am 25.04.2014 11:35, schrieb Peter Stuge:
> Philipp Klostermann wrote:
>> libtool: link: gcc -Wall -I/usr/include/glib-2.0
>> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
>> -I/usr/include/guile/2.0 -pthread -I/usr/include/gdk-pixbuf-2.0
>> -I/usr/include/libpng12 -I/usr/include/glib-2.0
>> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -o .libs/gsymcheck
>> gsymcheck-g_rc.o gsymcheck-g_register.o gsymcheck-globals.o
>> gsymcheck-gsymcheck.o gsymcheck-i_vars.o gsymcheck-parsecmd.o
>> gsymcheck-s_check.o gsymcheck-s_log.o gsymcheck-s_symstruct.o 
>> -lguile-2.0 -lgc -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
>> ../../libgeda/src/.libs/libgeda.so -lm -pthread
>> ../../libgeda/src/.libs/libgeda.so: error: undefined reference to > 'g_file_get_parse_name'
>> ../../libgeda/src/.libs/libgeda.so: error: undefined reference to > 'g_file_parse_name'
> ..
> 
>> I found out that the missing functions belong to glib,
> 
> More specifically they are provided by the gio-2.0 library, which
> isn't being linked in.
> 
> ...

Knowing, that there is something missing called gio and using find and
grep and a little logic, I have fixed the problem by adding
'$(GIO_LIBS)' to the '<progname>_LDFLAGS = ' -assignments in the
following files:
contrib/sarlacc_schem/Makefile.am
gnetlist/src/Makefile.am
gsymcheck/src/Makefile.am
utils/gschlas/Makefile.am

Thanks to Peter Stuge for the information about gio-2.0!



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019