trouble compiling

I’ve been trying to update my version of ardour2 with little success, and to cut a long story short – I thought i would uninstall ardour2-8 and start from scratch. However now when I try to run scons it eventually drops out with (for reference the whole output is at the bottom of this thread):

/usr/lib/gcc/i386-redhat-linux/4.1.1/…/…/…/libpangoft2-1.0.so: undefined reference to g_intern_static_string' /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libgtk-x11-2.0.so: undefined reference tog_object_compat_control’
/usr/lib/gcc/i386-redhat-linux/4.1.1/…/…/…/libpango-1.0.so: undefined reference to g_slice_free_chain_with_offset' /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libpangoft2-1.0.so: undefined reference tog_slice_alloc’
/usr/lib/gcc/i386-redhat-linux/4.1.1/…/…/…/libpangoft2-1.0.so: undefined reference to g_slice_alloc0' /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libpangoft2-1.0.so: undefined reference tog_slice_free1’

I have all the dependencies, at least I have verified package existence with rpm, (system info fedora 5: Linux 2.6.18 i686 i686 i386 GNU/Linux ) - and as i said i did have version 8 running.

I hope i’m not being completely dense here, so if anyone has any ideas they would be greatly appreciated thanks for your time

tim

[root@lapwing ardour-2.0beta10]# scons
scons: Reading SConscript files …
Checking for pkg-config version >= 0.8.0… ok
Checking for gthread-2.0… ok
Checking for lrdf… ok
Checking for libgnomecanvas-2.0… ok
Checking for gtk±2.0… ok
Checking for jack… ok
Checking for samplerate… ok
Checking for glib-2.0… ok
Checking for libxml-2.0… ok
Checking for raptor… ok
Congratulations, you have a functioning C++ compiler.
system triple: i686-pc-linux-gnu
Checking for usb_interrupt_write() in C library usb… no
Checking for FLAC__stream_decoder_new() in C++ library FLAC… no
Checking for C++ header file boost/shared_ptr.hpp… yes
Checking for lo_server_new() in C library lo… yes
Checking for dmalloc_shutdown() in C library dmallocth… no
Checking for C header file alsa/asoundlib.h… yes
Checking for internationalization support …
Found xgettext
Found msgmerge
Checking for C header file libintl.h… yes
International version will be built.
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h… no
Checking for C function posix_memalign()… yes
Checking for C header file /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h… no
Checking for C function getmntent()… yes
Checking for C header file execinfo.h… yes
Checking for jack_client_open()…ok
Checking for jack_recompute_total_latencies()…ok
Checking for JackVideoFrameOffset in jack_position_bits_t enum…failed
Checking for jack_port_ensure_monitor_input()…failed

WARNING: You need at least svn revision 985 of jack for hardware monitoring to work correctly.

