LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   GTK 3.4.4 compiling error (http://www.linuxquestions.org/questions/linux-software-2/gtk-3-4-4-compiling-error-4175425183/)

sungchoiok 09-01-2012 04:39 PM

GTK 3.4.4 compiling error
 
I've installed all dependencies using simply ./configure make make install.

I untarred the GTK source and executed ./configure and make.

Error occurs at make. Before that, there were no errors.


This is the error:

Quote:

Making all in tests
make[4]: Entering directory `/home/sung/downls/gtk+-3.4.4/gdk/tests'
CCLD rgba
rgba.o: In function `test_color_copy':
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:113: undefined reference to `g_assertion_message_expr'
rgba.o: In function `test_color_parse':
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:59: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:12: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:15: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:22: undefined reference to `g_assertion_message_expr'
rgba.o:/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:23: more undefined references to `g_assertion_message_expr' follow
rgba.o: In function `test_color_to_string':
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:80: undefined reference to `g_strdup'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:87: undefined reference to `g_strcmp0'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:91: undefined reference to `g_strcmp0'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:93: undefined reference to `g_free'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:94: undefined reference to `g_free'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:95: undefined reference to `g_free'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:98: undefined reference to `g_free'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:83: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:87: undefined reference to `g_assertion_message_cmpstr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:91: undefined reference to `g_assertion_message_cmpstr'
rgba.o: In function `test_color_parse_nonsense':
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:124: undefined reference to `g_test_bug'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:148: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:127: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:130: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:133: undefined reference to `g_assertion_message_expr'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:136: undefined reference to `g_assertion_message_expr'
rgba.o:/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:139: more undefined references to `g_assertion_message_expr' follow
rgba.o: In function `main':
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:154: undefined reference to `g_test_init'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:156: undefined reference to `g_test_bug_base'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:158: undefined reference to `g_test_add_func'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:159: undefined reference to `g_test_add_func'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:160: undefined reference to `g_test_add_func'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:161: undefined reference to `g_test_add_func'
/home/sung/downls/gtk+-3.4.4/gdk/tests/rgba.c:163: undefined reference to `g_test_run'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_param_spec_object'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_utf8_validate'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_pattern_get_type'
../../gdk/.libs/libgdk-3.so: undefined reference to `XCompositeReleaseOverlayWindow'
../../gdk/.libs/libgdk-3.so: undefined reference to `XmbSetWMProperties'
../../gdk/.libs/libgdk-3.so: undefined reference to `XkbFreeKeyboard'
../../gdk/.libs/libgdk-3.so: undefined reference to `pango_unichar_direction'
../../gdk/.libs/libgdk-3.so: undefined reference to `XQueryExtension'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_memdup'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_type_interface_peek'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_surface_get_device_offset'
../../gdk/.libs/libgdk-3.so: undefined reference to `XProcessInternalConnection'
../../gdk/.libs/libgdk-3.so: undefined reference to `_XReply'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_array_sort'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_slist_remove'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_destroy'
../../gdk/.libs/libgdk-3.so: undefined reference to `XineramaQueryScreens'
../../gdk/.libs/libgdk-3.so: undefined reference to `XCreateFontCursor'
../../gdk/.libs/libgdk-3.so: undefined reference to `XFree'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_value_unset'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_source_set_priority'
../../gdk/.libs/libgdk-3.so: undefined reference to `XkbSetDetectableAutoRepeat'
../../gdk/.libs/libgdk-3.so: undefined reference to `XRRFreeScreenResources'
../../gdk/.libs/libgdk-3.so: undefined reference to `XMoveWindow'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_set_operator'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_get_extents'
../../gdk/.libs/libgdk-3.so: undefined reference to `XShapeQueryVersion'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_object_run_dispose'
../../gdk/.libs/libgdk-3.so: undefined reference to `XFreeCursor'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_unichar_toupper'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_param_spec_string'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_list_find'
../../gdk/.libs/libgdk-3.so: undefined reference to `XkbKeysymToModifiers'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_contains_point'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_value_get_boxed'
../../gdk/.libs/libgdk-3.so: undefined reference to `XkbGetMap'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_cclosure_marshal_VOID__BOOLEAN'
../../gdk/.libs/libgdk-3.so: undefined reference to `XIFreeDeviceInfo'
../../gdk/.libs/libgdk-3.so: undefined reference to `XRRFreeCrtcInfo'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_queue_push_tail'
../../gdk/.libs/libgdk-3.so: undefined reference to `XCompositeQueryVersion'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_direct_equal'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_intern_static_string'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_file_info_get_display_name'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_is_empty'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_get_rectangle'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_num_rectangles'
../../gdk/.libs/libgdk-3.so: undefined reference to `XStringToKeysym'
../../gdk/.libs/libgdk-3.so: undefined reference to `gdk_pixbuf_get_height'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_option_context_set_ignore_unknown_options'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_slist_free'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_value_dup_string'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_flags_register_static'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_hash_table_destroy'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_str_hash'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_clip_extents'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_object_freeze_notify'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_ascii_strtoll'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_gobject_surface_get_type'
../../gdk/.libs/libgdk-3.so: undefined reference to `gdk_pixbuf_new_from_data'
../../gdk/.libs/libgdk-3.so: undefined reference to `XRRGetOutputInfo'
../../gdk/.libs/libgdk-3.so: undefined reference to `XSyncValueIsZero'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_create_rectangles'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_file_icon_get_type'
../../gdk/.libs/libgdk-3.so: undefined reference to `pango_color_to_string'
../../gdk/.libs/libgdk-3.so: undefined reference to `XInternAtoms'
../../gdk/.libs/libgdk-3.so: undefined reference to `XmbTextListToTextProperty'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_slist_copy'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_emblemed_icon_get_icon'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_io_channel_unix_new'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_object_get_data'
../../gdk/.libs/libgdk-3.so: undefined reference to `XReconfigureWMWindow'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_file_query_info'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_font_options_copy'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_option_context_free'
../../gdk/.libs/libgdk-3.so: undefined reference to `XAllocClassHint'
../../gdk/.libs/libgdk-3.so: undefined reference to `gdk_pixbuf_set_option'
../../gdk/.libs/libgdk-3.so: undefined reference to `XDamageQueryExtension'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_xlib_surface_create_for_bitmap'
../../gdk/.libs/libgdk-3.so: undefined reference to `XRefreshKeyboardMapping'
../../gdk/.libs/libgdk-3.so: undefined reference to `XGrabServer'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_file_get_basename'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_object_set_qdata'
../../gdk/.libs/libgdk-3.so: undefined reference to `XGetWMNormalHints'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_signal_emit'
../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_recording_surface_create'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_ascii_strtod'
../../gdk/.libs/libgdk-3.so: undefined reference to `g_value_set_pointer'
{{{goes on and on and on and on and on and on...}}}
../../gdk/.libs/libgdk-3.so: undefined reference to `g_option_context_set_help_enabled'
collect2: ld returned 1 exit status
make[4]: *** [rgba] Error 1
make[4]: Leaving directory `/home/sung/downls/gtk+-3.4.4/gdk/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sung/downls/gtk+-3.4.4/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sung/downls/gtk+-3.4.4/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sung/downls/gtk+-3.4.4'
make: *** [all] Error 2

John VV 09-01-2012 04:57 PM

for ALL the dependencies ????
i HOPE you did NOT replace critical system files with DIFFERENT versions

if you did
you might never be able to fix this

ONLY using
Code:

./configure
su
make && make install

for many of the GTK3.4 prerequisites
WILL replace needed critical system files

so

what EXACTLY did you "install "
and on what operating system


but

i am betting that a FULL new and clean reinstall is in order

sungchoiok 09-01-2012 05:17 PM

I installed the following dependencies:

atk 2.4.0
gtk-pixbuf 2.26.3
glib 2.32.4
pango 1.30.1

(which was what GTK site said were the main dependencies. All four of them were out of date version-wise on my system, so I installed them.)

My system is Slackware 13.37 (latest).

I was installing GTK+ 3.4.4.

Also, I took a fresh tar out and configured and tried make with no avail.

thanks for helping. Also, I don't think I would consider myself a *complete* newbie and installed numerous programs from source... but this one is simply not working.

John VV 09-01-2012 05:50 PM

what version of "glib " was installed from your slack leet install
you replaced it with glib 2.32.4

so i am betting that about 90% of the operating system will need to be rebuilt against this version of glib
glib IS your operating system


have you tried to reboot ?????

what is it you you are building that NEEDS gtk 3.4

to build a SECOND version of critical system files
( say for Gimp 2.8 or the 2.9 DEV )
you need to use a "specal" build folder and point EVERY thing you are building TO that folder

sungchoiok 09-01-2012 09:24 PM

Quote:

Originally Posted by John VV (Post 4770251)
what version of "glib " was installed from your slack leet install
you replaced it with glib 2.32.4

so i am betting that about 90% of the operating system will need to be rebuilt against this version of glib
glib IS your operating system


have you tried to reboot ?????

what is it you you are building that NEEDS gtk 3.4

to build a SECOND version of critical system files
( say for Gimp 2.8 or the 2.9 DEV )
you need to use a "specal" build folder and point EVERY thing you are building TO that folder

Okay--I guess I screwed things up pretty badly. Thanks for the help; I'll do that.


All times are GMT -5. The time now is 08:52 AM.