incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ji Yan <yanji...@gmail.com>
Subject Build break at vcl on RedHat
Date Sat, 21 Jan 2012 00:50:29 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message