Checking for C header file wordexp.h… yes
Checking for C header file sys/vfs.h… yes
Checking for C header file /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h… no
Checking for C header file /System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h… no
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h… no
Checking for C header file /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h… no
scons: done reading SConscript files.
scons: Building targets …
scons: ardour.rc' is up to date. scons:libs/soundtouch/libsoundtouch.so’ is up to date.
scons: libs/sigc++2/sigc++config.h' is up to date. scons:libs/sigc++2/libsigc++2.so’ is up to date.
scons: libs/libsndfile/src/sndfile.h' is up to date. scons:libs/libsndfile/libsndfile-ardour.so’ is up to date.
scons: libs/glibmm2/glibmmconfig.h' is up to date. scons:libs/glibmm2/libglibmm2.so’ is up to date.
scons: libs/pbd/libpbd.so' is up to date. scons:libs/midi++2/libmidi++.so’ is up to date.
scons: libs/ardour/libardour.so' is up to date. scons:libs/gtkmm2/pango/libpangomm.so’ is up to date.
scons: libs/gtkmm2/atk/libatkmm.so' is up to date. scons:libs/gtkmm2/gdk/libgdkmm2.so’ is up to date.
scons: libs/gtkmm2/gtk/libgtkmm2.so' is up to date. scons:libs/libgnomecanvasmm/libgnomecanvasmm.so’ is up to date.
scons: libs/gtkmm2ext/libgtkmm2ext.so' is up to date. scons:libs/surfaces/control_protocol/libardour_cp.so’ is up to date.
g++ -Wl,–export-dynamic -pthread -pthread -L/usr/local/lib -o gtk2_ardour/ardour.bin gtk2_ardour/about.o gtk2_ardour/actions.o gtk2_ardour/add_route_dialog.o gtk2_ardour/ardour_dialog.o gtk2_ardour/ardour_ui.o gtk2_ardour/ardour_ui2.o gtk2_ardour/ardour_ui_dependents.o gtk2_ardour/ardour_ui_dialogs.o gtk2_ardour/ardour_ui_ed.o gtk2_ardour/ardour_ui_mixer.o gtk2_ardour/ardour_ui_options.o gtk2_ardour/audio_clock.o gtk2_ardour/route_time_axis.o gtk2_ardour/audio_time_axis.o gtk2_ardour/automation_gain_line.o gtk2_ardour/automation_line.o gtk2_ardour/automation_pan_line.o gtk2_ardour/automation_time_axis.o gtk2_ardour/axis_view.o gtk2_ardour/canvas-imageframe.o gtk2_ardour/canvas-simpleline.o gtk2_ardour/simpleline.o gtk2_ardour/canvas-simplerect.o gtk2_ardour/simplerect.o gtk2_ardour/canvas-waveview.o gtk2_ardour/color_manager.o gtk2_ardour/crossfade_edit.o gtk2_ardour/crossfade_view.o gtk2_ardour/curvetest.o gtk2_ardour/editing.o gtk2_ardour/editor.o gtk2_ardour/editor_actions.o gtk2_ardour/editor_audio_import.o gtk2_ardour/editor_audiotrack.o gtk2_ardour/editor_canvas.o gtk2_ardour/editor_canvas_events.o gtk2_ardour/editor_cursors.o gtk2_ardour/editor_edit_groups.o gtk2_ardour/editor_export_audio.o gtk2_ardour/editor_hscroller.o gtk2_ardour/editor_imageframe.o gtk2_ardour/editor_keyboard.o gtk2_ardour/editor_keys.o gtk2_ardour/editor_markers.o gtk2_ardour/editor_mixer.o gtk2_ardour/editor_mouse.o gtk2_ardour/editor_nudge.o gtk2_ardour/editor_ops.o gtk2_ardour/editor_region_list.o gtk2_ardour/editor_route_list.o gtk2_ardour/editor_rulers.o gtk2_ardour/editor_scrub.o gtk2_ardour/editor_selection_list.o gtk2_ardour/editor_tempodisplay.o gtk2_ardour/editor_timefx.o gtk2_ardour/export_dialog.o gtk2_ardour/export_session_dialog.o gtk2_ardour/export_region_dialog.o gtk2_ardour/export_range_markers_dialog.o gtk2_ardour/gain_automation_time_axis.o gtk2_ardour/gain_meter.o gtk2_ardour/ghostregion.o gtk2_ardour/grouped_buttons.o gtk2_ardour/gtk-custom-hruler.o gtk2_ardour/gtk-custom-ruler.o gtk2_ardour/imageframe.o gtk2_ardour/imageframe_socket_handler.o gtk2_ardour/imageframe_time_axis.o gtk2_ardour/imageframe_time_axis_group.o gtk2_ardour/imageframe_time_axis_view.o gtk2_ardour/imageframe_view.o gtk2_ardour/io_selector.o gtk2_ardour/keyboard.o gtk2_ardour/ladspa_pluginui.o gtk2_ardour/location_ui.o gtk2_ardour/main.o gtk2_ardour/marker.o gtk2_ardour/marker_time_axis.o gtk2_ardour/marker_time_axis_view.o gtk2_ardour/marker_view.o gtk2_ardour/mixer_strip.o gtk2_ardour/mixer_ui.o gtk2_ardour/new_session_dialog.o gtk2_ardour/option_editor.o gtk2_ardour/opts.o gtk2_ardour/pan_automation_time_axis.o gtk2_ardour/panner.o gtk2_ardour/panner2d.o gtk2_ardour/panner_ui.o gtk2_ardour/playlist_selector.o gtk2_ardour/plugin_selector.o gtk2_ardour/plugin_ui.o gtk2_ardour/prompter.o gtk2_ardour/public_editor.o gtk2_ardour/redirect_automation_line.o gtk2_ardour/redirect_automation_time_axis.o gtk2_ardour/redirect_box.o gtk2_ardour/audio_region_editor.o gtk2_ardour/region_gain_line.o gtk2_ardour/region_selection.o gtk2_ardour/region_view.o gtk2_ardour/audio_region_view.o gtk2_ardour/route_params_ui.o gtk2_ardour/route_redirect_selection.o gtk2_ardour/route_ui.o gtk2_ardour/selection.o gtk2_ardour/sfdb_ui.o gtk2_ardour/send_ui.o gtk2_ardour/streamview.o gtk2_ardour/audio_streamview.o gtk2_ardour/tape_region_view.o gtk2_ardour/tempo_dialog.o gtk2_ardour/time_axis_view.o gtk2_ardour/time_axis_view_item.o gtk2_ardour/time_selection.o gtk2_ardour/utils.o gtk2_ardour/version.o gtk2_ardour/visual_time_axis.o gtk2_ardour/waveview.o -Llibs/pbd -Llibs/surfaces/control_protocol -Llibs/libsndfile -Llibs/midi++2 -Llibs/ardour -Llibs/gtkmm2/atk -Llibs/sigc++2 -Llibs/glibmm2 -Llibs/gtkmm2/pango -Llibs/gtkmm2/gdk -Llibs/soundtouch -Llibs/gtkmm2ext -Llibs/libgnomecanvasmm -Llibs/gtkmm2/gtk -lardour -lardour_cp -lgtkmm2ext -lmidi++ -lpbd -lgtkmm2 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgthread-2.0 -lglib-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgnomecanvasmm -lasound -lsndfile-ardour -llrdf -lglibmm2 -lpangomm -latkmm -lgdkmm2 -lsigc++2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lsoundtouch -lsamplerate -ljack
/usr/lib/gcc/i386-redhat-linux/4.1.1/…/…/…/libpangoft2-1.0.so: undefined reference to g_intern_static_string' /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libgtk-x11-2.0.so: undefined reference tog_object_compat_control’
/usr/lib/gcc/i386-redhat-linux/4.1.1/…/…/…/libpango-1.0.so: undefined reference to g_slice_free_chain_with_offset' /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libpangoft2-1.0.so: undefined reference tog_slice_alloc’
/usr/lib/gcc/i386-redhat-linux/4.1.1/…/…/…/libpangoft2-1.0.so: undefined reference to g_slice_alloc0' /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libpangoft2-1.0.so: undefined reference tog_slice_free1’
collect2: ld returned 1 exit status
scons: *** [gtk2_ardour/ardour.bin] Error 1
scons: building terminated because of errors.

if you use beta9 or the just released beta10, you will get a message telling you that you do not have a new enough version of glib installed. You need 2.10 or later.

thanks, I re checked my glib versions:

rpm -qa | grep glib2

glib2-devel-2.10.3-1
glib2-2.10.3-1

interestingly I went back a version and tried beta9 (which i haven’t tried -since before christmas) and it compiled fine, so I have beta9 working.
I did try beta10 after, but it still wont compile (same problem as before) so am unsure why, but at least i have an up-to-date version again.