You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Ji Yan <ya...@gmail.com> on 2012/01/21 01:50:29 UTC
Build break at vcl on RedHat
I got a break on RedHat within module vlc, the error was:
[ build LNK ] Library/libvclplug_gtk.so
/home/ooo/aoo.r1233796/ooo/main/solver/340/
unxlngi6.pro/workdir/CxxObject/vcl/unx/gtk/app/gtkinst.o: In function
`create_SalInstance':
gtkinst.cxx:(.text+0x808): undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make: *** [/home/ooo/aoo.r1233796/ooo/main/solver/340/
unxlngi6.pro/workdir/LinkTarget/Library/libvclplug_gtk.so] Error 1
To solve the problem I add "$$(GTHREAD_LIBS)" in
vcl/Library_vclplug_gtk.mk.
$(eval $(call gb_Library_set_ldflags,vclplug_gtk, \
$$(LDFLAGS) \
$$(GTHREAD_LIBS) \
$(filter-out -l%,$(GTK_LIBS)) \
))
--
Thanks & Best Regards, Yan Ji