Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/)
-   -   Problem building gtk-gnutella 0.95 on SuSe 9.1 (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/30757-problem-building-gtk-gnutella-0-95-suse-9-1-a.html)

RetroJ December 4th, 2004 05:45 PM

Problem building gtk-gnutella 0.95 on SuSe 9.1
 
I am having trouble building gtk-gnutella 0.95 under SuSe 9.1.

I have tried configuring with defaults, with custom settings, and with the command provided in the readme:

Quote:

./Configure -D prefix=/usr -D privlib=/usr/share/gtk-gnutella -D cc=gcc -D ccflags='-Wall' -D optimize='-O2' -D gtkversion=2 -d -e -r -s
Here is feature summary at the end of the configure script.

Quote:

Feature Summary (Version 0.95):
-------------------------------------------------
Glib version : glib-2.x
GUI front-end : GTK2
Persistent filters : no
Gnutella traffic compression : yes
IP TOS (Type of Service) : yes
NLS (Native Language Support) : yes
Extended non-roman charset support : no
Experimental remote control : no
-------------------------------------------------

"make" runs fine until it does this:

Quote:

cc -o gtk-gnutella main.o if/bridge/ui2c.o if/bridge/c2ui.o if/gnet_property.o
if/gui_property.o -Lcore -lcore -Lui/gtk -lgtk-common -lgtkx -lgtk-common -lcore
-Llib -lshared -Wl,--export-dynamic -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.
0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobje
ct-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -O -L/usr/local/lib -lz -lresolv
main.o(.text+0x893): In function `main':
: undefined reference to `bitzi_init'
if/bridge/ui2c.o(.text+0x20): In function `guc_query_bitzi_by_urn':
: undefined reference to `bitzi_query_byurnsha1'
ui/gtk/libgtkx.a(interface-glade.o)(.text+0x39f7f): In function `create_dlg_pref
s_bw_tab':
: undefined reference to `gtk_alignment_set_padding'
collect2: ld returned 1 exit status
make[2]: *** [gtk-gnutella] Error 1
Can anyone help me to understand what this means, and how I can fix it? Thanks!

RetroJ December 4th, 2004 07:47 PM

Solved my problem! Here is how, in case it might help anyone else.


The errors containing the word "bitzi" are related to libxml2. So I installed the libxml2-devel package. Looking briefly at the source of main.c and core/bitzi.c, it appears that libxml2 is in fact required, not merely recommended.

For the gtk related error, I reconfigured and told it to link to GTK 1 instead of 2.


All times are GMT -7. The time now is 08:39 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.