[Libreoffice] Error compiling from master inside vcl

Andreas Mantke maand at gmx.de
Tue Jul 19 11:29:56 PDT 2011


Hi Caolan, *,

Am Dienstag, 19. Juli 2011, 12:23:20 schrieb Caolán McNamara:
> On Sun, 2011-07-17 at 00:17 +0200, Andreas Mantke wrote:
> > Hi all,
> > 
> > I tried to build LibO on Linux-x64 with KDE 4 (openSUSE 11.4-x64) from a
> > fresh cloned master and the build failed inside the module vcl. I then
> > did source ./LinuxX86-64Env.Set.sh and walked to vcl and run a make -r.
> > That gave me the
> 
> > following output in the shell:
> Freshly built, is it on a machine which previously successfully built
> Libreoffice ?, or is it on a fresh install ?
> 

I used the same machine in the past for building with openSUSE 11.3-x64. In the 
meantime I updated to 11.4 using zypper -dup. Thus you could see it as a fresh 
install.

> > /local/libreoffice/gitrepro/libreoffice1/libo/solver/350/unxlngx6/workdir
> > /CxxObject/vcl/unx/generic/app/randrwrapper.o: In function `(anonymous
> > namespace)::RandRWrapper::XRRQueryExtension(_XDisplay*, int*, int*)':
> > /local/libreoffice/gitrepro/libreoffice1/libo/vcl/unx/generic/app/randrwr
> > apper.cxx:214: undefined reference to `XRRQueryExtension'
> 
> This suggests that the code in vcl/unx/generic/app/randrwrapper.cxx was
> compiled with USE_RANDR and without XRANDR_DLOPEN. I see -lXrandr *is*
> in the link line, but at the beginning again as is the current style. I
> suspect it might be the positioning of -lXrandr on the link line, which
> will reportedly get fixed with the gnumake4 work.
> 
> As a workaround, you could try configuring with an extra
> --disable-randr-link (do a make -sr clean in vcl first)

That works, thanks.

But it stops a bit later in the same module:

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

I hope this part of the messages in the shell are enough to see what happens.

I configured with

./autogen.sh --with-num-cpus=2 --with-max-jobs=2 --without-junit --with-lang=de
 --enable-kde4 --disable-randr-link


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