Try to set LIBRARY_PATH.

    $ LIBRARY_PATH=/path/to/libgcroots/ make

where /path/to/libgcroots/ may be
/home/uim_branch/label/ism/src/tmp9113/sigscheme/libgcroots/.libs

(12/09/12 6:43), uimuser uimuser wrote:
Hi,

I am trying to build uim-1.8.1 with the following configuration options:

configure --enable-backtrace --enable-notify --enable-openssl
--with-canna --with-curl --with-expat --with-ffi  --with-qt4
--enable-dict --with-qt4-immodule --without-gtk2 --without-gtk3
--enable-default-toolkit=qt4 --disable-gnome-applet
--prefix=/usr/local/input_method/uim

It builds fine on x86 but I get the following errors while building
for the ARM platform. Did I miss any configuration option. I read that
there is some change related to libgcroots but I did not understand
it.

g++ -Wl,-O1 -Wl,-rpath,/usr/qtengine/lib -o uim-candwin-qt4 qt4.o
moc_qt4.o    -L/home/uim_branch/label/ism/src/tmp9113/uim
-L/home/uim_branch/label/ism/src/tmp9113/replace
-L/home/uim_branch/label/ism/src/tmp9113/replace/.libs
-L/home/uim_branch/label/ism/src/tmp9113/uim/.libs -L/usr/qt/lib
-lreplace -luim -luim-scm -luim-x-util -lQtGui -L/usr/qt/lib
-L/usr/X11R6/lib -lQtCore -lpthread
/opt/ism-sdk-110616/arm/bin/arm-unknown-linux-gnueabi-ld: warning:
libgcroots.so.0, needed by
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim.so, not found
(try using -rpath or -rpath-link)
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim-scm.so:
undefined reference to `GCROOTS_is_protected_context'
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim-scm.so:
undefined reference to `GCROOTS_call_with_gc_ready_stack'
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim-scm.so:
undefined reference to `GCROOTS_init'
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim-scm.so:
undefined reference to `GCROOTS_fin'
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim-scm.so:
undefined reference to `GCROOTS_is_protected'
/home/uim_branch/label/ism/src/tmp9113/uim/.libs/libuim-scm.so:
undefined reference to `GCROOTS_mark'


Thank you,
Rahul


--
Google Groups "uim-en" group
uim-en@googlegroups.com
http://groups.google.com/group/uim-en/about

Reply via email to