[Libreoffice] Error compiling from master inside vcl

Andreas Mantke maand at gmx.de
Thu Jul 21 10:27:16 PDT 2011


Hi Caolan, Michael, *,

Am Donnerstag, 21. Juli 2011, 12:58:53 schrieb Caolán McNamara:
> There's no actual compiler/linker error included in that log. Its a
> parallel build and the error messages from vcl itself are probably mile
> back in your buffer. Just do a make -sr in vcl which is the reported
> failed module and post the results here.
> 
> Your very first post had the type of information that is useful, e.g.
> the linker errors. Assuming its still the same "missing glib and gtk"
> symbols error as reported as the last blocker, then we probably need to
> see the link line to see whether the libs for glib/gtk are missing from
> the command line, or if they are present but just not working, e.g.
> wrong architecture. Seeing as there are stacks of SuSE people building
> every day it must be a fairly trivial glitch.

yes, you are right. If I go to the vcl module and build there with make -r after a rm 
-Rf of unxlngx6.pro I got the old error messages:

/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::IMHandler::signalIMPreeditChanged(_GtkIMContext*, void*)':
gtkframe.cxx:(.text+0x991f): undefined reference to 
`gtk_im_context_get_preedit_string'
gtkframe.cxx:(.text+0x9a56): undefined reference to `pango_attr_list_get_iterator'
gtkframe.cxx:(.text+0x9a6a): undefined reference to `pango_attr_iterator_range'
gtkframe.cxx:(.text+0x9aa4): undefined reference to `g_utf8_pointer_to_offset'
gtkframe.cxx:(.text+0x9ab9): undefined reference to `g_utf8_pointer_to_offset'
gtkframe.cxx:(.text+0x9ac5): undefined reference to `pango_attr_iterator_get_attrs'
gtkframe.cxx:(.text+0x9b07): undefined reference to `pango_attribute_destroy'
gtkframe.cxx:(.text+0x9b2a): undefined reference to `pango_attribute_destroy'
gtkframe.cxx:(.text+0x9b49): undefined reference to `g_slist_free'
gtkframe.cxx:(.text+0x9b83): undefined reference to `pango_attr_iterator_next'
gtkframe.cxx:(.text+0x9b9d): undefined reference to `g_free'
gtkframe.cxx:(.text+0x9ba7): undefined reference to `pango_attr_list_unref'
gtkframe.cxx:(.text+0x9cf4): undefined reference to `g_free'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::EndSetClipRegion()':
gtkframe.cxx:(.text+0x114e): undefined reference to `gdk_window_shape_combine_region'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::ResetClipRegion()':
gtkframe.cxx:(.text+0x1174): undefined reference to `gdk_window_shape_combine_region'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::Beep(unsigned short)':
gtkframe.cxx:(.text+0x120e): undefined reference to `gdk_display_beep'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::Sync()':
gtkframe.cxx:(.text+0x1489): undefined reference to `gdk_display_sync'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::ToTop(unsigned short)':
gtkframe.cxx:(.text+0x16f6): undefined reference to `gtk_widget_grab_focus'
gtkframe.cxx:(.text+0x1747): undefined reference to `gtk_window_present'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::moveWindow(long, long)':
gtkframe.cxx:(.text+0x28e8): undefined reference to `gtk_fixed_move'
gtkframe.cxx:(.text+0x292e): undefined reference to `gtk_window_move'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::resizeWindow(long, long)':
gtkframe.cxx:(.text+0x2996): undefined reference to `gtk_window_resize'
gtkframe.cxx:(.text+0x29aa): undefined reference to `gtk_widget_set_size_request'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::SetWindowState(SalFrameState const*)':
gtkframe.cxx:(.text+0x2faa): undefined reference to `gtk_window_deiconify'
gtkframe.cxx:(.text+0x30fb): undefined reference to `gtk_window_iconify'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::getFromWindow(_GtkWindow*)':
gtkframe.cxx:(.text+0x311d): undefined reference to `g_object_get_data'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::SetDefaultSize()':
gtkframe.cxx:(.text+0x4625): undefined reference to `gtk_window_maximize'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::grabPointer(unsigned char, unsigned char)':
gtkframe.cxx:(.text+0x5234): undefined reference to `gdk_display_pointer_ungrab'
gtkframe.cxx:(.text+0x52b7): undefined reference to `gdk_pointer_grab'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkframe.o: 
In function `GtkSalFrame::SetScreenNumber(unsigned int)':
gtkframe.cxx:(.text+0x9787): undefined reference to `gtk_window_move'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::SetForwardKey(unsigned char)':
gtkobject.cxx:(.text+0x1fc): undefined reference to `gtk_widget_get_type'
gtkobject.cxx:(.text+0x20b): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x213): undefined reference to `gtk_widget_get_events'
gtkobject.cxx:(.text+0x222): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x251): undefined reference to `gtk_widget_get_type'
gtkobject.cxx:(.text+0x25d): undefined reference to `g_type_check_instance_cast'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::SetPosSize(long, long, long, long)':
gtkobject.cxx:(.text+0x2f4): undefined reference to `gtk_fixed_get_type'
gtkobject.cxx:(.text+0x301): undefined reference to `gtk_widget_get_parent'
gtkobject.cxx:(.text+0x30c): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x320): undefined reference to `gtk_fixed_move'
gtkobject.cxx:(.text+0x32f): undefined reference to `gtk_widget_set_size_request'
gtkobject.cxx:(.text+0x334): undefined reference to `gtk_container_get_type'
gtkobject.cxx:(.text+0x33f): undefined reference to `g_type_check_instance_cast'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::UnionClipRegion(long, long, long, long)':
gtkobject.cxx:(.text+0x41f): undefined reference to `gdk_region_union_with_rect'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::BeginSetClipRegion(unsigned long)':
gtkobject.cxx:(.text+0x441): undefined reference to `gdk_region_destroy'
gtkobject.cxx:(.text+0x446): undefined reference to `gdk_region_new'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::~GtkSalObject()':
gtkobject.cxx:(.text+0x48d): undefined reference to `gdk_region_destroy'
gtkobject.cxx:(.text+0x49b): undefined reference to `gtk_container_get_type'
gtkobject.cxx:(.text+0x4a6): undefined reference to `gtk_widget_get_parent'
gtkobject.cxx:(.text+0x4b1): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x4bc): undefined reference to `gtk_container_remove'
gtkobject.cxx:(.text+0x4ca): undefined reference to `gtk_widget_destroy'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::GtkSalObject(GtkSalFrame*, unsigned char)':
gtkobject.cxx:(.text+0x577): undefined reference to `gtk_drawing_area_new'
gtkobject.cxx:(.text+0x59b): undefined reference to `gtk_fixed_put'
gtkobject.cxx:(.text+0x5a4): undefined reference to `gtk_widget_realize'
gtkobject.cxx:(.text+0x5b2): undefined reference to `gtk_widget_set_app_paintable'
gtkobject.cxx:(.text+0x5e1): undefined reference to `gdk_x11_drawable_get_xid'
gtkobject.cxx:(.text+0x6d3): undefined reference to `gtk_widget_get_type'
gtkobject.cxx:(.text+0x6e2): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x6eb): undefined reference to `gdk_x11_drawable_get_xid'
gtkobject.cxx:(.text+0x6fb): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x70d): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x72c): undefined reference to `g_signal_connect_data'
gtkobject.cxx:(.text+0x73a): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x759): undefined reference to `g_signal_connect_data'
gtkobject.cxx:(.text+0x767): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x786): undefined reference to `g_signal_connect_data'
gtkobject.cxx:(.text+0x794): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x7b3): undefined reference to `g_signal_connect_data'
gtkobject.cxx:(.text+0x7c1): undefined reference to `g_type_check_instance_cast'
gtkobject.cxx:(.text+0x7e0): undefined reference to `g_signal_connect_data'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::SetForwardKey(unsigned char)':
gtkobject.cxx:(.text+0x245): undefined reference to `gtk_widget_set_events'
gtkobject.cxx:(.text+0x27c): undefined reference to `gtk_widget_add_events'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::Show(unsigned char)':
gtkobject.cxx:(.text+0x28f): undefined reference to `gtk_widget_hide'
gtkobject.cxx:(.text+0x299): undefined reference to `gtk_widget_show'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::SetPosSize(long, long, long, long)':
gtkobject.cxx:(.text+0x369): undefined reference to `gtk_container_resize_children'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::EndSetClipRegion()':
gtkobject.cxx:(.text+0x3b9): undefined reference to `gdk_window_shape_combine_region'
/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/CxxObject/vcl/unx/gtk/window/gtkobject.o: 
In function `GtkSalObject::ResetClipRegion()':
gtkobject.cxx:(.text+0x3e4): undefined reference to `gdk_window_shape_combine_region'
collect2: ld returned 1 exit status
make: *** 
[/local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6.pro/workdir/LinkTarget/Library/libvclplug_gtklo.so] 
Fehler 1

Regards,
Andreas
-- 
## Developer LibreOffice
## Freie Office-Suite für Linux, Mac, Windows
## http://LibreOffice.org
## Support the Document Foundation (http://documentfoundation.org)
## Meine Seite: http://www.amantke.de 


More information about the LibreOffice mailing list