I was able to emerge 2.7 and it was working. Then I upgraded to 3.0, and I got this compilation error. Now I have the new scim which doesn't support scim-chinese 2.7. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -avu world (or emerge -avu scim-chinese) 3. error occurs Actual Results: >>> Unpacking source... >>> Unpacking scim-chinese-0.3.0.tar.gz to /var/tmp/portage/scim-chinese-0.3.0/work >>> Source unpacked. [32;01m*[0m Patching ${S}/ltmain.sh... [32;01m*[0m Applying portage-1.4.1.patch... [32;01m*[0m Applying max_cmd_len-1.5.0.patch... [32;01m*[0m Applying sed-1.4.3.patch... doc checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking whether NLS is requested... 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 for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... 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 dependency style of gcc... gcc3 checking build system type... i686-pc-linux checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for library containing strerror... none required checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline 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 off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... 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 unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for ptrdiff_t... yes 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 asprintf... yes checking for fwprintf... 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 snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether getc_unlocked is declared... yes checking for iconv... yes 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.875, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-ranlib... ranlib checking for i686-pc-linux-gnu-strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 /usr/lib/opengl/xorg-x11/lib /usr/lib/MozillaFirefox /usr/lib/mozilla /usr/X11R6/lib /opt/sun-jdk-1.4.2.04/jre/lib /usr/qt/3/lib /usr/kde/3.2/lib /usr/games/lib /opt/insight/lib checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen in -ldl... (cached) yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... (cached) yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for malloc.h... (cached) yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for i686-pc-linux-gnu-g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for i686-pc-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... (cached) yes checking for gconftool-2... /usr/bin/gconftool-2 checking for pkg-config... /usr/bin/pkg-config checking for scim >= 0.9.0... yes checking SCIM_CFLAGS... -I/usr/include/scim-1.0 checking SCIM_LIBS... -lscim-1.0 checking for scim-gtkutils >= 0.9.0... yes checking SCIM_GTKUTILS_CFLAGS... -I/usr/include/scim-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking SCIM_GTKUTILS_LIBS... -Wl,--export-dynamic -lscim-gtkutils-1.0 -lgtk-x11-2.0 -lscim-1.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas/ as install directory for schema files checking for ANSI C header files... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for string.h... (cached) yes checking hash_map usability... no checking hash_map presence... no checking for hash_map... no checking ext/hash_map usability... yes checking ext/hash_map presence... yes checking for ext/hash_map... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for gettimeofday... yes checking for memmove... (cached) yes checking for memset... yes checking for nl_langinfo... yes checking for setlocale... (cached) yes checking for strtol... yes checking for time,... no checking for localtime,... no checking for localtime_r... yes configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating schemas/Makefile config.status: creating schemas/scim-chinese.schemas config.status: creating data/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating scim-chinese.spec config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/scim-chinese-0.3.0/work/scim-chinese-0.3.0' Making all in m4 make[2]: Entering directory `/var/tmp/portage/scim-chinese-0.3.0/work/scim-chinese-0.3.0/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/scim-chinese-0.3.0/work/scim-chinese-0.3.0/m4' Making all in src make[2]: Entering directory `/var/tmp/portage/scim-chinese-0.3.0/work/scim-chinese-0.3.0/src' if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_CHINESE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_PINYIN_DATA_DIR=\"/usr/share/scim/chinese\" -I/usr/include/scim-1.0 -march=pentium3 -O3 -pipe -MT pinyin_la-scim_pinyin_server.lo -MD -MP -MF ".deps/pinyin_la-scim_pinyin_server.Tpo" -c -o pinyin_la-scim_pinyin_server.lo `test -f 'scim_pinyin_server.cpp' || echo './'`scim_pinyin_server.cpp; \ then mv -f ".deps/pinyin_la-scim_pinyin_server.Tpo" ".deps/pinyin_la-scim_pinyin_server.Plo"; else rm -f ".deps/pinyin_la-scim_pinyin_server.Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_CHINESE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_PINYIN_DATA_DIR=\"/usr/share/scim/chinese\" -I/usr/include/scim-1.0 -march=pentium3 -O3 -pipe -MT pinyin_la-scim_native_lookup_table.lo -MD -MP -MF ".deps/pinyin_la-scim_native_lookup_table.Tpo" -c -o pinyin_la-scim_native_lookup_table.lo `test -f 'scim_native_lookup_table.cpp' || echo './'`scim_native_lookup_table.cpp; \ then mv -f ".deps/pinyin_la-scim_native_lookup_table.Tpo" ".deps/pinyin_la-scim_native_lookup_table.Plo"; else rm -f ".deps/pinyin_la-scim_native_lookup_table.Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_CHINESE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_PINYIN_DATA_DIR=\"/usr/share/scim/chinese\" -I/usr/include/scim-1.0 -march=pentium3 -O3 -pipe -MT libchinese_la-scim_pinyin.lo -MD -MP -MF ".deps/libchinese_la-scim_pinyin.Tpo" -c -o libchinese_la-scim_pinyin.lo `test -f 'scim_pinyin.cpp' || echo './'`scim_pinyin.cpp; \ then mv -f ".deps/libchinese_la-scim_pinyin.Tpo" ".deps/libchinese_la-scim_pinyin.Plo"; else rm -f ".deps/libchinese_la-scim_pinyin.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_CHINESE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_PINYIN_DATA_DIR=\"/usr/share/scim/chinese\" -I/usr/include/scim-1.0 -march=pentium3 -O3 -pipe -MT libchinese_la-scim_pinyin.lo -MD -MP -MF .deps/libchinese_la-scim_pinyin.Tpo -c scim_pinyin.cpp -fPIC -DPIC -o .libs/libchinese_la-scim_pinyin.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_CHINESE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_PINYIN_DATA_DIR=\"/usr/share/scim/chinese\" -I/usr/include/scim-1.0 -march=pentium3 -O3 -pipe -MT pinyin_la-scim_native_lookup_table.lo -MD -MP -MF .deps/pinyin_la-scim_native_lookup_table.Tpo -c scim_native_lookup_table.cpp -fPIC -DPIC -o .libs/pinyin_la-scim_native_lookup_table.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_CHINESE_LOCALEDIR=\"/usr/share/locale\" -DSCIM_PINYIN_DATA_DIR=\"/usr/share/scim/chinese\" -I/usr/include/scim-1.0 -march=pentium3 -O3 -pipe -MT pinyin_la-scim_pinyin_server.lo -MD -MP -MF .deps/pinyin_la-scim_pinyin_server.Tpo -c scim_pinyin_server.cpp -fPIC -DPIC -o .libs/pinyin_la-scim_pinyin_server.o make[2]: Leaving directory `/var/tmp/portage/scim-chinese-0.3.0/work/scim-chinese-0.3.0/src' make[1]: Leaving directory `/var/tmp/portage/scim-chinese-0.3.0/work/scim-chinese-0.3.0' *** Resuming merge... >>> emerge (1 of 1) app-i18n/scim-chinese-0.3.0 to / >>> md5 src_uri ;-) scim-chinese-0.3.0.tar.gz ]1;]2;Started emerge on: Jul 17, 2004 04:43:47]1;]2; *** emerge --resume]1;]2; *** Resuming merge...]1;]2; >>> emerge (1 of 1) app-i18n/scim-chinese-0.3.0 to /]1;]2; === (1 of 1) Cleaning (app-i18n/scim-chinese-0.3.0::/usr/portage/app-i18n/scim-chinese/scim-chinese-0.3.0.ebuild)]1;]2; === (1 of 1) Compiling/Merging (app-i18n/scim-chinese-0.3.0::/usr/portage/app-i18n/scim-chinese/scim-chinese-0.3.0.ebuild)configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. scim_native_lookup_table.cpp: In constructor ` NativeLookupTable::NativeLookupTable(int)': scim_native_lookup_table.cpp:38: error: no matching function for call to ` scim::LookupTable::LookupTable(int&, scim::KeyEvent, scim::KeyEvent, std::vector<scim::KeyEvent, std::allocator<scim::KeyEvent> >)' /usr/include/scim-1.0/scim_lookup_table.h:68: error: candidates are: scim::LookupTable::LookupTable(int) /usr/include/scim-1.0/scim_lookup_table.h:60: error: scim::LookupTable::LookupTable(const scim::LookupTable&) scim_native_lookup_table.cpp: In constructor ` NativeLookupTable::NativeLookupTable(int, const std::vector<scim::KeyEvent, std::allocator<scim::KeyEvent> >&)': scim_native_lookup_table.cpp:44: error: no matching function for call to ` scim::LookupTable::LookupTable(int&, scim::KeyEvent, scim::KeyEvent, const std::vector<scim::KeyEvent, std::allocator<scim::KeyEvent> >&)' /usr/include/scim-1.0/scim_lookup_table.h:68: error: candidates are: scim::LookupTable::LookupTable(int) /usr/include/scim-1.0/scim_lookup_table.h:60: error: scim::LookupTable::LookupTable(const scim::LookupTable&) scim_native_lookup_table.cpp: In constructor ` NativeLookupTable::NativeLookupTable(int, const scim::KeyEvent&, const scim::KeyEvent&, const std::vector<scim::KeyEvent, std::allocator<scim::KeyEvent> >&)': scim_native_lookup_table.cpp:52: error: no matching function for call to ` scim::LookupTable::LookupTable(int&, const scim::KeyEvent&, const scim::KeyEvent&, const std::vector<scim::KeyEvent, std::allocator<scim::KeyEvent> >&)' /usr/include/scim-1.0/scim_lookup_table.h:68: error: candidates are: scim::LookupTable::LookupTable(int) /usr/include/scim-1.0/scim_lookup_table.h:60: error: scim::LookupTable::LookupTable(const scim::LookupTable&) distcc[11520] ERROR: compile on localhost failed In file included from scim_pinyin_server.cpp:60: scim_pinyin_server.h:19: error: parse error before `{' token scim_pinyin_server.h:60: error: `friend' can only be specified inside a class scim_pinyin_server.h:62: error: parse error before `public' scim_pinyin_server.h:65: error: destructors must be member functions scim_pinyin_server.h:65: error: virtual outside class declaration scim_pinyin_server.h:67: error: virtual outside class declaration scim_pinyin_server.h:67: error: non-member function `scim::WideString get_name()' cannot have `const' method qualifier scim_pinyin_server.h:68: error: virtual outside class declaration scim_pinyin_server.h:68: error: non-member function `scim::WideString get_authors()' cannot have `const' method qualifier scim_pinyin_server.h:69: error: virtual outside class declaration scim_pinyin_server.h:69: error: non-member function `scim::WideString get_credits()' cannot have `const' method qualifier scim_pinyin_server.h:70: error: virtual outside class declaration scim_pinyin_server.h:70: error: non-member function `scim::WideString get_help()' cannot have `const' method qualifier scim_pinyin_server.h:71: error: virtual outside class declaration scim_pinyin_server.h:71: error: non-member function `scim::String get_uuid()' cannot have `const' method qualifier scim_pinyin_server.h:72: error: virtual outside class declaration scim_pinyin_server.h:72: error: non-member function `scim::String get_icon_file()' cannot have `const' method qualifier scim_pinyin_server.h:74: error: syntax error before `(' token scim_pinyin_server.h:78: error: non-member function `bool valid()' cannot have `const' method qualifier scim_pinyin_server.h:80: error: parse error before `private' scim_pinyin_server.h:84: error: parse error before `}' token scim_pinyin_server.h:87: error: parse error before `{' token scim_pinyin_server.h:93: error: conflicting types for ` PinyinPhraseLib*m_user_phrase_lib' scim_pinyin_server.h:29: error: previous declaration as `scim::String m_user_phrase_lib' scim_pinyin_server.h:117: error: cannot declare variable `m_lookup_table' to be of type `NativeLookupTable' scim_pinyin_server.h:117: error: because the following virtual functions are abstract: /usr/include/scim-1.0/scim_lookup_table.h:206: error: virtual scim::WideString scim::LookupTable::get_candidate(int) const /usr/include/scim-1.0/scim_lookup_table.h:213: error: virtual scim::AttributeList scim::LookupTable::get_attributes(int) const /usr/include/scim-1.0/scim_lookup_table.h:219: error: virtual uint32 scim::LookupTable::number_of_candidates() const make[2]: *** [pinyin_la-scim_native_lookup_table.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... scim_pinyin_server.h:135: error: parse error before `public' scim_pinyin_server.h:140: error: destructors must be member functions scim_pinyin_server.h:140: error: virtual outside class declaration scim_pinyin_server.h:142: error: virtual outside class declaration scim_pinyin_server.h:143: error: virtual outside class declaration scim_pinyin_server.h:144: error: virtual outside class declaration scim_pinyin_server.h:145: error: virtual outside class declaration scim_pinyin_server.h:146: error: virtual outside class declaration scim_pinyin_server.h:147: error: virtual outside class declaration scim_pinyin_server.h:148: error: virtual outside class declaration scim_pinyin_server.h:149: error: virtual outside class declaration scim_pinyin_server.h:150: error: virtual outside class declaration scim_pinyin_server.h:151: error: virtual outside class declaration scim_pinyin_server.h:153: error: parse error before `private' scim_pinyin_server.h:214: error: non-member function `bool is_english_mode()' cannot have `const' method qualifier scim_pinyin_server.h:216: error: non-member function `bool is_special_mode()' cannot have `const' method qualifier scim_pinyin_server.h:219: error: parse error before `}' token scim_pinyin_server.cpp:129: error: syntax error before `(' token scim_pinyin_server.cpp: In function `void pinyin_LTX_scim_module_exit()': scim_pinyin_server.cpp:147: error: `_scim_pinyin_server_factory' undeclared (first use this function) scim_pinyin_server.cpp:147: error: (Each undeclared identifier is reported only once for each function it appears in.) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:157: error: parse error before `)' token scim_pinyin_server.cpp:173: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp: In constructor ` PinyinServerFactory::PinyinServerFactory(const scim::ConfigPointer&)': scim_pinyin_server.cpp:173: error: class `PinyinServerFactory' does not have any field named `m_config' scim_pinyin_server.cpp:174: error: class `PinyinServerFactory' does not have any field named `m_match_longer_phrase' scim_pinyin_server.cpp:175: error: class `PinyinServerFactory' does not have any field named `m_auto_combine_phrase' scim_pinyin_server.cpp:176: error: class `PinyinServerFactory' does not have any field named `m_auto_fill_preedit' scim_pinyin_server.cpp:177: error: class `PinyinServerFactory' does not have any field named `m_always_show_lookup' scim_pinyin_server.cpp:178: error: class `PinyinServerFactory' does not have any field named `m_show_all_keys' scim_pinyin_server.cpp:179: error: class `PinyinServerFactory' does not have any field named `m_user_data_binary' scim_pinyin_server.cpp:180: error: class `PinyinServerFactory' does not have any field named `m_valid' scim_pinyin_server.cpp:181: error: class `PinyinServerFactory' does not have any field named `m_last_time' scim_pinyin_server.cpp:182: error: class `PinyinServerFactory' does not have any field named `m_save_period' scim_pinyin_server.cpp:183: error: class `PinyinServerFactory' does not have any field named `m_dynamic_sensitivity' scim_pinyin_server.cpp:184: error: class `PinyinServerFactory' does not have any field named `m_smart_match_level' scim_pinyin_server.cpp:185: error: class `PinyinServerFactory' does not have any field named `m_max_user_phrase_length' scim_pinyin_server.cpp:186: error: class `PinyinServerFactory' does not have any field named `m_max_preedit_length' scim_pinyin_server.cpp:188: error: `init' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:193: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp: In member function `bool PinyinServerFactory::init()': scim_pinyin_server.cpp:249: error: cannot convert `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' to `PinyinPhraseLib*' in assignment scim_pinyin_server.cpp:339: error: cannot convert `bool' to `PinyinPhraseLib*' in assignment scim_pinyin_server.cpp:366: error: request for member `length' in ` m_user_phrase_lib', which is of non-aggregate type `PinyinPhraseLib*' scim_pinyin_server.cpp:367: error: no match for 'operator!=' in ' *m_user_phrase_lib != '/'' scim_pinyin_server.cpp:369: error: no match for 'operator+' in ' std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]("/") + m_user_phrase_lib' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/bits/stl_bvector.h:202: error: candidates are: std::_Bit_iterator std::operator+(int, const std::_Bit_iterator&) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/bits/stl_bvector.h:261: error: std::_Bit_const_iterator std::operator+(int, const std::_Bit_const_iterator&) scim_pinyin_server.cpp:457: error: `SCIM_DEBUG_SERVER' undeclared (first use this function) scim_pinyin_server.cpp:466: error: request for member `toggle_tone' in ` m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:467: error: request for member `toggle_incomplete' in ` m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:468: error: request for member `toggle_dynamic_adjust' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:473: error: request for member `toggle_ambiguity' in ` m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:475: error: request for member `toggle_ambiguity' in ` m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:478: error: request for member `update_custom_settings' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:514: error: `set_locales' undeclared (first use this function) scim_pinyin_server.cpp:519: error: request for member `load_pinyin_table' in ` m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:526: error: request for member `load_sys_phrase_lib' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:531: error: request for member `c_str' in ` m_user_phrase_lib', which is of non-aggregate type `PinyinPhraseLib*' scim_pinyin_server.cpp:533: error: request for member `load_user_phrase_lib' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:538: error: request for member `get_user_phrase_lib' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:553: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:560: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:566: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:573: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:579: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:633: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:639: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:644: error: syntax error before `::' token scim_pinyin_server.cpp:651: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp:665: error: invalid use of undefined type `class PinyinServerFactory' scim_pinyin_server.h:18: error: forward declaration of `class PinyinServerFactory' scim_pinyin_server.cpp: In member function `void PinyinServerFactory::save_user_library()': scim_pinyin_server.cpp:673: error: request for member `get_user_phrase_lib' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:680: error: request for member `save_pinyin_table' in ` m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp:681: error: request for member `c_str' in ` m_user_phrase_lib', which is of non-aggregate type `PinyinPhraseLib*' scim_pinyin_server.cpp:684: error: request for member `save_user_phrase_lib' in `m_pinyin_global', which is of non-aggregate type `PinyinGlobal*' scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:688: error: `factory' was not declared in this scope scim_pinyin_server.cpp:689: error: parse error before `*' token scim_pinyin_server.cpp:692: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In constructor ` PinyinServerInstance::PinyinServerInstance(...)': scim_pinyin_server.cpp:692: error: class `PinyinServerInstance' does not have any field named `ServerInstanceBase' scim_pinyin_server.cpp:692: error: `factory' undeclared (first use this function) scim_pinyin_server.cpp:692: error: `encoding' undeclared (first use this function) scim_pinyin_server.cpp:692: error: `id' undeclared (first use this function) scim_pinyin_server.cpp:693: error: class `PinyinServerInstance' does not have any field named `m_factory' scim_pinyin_server.cpp:694: error: class `PinyinServerInstance' does not have any field named `m_pinyin_global' scim_pinyin_server.cpp:694: error: `pinyin_global' undeclared (first use this function) scim_pinyin_server.cpp:695: error: class `PinyinServerInstance' does not have any field named `m_pinyin_table' scim_pinyin_server.cpp:696: error: class `PinyinServerInstance' does not have any field named `m_sys_phrase_lib' scim_pinyin_server.cpp:697: error: class `PinyinServerInstance' does not have any field named `m_user_phrase_lib' scim_pinyin_server.cpp:698: error: class `PinyinServerInstance' does not have any field named `m_double_quotation_state' scim_pinyin_server.cpp:699: error: class `PinyinServerInstance' does not have any field named `m_single_quotation_state' scim_pinyin_server.cpp:700: error: class `PinyinServerInstance' does not have any field named `m_forward' scim_pinyin_server.cpp:701: error: class `PinyinServerInstance' does not have any field named `m_focused' scim_pinyin_server.cpp:702: error: class `PinyinServerInstance' does not have any field named `m_simplified' scim_pinyin_server.cpp:703: error: class `PinyinServerInstance' does not have any field named `m_traditional' scim_pinyin_server.cpp:704: error: class `PinyinServerInstance' does not have any field named `m_keys_caret' scim_pinyin_server.cpp:705: error: class `PinyinServerInstance' does not have any field named `m_lookup_caret' scim_pinyin_server.cpp:706: error: class `PinyinServerInstance' does not have any field named `m_iconv' scim_pinyin_server.cpp:723: error: `set_page_index_keys' undeclared (first use this function) scim_pinyin_server.cpp:724: error: `m_factory' undeclared (first use this function) scim_pinyin_server.cpp:725: error: `set_page_updown_keys' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:750: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:755: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::process_key_event(const scim::KeyEvent&)': scim_pinyin_server.cpp:842: error: `caret_left' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:922: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::select_lookup_table(unsigned int)': scim_pinyin_server.cpp:923: error: `get_page_index_key' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:929: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:936: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:941: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::reset() ': scim_pinyin_server.cpp:962: error: `hide_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp:963: error: `hide_preedit_string' undeclared (first use this function) scim_pinyin_server.cpp:964: error: `hide_aux_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:971: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::focus_in()': scim_pinyin_server.cpp:975: error: `show_status_string' undeclared (first use this function) scim_pinyin_server.cpp:987: error: `show_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp:988: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:997: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1003: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::toggle_full_width_punctuation()': scim_pinyin_server.cpp:1008: error: `update_full_width_punctuation' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1013: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::toggle_full_width_letter()': scim_pinyin_server.cpp:1017: error: `update_full_width_letter' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1022: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1050: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::refresh_status_string()': scim_pinyin_server.cpp:1059: error: `update_status_string' undeclared (first use this function) scim_pinyin_server.cpp:1067: error: `update_full_width_punctuation' undeclared (first use this function) scim_pinyin_server.cpp:1068: error: `update_full_width_letter' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1079: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::refresh_aux_string()': scim_pinyin_server.cpp:1091: error: `SCIM_ATTR_REVERSE' undeclared (first use this function) scim_pinyin_server.cpp:1123: error: `update_aux_string' undeclared (first use this function) scim_pinyin_server.cpp:1124: error: `show_aux_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1135: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1160: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::caret_right(bool)': scim_pinyin_server.cpp:1173: error: `caret_left' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1194: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1284: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1333: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1421: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1457: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::enter_hit()': scim_pinyin_server.cpp:1461: error: `commit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1469: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::lookup_cursor_up()': scim_pinyin_server.cpp:1473: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1481: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::lookup_cursor_down()': scim_pinyin_server.cpp:1485: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1493: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::lookup_page_up()': scim_pinyin_server.cpp:1497: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1505: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::lookup_page_down()': scim_pinyin_server.cpp:1509: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1517: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1556: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::post_process(char)': scim_pinyin_server.cpp:1572: error: `commit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1581: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1619: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::commit_converted()': scim_pinyin_server.cpp:1623: error: `update_preedit_string' undeclared (first use this function) scim_pinyin_server.cpp:1625: error: `commit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1653: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1716: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::refresh_preedit_string()': scim_pinyin_server.cpp:1730: error: `update_preedit_string' undeclared (first use this function) scim_pinyin_server.cpp:1731: error: `show_preedit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1739: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::refresh_lookup_table(int, bool)': scim_pinyin_server.cpp:1746: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1756: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::refresh_preedit_caret()': scim_pinyin_server.cpp:1759: error: `update_preedit_caret' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:1765: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1775: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1887: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1916: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1953: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1972: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:1988: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2007: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2019: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2032: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2056: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2091: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2128: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2163: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2275: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2301: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2340: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::english_mode_process_key_event(const scim::KeyEvent&) ': scim_pinyin_server.cpp:2360: error: `commit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:2392: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::english_mode_refresh_preedit()': scim_pinyin_server.cpp:2395: error: `update_preedit_string' undeclared (first use this function) scim_pinyin_server.cpp:2396: error: `update_preedit_caret' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:2405: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp:2414: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::special_mode_process_key_event(const scim::KeyEvent&) ': scim_pinyin_server.cpp:2456: error: `commit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:2492: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::special_mode_refresh_preedit()': scim_pinyin_server.cpp:2494: error: `update_preedit_string' undeclared (first use this function) scim_pinyin_server.cpp:2495: error: `update_preedit_caret' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:2504: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `void PinyinServerInstance::special_mode_refresh_lookup_table()': scim_pinyin_server.cpp:2519: error: `update_lookup_table' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:2529: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' scim_pinyin_server.cpp: In member function `bool PinyinServerInstance::special_mode_lookup_select(char)': scim_pinyin_server.cpp:2542: error: `commit_string' undeclared (first use this function) scim_pinyin_server.cpp: At global scope: scim_pinyin_server.cpp:2553: error: invalid use of undefined type `class PinyinServerInstance' scim_pinyin_server.h:60: error: forward declaration of `class PinyinServerInstance' distcc[11531] ERROR: compile on localhost failed make[2]: *** [pinyin_la-scim_pinyin_server.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: app-i18n/scim-chinese-0.3.0 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure ]1;]2; *** terminating.]1;]2;xterm Expected Results: emerge successfully and work. root@mylaptop -> emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-mm6) ================================================================= System uname: 2.6.5-mm6 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups curl dga directfb dnd doc dv dvd dvdr encode esd evo fam fbcon fbdev foomaticdb freewnn gb gdbm ggi gif gimpprint gnome gpm gtk gtk2 gtkhtml guile i8x0 imlib java jikes jpeg junit jython lcd ldap libg++ libwww mad mikmod mldonkeypango mmx monkey mono motif mozilla mpeg mpeg4 msn nas ncurses nls oggvorbis openal opengl openssh oss pam pcmcia pdflib perl pic png pnp ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype unicode usb utf8 v4l video_cards_i830 wxwindows x86 xine xml xml2 xmms xv xvid zlib"
This method call is causing the problem, /usr/include/scim-1.0/scim_lookup_table.h:68: error: candidates are: scim::LookupTable::LookupTable(int)
Which version of scim do you have? Does scim-chinese-0.4.0 compile on that version of scim? Recent scim may not compile with scim-chinese-0.3.0.
Thank you for your tip Mamoru :) I use scim-0.99.3. Now with the scim-chinese 4.0, I'm able to use the pinyin input method. However, where's other methods gone? Like those for Traditional Chinese and also other methods for Simplified Chinese, e.g. Erbi and Wubi.
scim-0.99.3 should block <scim-chinese-0.4.0... probably scim-chinese-0.3.0 should also block >=scim-0.99. Thanks for the bug report. Wubi is provided by scim-tables(app-i18n/scim-tables). >=scim-0.99 doesn't depend on Chinese input method modules and in fact I'm using it as Japanese input method front end, so I removed dependency to scim-tables from scim. I'll add einfo to scim ebuilds to let users emerge packages needed for desired language input methods.
What do I need to emerge in order to input Japanese? Right now I can just use M17n-ja-tcode which only allows me to input Kanji. How about HIRAGANA and KATAKANA? Thanks.
You need at least app-i18n/anthy to use m17n-ja-anthy. I'm not sure whether you need to remerge m17n-lib after you merge anthy, but it will show m17n-ja-anthy after you have it installed. Alternatively, if you emerge app-i18n/scim-uim, you will be able to use uim-anthy, uim-canna, uim-prime, uim-skk, uim-tutcode and uim-tcode (all of them are Japanese input method)
Thank you very much, Mamoru. Your turn around time has been exceptional. :) Adding these info to the einfo as you suggested would be very helpful. Thanks.