Re: Gnome Compile Problems



try setting LDFLAGS="-R/usr/local/lib -L/usr/local/lib" ./configure ...

It looks like it's not finding the libraries correctly.  Check
output from config.log and the config.h files.

Ben

>From: "Charles M. Gagnon" <charlesg@unixrealm.com>

>I'm trying to compile gnome-core-1.2.1 on a SunOS 5.8 machine
>running in 32bit mode. I have gtk+ 1.2.8 and glib 1.2.8
>compiled and installed. I'm getting an error with the linker
>and I'm not sure what it's caused by. Any ideas?
>
>All the includes are there in /usr/local/include/gtk and
>/usr/local/include/gdk. I'm really not sure where to look for
>a problem at this point.
>
>---- OUTPUT from the make ----
>------------------------------
>gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include                   
>-I../intl               -I../intl               -I/usr/local/include 
>-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include 
>-I/usr/local/lib/glib/include -I/usr/openwin/include             
>-DGNOMELOCALEDIR=\""/usr/local/share/locale\""  -I/usr/openwin/include 
>-I/usr/local/lib/glib/include -I/usr/local/include  -g -O2 -Wall -Wunused  
>-c gnome-hint-properties.c
>/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wunused   -o 
>gnome-hint-properties-capplet  gnome-hint-properties.o -L/usr/local/lib 
>-L/usr/openwin/lib -R/usr/openwin/lib
>gcc -g -O2 -Wall -Wunused -o gnome-hint-properties-capplet 
>gnome-hint-properties.o -L/usr/local/lib -L/usr/openwin/lib 
>-R/usr/openwin/lib -R/usr/openwin/lib
>Undefined                       first referenced
>  symbol                             in file
>gtk_entry_get_type                  gnome-hint-properties.o
>gtk_entry_get_text                  gnome-hint-properties.o
>g_free                              gnome-hint-properties.o
>gtk_box_pack_start                  gnome-hint-properties.o
>_gnome_config_set_string            gnome-hint-properties.o
>capplet_widget_get_type             gnome-hint-properties.o
>gnome_window_icon_set_default_from_file gnome-hint-properties.o
>gtk_radio_button_new_with_label     gnome-hint-properties.o
>capplet_widget_state_changed        gnome-hint-properties.o
>gnome_capplet_init                  gnome-hint-properties.o
>gtk_toggle_button_get_type          gnome-hint-properties.o
>gtk_check_button_new_with_label     gnome-hint-properties.o
>gtk_toggle_button_set_active        gnome-hint-properties.o
>gtk_signal_connect                  gnome-hint-properties.o
>gtk_type_check_object_cast          gnome-hint-properties.o
>gnome_config_sync                   gnome-hint-properties.o
>capplet_widget_new                  gnome-hint-properties.o
>gtk_hbox_new                        gnome-hint-properties.o
>gtk_label_new                       gnome-hint-properties.o
>capplet_gtk_main                    gnome-hint-properties.o
>gtk_container_add                   gnome-hint-properties.o
>gnome_file_entry_gtk_entry          gnome-hint-properties.o
>gtk_radio_button_group              gnome-hint-properties.o
>gnome_file_entry_get_type           gnome-hint-properties.o
>gtk_radio_button_get_type           gnome-hint-properties.o
>gtk_box_get_type                    gnome-hint-properties.o
>gtk_container_get_type              gnome-hint-properties.o
>gtk_widget_set_sensitive            gnome-hint-properties.o
>gtk_entry_set_text                  gnome-hint-properties.o
>gtk_widget_show_all                 gnome-hint-properties.o
>gtk_vbox_new                        gnome-hint-properties.o
>_gnome_config_set_bool              gnome-hint-properties.o
>_gnome_config_get_bool_with_default gnome-hint-properties.o
>gnome_file_entry_new                gnome-hint-properties.o
>gtk_container_set_border_width      gnome-hint-properties.o
>_gnome_config_get_string_with_default gnome-hint-properties.o
>ld: fatal: Symbol referencing errors. No output written to 
>gnome-hint-properties-capplet
>collect2: ld returned 1 exit status
>make[2]: *** [gnome-hint-properties-capplet] Error 1
>make[2]: Leaving directory 
>`/usr/local/src/gnome/gnome-core-1.2.1/gnome-hint'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/local/src/gnome/gnome-core-1.2.1'
>make: *** [all-recursive-am] Error 2
>
>
>--
>Charles Gagnon                   | My views are my views and they
>http://unixrealm.com             | do not represent those of anybody
>charlesg@unixrealm.com           | but me.
>
>    And whose cruel idea was it to put an "S" in the word "Lisp"?
>         -- Dennis Miller
>
>_______________________________________________
>gtk-list mailing list
>gtk-list@gnome.org
>http://mail.gnome.org/mailman/listinfo/gtk-list

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





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