skip menu and go to main content

body start

X 한글입력기 ami

Resolved  아미 1.2.2 컴파일(make) 할 때 오류 증상 9 ]

03.11.24-20:34:48

300085

Submitted by 이정민

Assignee SungHyun Nam

View1526

Priority3

답장 보고 여기에 글을 옮깁니다.

세벌식 최종의 기호를 칠 때 커서가 왼쪽으로 가는 문제는 <한컴리눅스 3.x 배포판>
에 들어있는 <아미 1.2.2>의 문제라고 볼 수도 있기 때문에 이곳에서 소스를 받은 뒤
에 컴파일 하여 쓰려고 했으나 컴파일 오류로 쓰지 못하고 있습니다.


소스를 받은 것은 올해 초인데 지금까지 여러 차례 컴파일을 해봤지만 마찬가지였습니다.
컴파일 할 때 나타나는 오류를 그대로 파일로 잡아서 올립니다. configure도 문제는
없지만 함께 올립니다. (make와 오류는 아래에 있음)

※ 참고로 <한컴리눅스 3.0 +업>에서는 gdk-pixbuf 0.18과 0.22 둘다 해봤으며 어제
새로 깐 <한컴리눅스 3.1 FTP판 +업>은 gdk-pixbuf 0.18로만 했습니다.


================================= ./configure --prefix=/usr >> 내용

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking what warning flags to pass to the C compiler... -Wall -Wno-unused
checking what language compliance flags to pass to the C compiler...
checking for gdk-pixbuf-config... /usr/bin/gdk-pixbuf-config
checking for GDK_PIXBUF - version >= 0.7.0... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for XConvertCase in -lX11... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking how to link with libiconv... /usr/lib/libiconv.so
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating Makefile
config.status: creating Ximd/Makefile
config.status: creating src/Makefile
config.status: creating hanjadic/Makefile
config.status: creating tutorial/Makefile
config.status: creating pix/Makefile
config.status: creating ami.spec
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile



================================= make >> 내용

