From: Araki K. <ara...@us...> - 2014-07-09 21:49:54
|
Hi, thanks for your detailed report. From: bd satish <bds...@gm...> Subject: [Mlterm-dev-en] Fwd: Compilation error in 3.3.7 on Ubuntu 14.04 (solution provided) Date: Mon, 7 Jul 2014 20:31:51 +0300 Message-ID: <CAE...@ma...> > It's clear that the filename is missing after the -c option. Adding > 'x_font_ft.c' as pre-requisite in line 62 of file > mlterm-3.3.7/xwindow/libtype/Makefile.in fixes the problem: > > x_font_ft.o: x_font_ft.c > $(LIBTOOL_CC) -DUSE_TYPE_CAIRO -DNO_DYNAMIC_LOAD_TYPE -c $< I merged this fix. https://bitbucket.org/arakiken/mlterm/diff/xwindow/libtype/Makefile.in?diff2=2d02f623d7e5&at=default > 2. Second error > > gcc -o mlterm daemon.o main_loop.o main.o ../xwindow/libxwindow.a > ../mlterm/libmlterm.a ../mlterm/libmlterm_core.a > ../mkf/lib/.libs/libmkf.a ../kiklib/src/.libs/libkik.a -ldl > -L/usr/local/lib ../xwindow/libtype/libtype.a > /usr/lib/x86_64-linux-gnu/libcairo.so -lX11 > ../mlterm/libctl/libctl_iscii.a -Wl,--rpath -Wl,/usr/local/lib > /usr/bin/ld: ../xwindow/libtype/libtype.a(x_font_ft.o): undefined > reference to symbol 'FcPatternAddDouble' > //usr/lib/x86_64-linux-gnu/libfontconfig.so.1: error adding symbols: > DSO missing from command line > collect2: error: ld returned 1 exit status > make[1]: *** [mlterm] Error 1 > make[1]: Leaving directory `/tmp/mlterm-3.3.7/main' > make: *** [all] Error 2 > > Adding the missing libraries -lfontconfig -lfreetype at the end of > the command line fixes the above linker error. > > If it matters, this was the configure line: > > ./configure --prefix=$HOME --enable-static --disable-shared > --enable-ind --with-pic --with-x --with-gtk=2.0 > --with-type-engines=cairo --enable-ibus > --with-scrollbars=simple,extras --enable-m17nlib I added -lfreetype and -lfontconfig in configure. https://bitbucket.org/arakiken/mlterm/diff/configure?diff2=2d02f623d7e5&at=default Regards, --- Araki Ken ara...@us... |