[Uim] compilation error during libuim-custom

Etsushi Kato ekato at ees.hokudai.ac.jp
Mon Feb 21 04:33:06 EET 2005


On 2005/02/21, at 3:19, Jeroen Ruigrok/asmodai wrote:

> /usr/libexec/gcc34/gcc -O2 -o uim-pref-gtk uim_pref_gtk-pref-gtk.o
> uim_pref_gtk-pref-gtk-custom-widgets.o -Wl,--export-dynamic
> -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr 
> -lXi
> -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft
> -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 
> -lpango-1.0
> -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../uim/.libs/libuim.a -lintl
> -liconv ../uim/.libs/libuim-custom.a
> ../uim/.libs/libuim-custom.a(libuim_custom_la-uim-custom.o): In 
> function `uim_custom_broadcast':
> libuim_custom_la-uim-custom.o(.text+0x1b38): undefined reference to 
> `uim_helper_send_message'
> libuim_custom_la-uim-custom.o(.text+0x1b75): undefined reference to 
> `uim_helper_close_client_fd'
> libuim_custom_la-uim-custom.o(.text+0x1bae): undefined reference to 
> `uim_helper_init_client_fd'
> libuim_custom only has one source file in the Makefile.am, does it need
> libuim_helper.c listed as well or is that a dependency through another 
> file?

It seems you configured to create uim with --disable-shared.
In this case, sequence of linking is important (libuim-custom.la should 
be ahead).  I'll fix Makefile.am later.

Etsushi Kato
ekato at ees.hokudai.ac.jp

More information about the uim mailing list