make all-recursive
make[1]: 들어감 `/root/ami-1.2.2' 디렉토리
Making all in intl
make[2]: 들어감 `/root/ami-1.2.2/intl' 디렉토리
make[2]: Nothing to be done for `all'.
make[2]: 나감 `/root/ami-1.2.2/intl' 디렉토리
Making all in m4
make[2]: 들어감 `/root/ami-1.2.2/m4' 디렉토리
make[2]: Nothing to be done for `all'.
make[2]: 나감 `/root/ami-1.2.2/m4' 디렉토리
Making all in po
make[2]: 들어감 `/root/ami-1.2.2/po' 디렉토리
make[2]: Nothing to be done for `all'.
make[2]: 나감 `/root/ami-1.2.2/po' 디렉토리
Making all in Ximd
make[2]: 들어감 `/root/ami-1.2.2/Ximd' 디렉토리
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c FrameMgr.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c IMConn.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c IMMethod.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c IMValues.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nAttr.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nClbk.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nIMProto.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nIc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nMethod.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nPtHdr.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nUtil.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXIM_t -DUse_Xi18n -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
-Wall -Wno-unused -c i18nX.c
rm -f libXimd.a
ar cru libXimd.a FrameMgr.o IMConn.o IMMethod.o IMValues.o i18nAttr.o
i18nClbk.o i18nIMProto.o i18nIc.o i18nMethod.o i18nPtHdr.o i18nUtil.o i18nX.o
ranlib libXimd.a
make[2]: 나감 `/root/ami-1.2.2/Ximd' 디렉토리
Making all in src
make[2]: 들어감 `/root/ami-1.2.2/src' 디렉토리
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c ami.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c applet.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c bad.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c callback.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c chartable.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c cli.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c comp.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c conf.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c cp.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c dispwin.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c edit.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c handler.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c hanja.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c hinput.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c ic.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c johabcode2.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c keyparse.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c si.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXPM_DIR=\"/usr/share/ami\"
-DHANJA_DIC=\"/usr/share/ami/hanja.dic\" -DSYS_RCFILE=\"/usr/share/ami/gtkrc\"
-DKEYBOARD_DIR=\"/usr/share/hangul_keyboard\"
-DLOCALEDIR=\""/usr/share/locale"\" -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I.. -I./composer -g -O2 -Wall -Wno-unused -c util.c
gcc -g -O2 -Wall -Wno-unused -o ami ami.o applet.o bad.o callback.o
chartable.o cli.o comp.o conf.o cp.o dispwin.o edit.o handler.o hanja.o
hinput.o ic.o johabcode2.o keyparse.o si.o util.o ../Ximd/libXimd.a -L/usr/lib
-lgdk_pixbuf -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXi -lXext -lX11 -lm
make[2]: 나감 `/root/ami-1.2.2/src' 디렉토리
make[1]: 나감 `/root/ami-1.2.2' 디렉토리



================================= make 화면 내용
(아래는 따로 화면에 나온 부분입니다.)

i18nMethod.c: In function `SetXi18nSelectionOwner':
i18nMethod.c:428: warning: dereferencing type-punned pointer will break
strict-aliasing rules
hanja.o: In function `hanja_find_word':
/root/ami-1.2.2/src/hanja.c:410: undefined reference to `libiconv'
/root/ami-1.2.2/src/hanja.c:409: undefined reference to `libiconv_open'
/root/ami-1.2.2/src/hanja.c:360: undefined reference to `libiconv'
/root/ami-1.2.2/src/hanja.c:357: undefined reference to `libiconv_open'
johabcode2.o: In function `johab_to_wansung':
/root/ami-1.2.2/src/johabcode2.c:61: undefined reference to `libiconv'
/root/ami-1.2.2/src/johabcode2.c:51: undefined reference to `libiconv_open'
johabcode2.o: In function `johab_to_wansung_str':
/root/ami-1.2.2/src/johabcode2.c:80: undefined reference to `libiconv'
/root/ami-1.2.2/src/johabcode2.c:74: undefined reference to `libiconv_open'
johabcode2.o: In function `johab_from_wansung':
/root/ami-1.2.2/src/johabcode2.c:105: undefined reference to `libiconv'
/root/ami-1.2.2/src/johabcode2.c:95: undefined reference to `libiconv_open'
johabcode2.o: In function `johab_from_wansung_str':
/root/ami-1.2.2/src/johabcode2.c:124: undefined reference to `libiconv'
/root/ami-1.2.2/src/johabcode2.c:118: undefined reference to `libiconv_open'
johabcode2.o: In function `johab_to_utf8':
/root/ami-1.2.2/src/johabcode2.c:176: undefined reference to `libiconv'
/root/ami-1.2.2/src/johabcode2.c:166: undefined reference to `libiconv_open'
si.o: In function `special_char_input':
/root/ami-1.2.2/src/si.c:99: undefined reference to `libiconv_open'
si.o: In function `char_frame':
/root/ami-1.2.2/src/si.c:186: undefined reference to `libiconv'
collect2: ld returned 1 exit status
make[2]: *** [ami] 오류 1
make[1]: *** [all-recursive] 오류 1
make: *** [all-recursive-am] 오류 2

Comments on this artfact

9 Comments

SungHyun

"Assigned To" was changed from "Nobody" to "SungHyun"

03.11.25-09:27:57

SungHyun

Logged In: YES
user_id=164

이해할 수가 없네요. 위에서 에러난 소스들을 보시면 알겠지만
libiconv_open()같은 함수는 부르지 않습니다. iconv_open()과
같이 앞에 'lib'이 없는 함수들을 부르지요. glibc 기반에서는
libiconv_open()같은 걸로 바뀔리가 없을 것 같은데요.

