delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/04/25/03:53:16

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <535A1445.4060108@philippklostermann.de>
Date: Fri, 25 Apr 2014 09:52:37 +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.4.0
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: [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.
Reply-To: geda-help AT delorie DOT com

Hello All!

I have installed a fresh Wheezy on my box and as I tried to compile
geda-gaf I ran into a linker-problem:

make[3]: Entering directory `/root/src/gEDA/geda-gaf/gsymcheck/src'
/bin/bash ../../libtool  --tag=CC   --mode=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 -lglib-2.0   -lguile-2.0 -lgc   -lgdk_pixbuf-2.0 -lgobject-2.0
-lglib-2.0    -o 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 ../../libgeda/src/libgeda.la -lm
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'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_get_type'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_new_for_path'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_query_exists'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_query_file_type'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_get_parent'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_get_child'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_equal'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_hash'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_make_directory_with_parents'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_replace_contents'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_get_path'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_file_load_contents'
../../libgeda/src/.libs/libgeda.so: error: undefined reference to
'g_memory_input_stream_new_from_data'
collect2: error: ld returned 1 exit status

I found out that the missing functions belong to glib, which I thought I
had installed:

albus:~/src/gEDA/geda-gaf# dpkg -l | grep -i glib
ii  gir1.2-gee-1.0                       
0.6.4-2                            amd64        GLib Telepathy
connection manager library (GObject-Introspection)
ii  gir1.2-glib-2.0                      
1.32.1-1                           amd64        Introspection data for
GLib, GObject, Gio and GModule
ii  gir1.2-json-1.0                      
0.14.2-1                           amd64        GLib JSON manipulation
library (introspection data)
ii  gir1.2-telepathyglib-0.12            
0.18.2-2                           amd64        GLib Telepathy
connection manager library (GObject-Introspection)
ii  gir1.2-upowerglib-1.0                
0.9.17-1                           amd64        GObject introspection
data for upower
ii  glib-networking:amd64                
2.32.3-1                           amd64        network-related
giomodules for GLib
ii  glib-networking-common               
2.32.3-1                           all          network-related
giomodules for GLib - data files
ii  glib-networking-services             
2.32.3-1                           amd64        network-related
giomodules for GLib - D-Bus services
ii  glibc-doc                            
2.13-38+deb7u1                     all          Embedded GNU C Library:
Documentation
ii  libavahi-glib1:amd64                 
0.6.31-2                           amd64        Avahi GLib integration
library
ii  libcglib-java-doc                    
2.2.2+dfsg-5                       all          code generation library
for Java - documentation
ii  libdbus-glib-1-2:amd64               
0.100.2-1                          amd64        simple interprocess
messaging system (GLib-based shared library)
ii  libdbus-glib-1-dev                   
0.100.2-1                          amd64        simple interprocess
messaging system (GLib interface)
ii  libdbus-glib-1-doc                   
0.100.2-1                          all          simple interprocess
messaging system (GLib library documentation)
ii  libdbus-glib1.0-cil                  
0.5.0-4                            all          CLI implementation of
D-Bus (GLib mainloop integration)
ii  libgck-1-0                           
3.4.1-3                            amd64        Glib wrapper library for
PKCS#11 - runtime
ii  libgeocode-glib0                     
0.99.0-1                           amd64        geocoding and reverse
geocoding GLib library using Yahoo! Place Finder
ii  libglib-perl                         
3:1.260-1                          amd64        interface to the GLib
and GObject libraries
ii  libglib2.0-0:amd64                   
2.33.12+really2.32.4-5             amd64        GLib library of C routines
ii  libglib2.0-bin                       
2.33.12+really2.32.4-5             amd64        Programs for the GLib
library
ii  libglib2.0-cil                       
2.12.10-5                          amd64        CLI binding for the GLib
utility library 2.12
ii  libglib2.0-cil-dev                   
2.12.10-5                          amd64        CLI binding for the GLib
utility library 2.12
ii  libglib2.0-data                      
2.33.12+really2.32.4-5             all          Common files for GLib
library
ii  libglib2.0-dev                       
2.33.12+really2.32.4-5             amd64        Development files for
the GLib library
ii  libglib2.0-doc                       
2.33.12+really2.32.4-5             all          Documentation files for
the GLib library
ii  libglibmm-2.4-1c2a:amd64             
2.32.1-1                           amd64        C++ wrapper for the GLib
toolkit (shared libraries)
ii  libgusb2                             
0.1.3-5                            amd64        GLib wrapper around libusb1
ii  libjson-glib-1.0-0:amd64             
0.14.2-1                           amd64        GLib JSON manipulation
library
ii  libndesk-dbus-glib1.0-cil            
0.4.1-4                            all          CLI implementation of
D-Bus (GLib mainloop integration)
ii  libnm-glib-vpn1                      
0.9.4.0-10                         amd64        network management
framework (GLib VPN shared library)
ii  libnm-glib4                          
0.9.4.0-10                         amd64        network management
framework (GLib shared library)
ii  libpackagekit-glib2-14:amd64         
0.7.6-3                            amd64        Library for accessing
PackageKit using GLib
ii  libpoppler-glib8:amd64               
0.18.4-6                           amd64        PDF rendering library
(GLib-based shared library)
ii  libpulse-mainloop-glib0:amd64        
2.0-6.1                            amd64        PulseAudio client
libraries (glib support)
ii  libsofia-sip-ua-glib3                
1.12.11+20110422-1                 amd64        Sofia-SIP library
glib/gobject interfaces runtime
ii  libtelepathy-glib0:amd64             
0.18.2-2                           amd64        Telepathy framework -
GLib library
ii  libupower-glib1                      
0.9.17-1                           amd64        abstraction for power
management - shared library
albus:~/src/gEDA/geda-gaf#

I have another box with a a Debian Squeeze on it, and geda-gaf and pcb
compile well, there.
Can someone comprehend this problem? Is this an known issue or am I
doing something terribly wrong?
Thank you very much in advance!

Philipp Klostermann

- Raw text -


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