님의 레포팅 내용 자체도 이해가 안갑니다. 위에서 보면
gcc -g -O2 -Wall -Wno-unused -o ami ami.o applet.o bad.o
callback.o
chartable.o cli.o comp.o conf.o cp.o dispwin.o edit.o
handler.o hanja.o
hinput.o ic.o johabcode2.o keyparse.o si.o util.o
../Ximd/libXimd.a -L/usr/lib
-lgdk_pixbuf -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib
-ldl -lXi -lXext -lX11 -lm
make[2]: 나감 `/root/ami-1.2.2/src' 디렉토리

이것은 틀림없이 'ami' 실행파일이 에러없이 만들어졌다는 것인 데,
'아래는 따로 화면에 나왔다'라는 에러메시지는 무슨 의미지요?
ami라는 실행파일이 안 만들어 졌다는 건가요?

정확한 내용을 모르시면 configure 명령 입력시부터 make 후 에
러가 발생하는 끝까지 파일로 로깅을 받아서 파일 자체를
업로드해 주시기 바랍니다. 편집하지 마시고요.

03.11.25-09:27:57

이정민

Logged In: YES
user_id=6533

왜 컴파일이 안되는지 모르겠습니다.
에러 출력까지 함께 리다이렉션으로 내보낸 파일을 올립니다.
configure까지는 문제가 없고, make에서 문제가 생기며 ami 실행
파일은 없습니다. (볼륨 전체를 찾아도 안나옵니다)

첫 번째 입니다.
configure --prefix=/usr > red_config.txt 2>&1

03.11.27-02:06:52

이정민

File added 63: red_config.txt

03.11.27-02:06:52

이정민

Logged In: YES
user_id=6533

두 번째 입니다.
configure --prefix=/usr > red_make.txt 2>&1

03.11.27-02:08:05

이정민

File added 64: red_make.txt

03.11.27-02:08:06

이정민

Logged In: YES
user_id=6533

아미 1.2.2에서 세벌식 최종의 기호 4가지 ※ “”·의 문제를 확인
하고자(한컴리눅스 3.x에 들어 있는 것만의 문제 일수도 있기 때
문에) 소스를 컴파일 하고자 하였으나 아래와 같은 문제가 있어
서 확인을 할 수 없는 상황입니다.

문제라는 것을 알려드리오니 한 번 확인해 주셨으면 고맙겠습니다.
1. 세벌식 최종으로 한글을 칩니다. (보기 : '이')
2. 바로 위의 세벌식 최종 기호 4가지 가운데 하나를 칩니다.
(기호를 친 뒤 커서가 왼쪽으로 옵니다)

※ 이 증상은 gtk로 만든 프로그램에서는 나타나지 않는 것 같습
니다. (gedit에서는 나타나지 않고, 카테* 또는 모질라*에서 확
인하면 바로 알 수 있습니다)

세벌식을 쓰는데 있어 기호에서 저런 문제가 나타나기 때문에 불
편합니다. 그래서 컴파일을 직접해서 확인하려고 했습니다.

귀찮게 해드려 미안합니다.

그럼 이만.

03.11.27-02:16:28

SungHyun

Logged In: YES
user_id=164

configure시에 --without-libiconv-prefix option을 주어서 시험
해 보시겠습니다.
님의 configure 내용을 보면 중간에 '/usr/lib/libiconv.so' 파
일이 있는 걸 알 수
있습니다. glibc 자체에 iconv 기능이 들어있는 데, 저 파일이
왜 있는 지 알수가
없습니다. 만일 님이 개인적으로 깔은 게 아니라면 한컴리눅스가
잘못되었다고 밖에
생각할 수 없습니다. libiconv는 glibc가 없는 시스템을 위한 것
으로 생각하고
있습니다.

위의 방법이 되든 지, 되지 않든지...
src/Makefile.in 파일을 수정 후에 님이 이전에 하셨던 것처럼
'configure'만 해 봐 주십시요. src/Makefile.in 파일에서
AMI_LIBS라는 걸
찾으세요.
    AMI_LIBS = $(GNOME_LIBDIR) $(GNOME_APPLETS_LIBS)
$(GDK_PIXBUF_LIBS)
    AMI_LIBS = $(GDK_PIXBUF_LIBS)
이런 줄들이 보일텐데, 그 줄들을
    AMI_LIBS = $(GNOME_LIBDIR) $(GNOME_APPLETS_LIBS)
$(GDK_PIXBUF_LIBS) $(LIBICONV)
    AMI_LIBS = $(GDK_PIXBUF_LIBS) $(LIBICONV)
이렇게 바꾸어서 시험해 보시겠어요? 각 줄의 마지막에
$(LIBICONV) 추가.
ami가 제대로 만들어지지 않을까 확신합니다.

그리고, 저도 세벌식 최종을 쓰는 데, xterm 및 gvim에서 시험시
저의 경우
이상없이 동작합니다. 저는 기호를 F3 를 이용해서 입력하였습니
다. '이※' 입력시
커서위치가 제대로 됩니다. 물론 현재 ami CVS 버전이긴 하지만...

03.11.27-10:18:06

이정민

Logged In: YES
user_id=6533

한컴리눅스 3.1 FTP판에 GTK+-2.2.4를 설치하기 위하여
glib-2.2.3으로 올리는 과정에서 libiconv-1.9.1도 함께 올려준
것입니다.
configure를 할 때 --without-libiconv-prefix 옵션을 주기도 했
으나 마찬가지였습니다.
알려주신대로 src/Makefile.in파일을 열어 AMI_LIB = 찾아서 끝
에 $(LIBICONV)를 더하니 컴파일을 문제 없이 하였습니다.

그리 만든 ami 1.2.2를 한글 입력기로 한 뒤, 세벌식 최종으로
한글을 치는 도중에 연속하여 기호(※ “ ” ·)를 치면 커서가 왼쪽
에 붙는 문제를 확인 하였으나 똑같은 문제가 있었습니다.


*** 정확한 증상을 보시려면 '특수 문자 입력 (F3)'을 통해서 ※
“ ” ·를 넣지 말아야 합니다!
한글을 치고 '연속'하여 ※ “ ” ·를 쳐야 합니다. (한글 세벌식으
로 특수 문자 ※ “ ” · 4가지를 쳐야합니다)
그러니까 한글 세벌식 상태에서 '한글'을 치고 '특수 문자'도 쳐
야 하는 것입니다.


특수문자(※ “ ” ·)를 따로 입력하거나 '특수 문자 입력 (F3)'으
로 치면 물론 커서가 왼쪽으로 가는 일은 없습니다.
위와 같이 하면 xterm과 gvim에서 이상없이 동작합니다. (확인
하였음)


(gedit 같은 gtk 응용에서는 위 증상이 나타나지 않습니다. 제가
말씀 드린 방법으로 카테*와 gvim에서 확인해 보시기 바랍니다.


막상 쓸 때 저런 증상이 나타나면 걸리는 것은 4개의 기호 가운
데 2개입니다.
·가운뎃점과 ” 닫힘 큰따옴표

답장 고맙습니다.

03.11.28-01:54:49

Choe Hwanjin

Logged In: YES
user_id=104

1. 세벌식 자판 문제
제 생각으로는 한컴 리눅스 Qt의 버그 같군요

2. 빌드 문제
제 경우는 빌드하는데 아무런 지장이 없습니다.
뭔가 시스템에 손보신게 있지 않은지요.

03.12.01-11:34:45

SungHyun

로그인: YES
user_id=164

ami CVS 버전을 쓰시면 libiconv 관련 컴파일 에러가
없을 것입니다. 그리고, ※와 관련하여 저의 경우
src/edit.c 파일을 수정하면 커서가 제대로 움직입니다.
현재 CVS를 기준으로 src/edit.c, line 492를 다음처럼
바꾸어서 시험해 보시겠습니까?

diff -u -r1.6 edit.c
--- edit.c 28 Mar 2003 07:21:49 -0000 1.6
+++ edit.c 27 Jan 2004 05:43:21 -0000
@@ -489,7 +489,7 @@
     int howmuch;
     g_return_if_fail (ic != NULL);
     g_return_if_fail (ic->han != NULL);
- if (ic->han->len == ic->han->pos) return;
+ if (ic->han->len <= ic->han->pos) return;
     howmuch = util_get_mb_strlen(ic->han->buf +
ic->han->pos, -1);
     if (debug) g_print("%s: %d\n",__FUNCTION__, howmuch);

이 diff에서처럼 '==' 이 '<=' 로 바뀌어야 합니다.
님이 cvs update하시는 시점에 따라 이미 '<='로 바뀌어
있을 수도 있습니다. 이미 바뀌어 있는 경우에는 그냥
compile해서 시험해 보시면 됩니다.

04.01.27-18:05:31

SungHyun

로그인: YES
user_id=164

이 문제가 저의 경우 더 이상 일어나지 않기 때문에
버그를 닫습니다.

04.02.05-11:29:52

SungHyun

"resolution_id" was changed from "100" to "None"
"State" was changed from "Open" to "Closed"

04.02.05-11:29:52