编译fcitx时出错,make不通过

编译打包和其他
回复
zelphar
帖子: 9
注册时间: 2008-12-17 16:15

编译fcitx时出错,make不通过

#1

帖子 zelphar » 2008-12-20 12:39

代码: 全选

zelphar@zelphar-laptop:~/fcitx-3.5$ ./configure -prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for 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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
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 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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wait.h usability... yes
checking wait.h presence... yes
checking for wait.h... yes
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for X... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XFT... no
configure: WARNING: No xft found, skipping configure for FreeType and Xft
checking for pid_t... yes
checking for size_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking return type of signal handlers... void
checking for memmove... no
checking for memset... no
checking for mkdir... no
checking for setlocale... no
checking for strcasecmp... no
checking for strstr... no
checking for strtol... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating fcitx.spec
config.status: creating doc/Makefile
config.status: WARNING:  doc/Makefile.in seems to ignore the --datarootdir setting
config.status: creating data/Makefile
config.status: WARNING:  data/Makefile.in seems to ignore the --datarootdir setting
config.status: creating xpm/Makefile
config.status: WARNING:  xpm/Makefile.in seems to ignore the --datarootdir setting
config.status: creating lib/Makefile
config.status: WARNING:  lib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/version.h
config.status: creating src/Makefile
config.status: WARNING:  src/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tools/Makefile
config.status: WARNING:  tools/Makefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing depfiles commands
zelphar@zelphar-laptop:~/fcitx-3.5$ ls
aclocal.m4    config.log     data           install-sh     README      tools
AUTHORS       config.rpath   debian         lib            src         xpm
autogen.sh    config.status  depcomp        Makefile       stamp-h
ChangeLog     config.sub     doc            Makefile.am    stamp-h1
config.guess  configure      fcitx.spec     Makefile.in    stamp-h.in
config.h      configure.in   fcitx.spec.in  missing        THANKS
config.h.in   COPYING        INSTALL        mkinstalldirs  TODO
zelphar@zelphar-laptop:~/fcitx-3.5$ make
cd . && /bin/bash /home/zelphar/fcitx-3.5/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: 正在进入目录 `/home/zelphar/fcitx-3.5'
Making all in doc
make[2]: 正在进入目录 `/home/zelphar/fcitx-3.5/doc'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/zelphar/fcitx-3.5/doc'
Making all in xpm
make[2]: 正在进入目录 `/home/zelphar/fcitx-3.5/xpm'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/zelphar/fcitx-3.5/xpm'
Making all in lib
make[2]: 正在进入目录 `/home/zelphar/fcitx-3.5/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -c -O2 -fno-strength-reduce -fno-strict-aliasing -g -O2 -INONE -INONE -Wall -MT FrameMgr.o -MD -MP -MF ".deps/FrameMgr.Tpo" -c -o FrameMgr.o FrameMgr.c; \
	then mv -f ".deps/FrameMgr.Tpo" ".deps/FrameMgr.Po"; else rm -f ".deps/FrameMgr.Tpo"; exit 1; fi
FrameMgr.c:29:25: error: X11/Xlibint.h: 没有该文件或目录
In file included from FrameMgr.c:31:
FrameMgr.h:32:21: error: X11/Xmd.h: 没有该文件或目录
FrameMgr.h:33:22: error: X11/Xlib.h: 没有该文件或目录
In file included from FrameMgr.c:31:
FrameMgr.h:112: 错误: expected declaration specifiers or ‘...’ before ‘Bool’
FrameMgr.h:114: 错误: expected declaration specifiers or ‘...’ before ‘Bool’
FrameMgr.h:126: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FrameMgrIsIterLoopEnd’
FrameMgr.c:95: 错误: expected specifier-qualifier-list before ‘Bool’
FrameMgr.c:114: 错误: expected specifier-qualifier-list before ‘Bool’
FrameMgr.c:128: 错误: expected specifier-qualifier-list before ‘Bool’
FrameMgr.c:139: 错误: expected specifier-qualifier-list before ‘Bool’
FrameMgr.c:166: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IterIsLoopEnd’
FrameMgr.c:173: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ChainIterGetNext’
FrameMgr.c:177: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FrameInstIsIterLoopEnd’
FrameMgr.c:182: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_FrameMgrIsIterLoopEnd’
FrameMgr.c:183: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_FrameMgrProcessPadding’
FrameMgr.c:216: 错误: expected declaration specifiers or ‘...’ before ‘Bool’
FrameMgr.c: 在函数‘FrameMgrInit’中:
FrameMgr.c:220: 警告: 隐式声明函数‘Xmalloc’
FrameMgr.c:226: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:226: 错误: ‘byte_swap’未声明(在此函数内第一次使用)
FrameMgr.c:226: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
FrameMgr.c:226: 错误: 所在的函数内也只报告一次。)
FrameMgr.c:227: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c:228: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c: 在文件层:
FrameMgr.c:236: 错误: expected declaration specifiers or ‘...’ before ‘Bool’
FrameMgr.c: 在函数‘FrameMgrInitWithData’中:
FrameMgr.c:242: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:242: 错误: ‘byte_swap’未声明(在此函数内第一次使用)
FrameMgr.c:243: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c: 在函数‘FrameMgrFree’中:
FrameMgr.c:249: 警告: 隐式声明函数‘Xfree’
FrameMgr.c: 在函数‘_FrameMgrPutToken’中:
FrameMgr.c:265: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c:265: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c:275: 错误: ‘struct <anonymous>’没有名为‘is_byte_len’的成员
FrameMgr.c:286: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:297: 错误: ‘CARD8’未声明(在此函数内第一次使用)
FrameMgr.c:297: 错误: expected expression before ‘)’ token
FrameMgr.c:302: 错误: ‘CARD16’未声明(在此函数内第一次使用)
FrameMgr.c:302: 错误: expected expression before ‘)’ token
FrameMgr.c:302: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:307: 错误: ‘CARD32’未声明(在此函数内第一次使用)
FrameMgr.c:307: 错误: expected expression before ‘)’ token
FrameMgr.c:307: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:332: 错误: expected expression before ‘)’ token
FrameMgr.c:337: 错误: expected expression before ‘)’ token
FrameMgr.c:342: 错误: expected expression before ‘)’ token
FrameMgr.c:347: 错误: expected expression before ‘)’ token
FrameMgr.c:361: 错误: expected expression before ‘)’ token
FrameMgr.c:361: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:366: 错误: expected expression before ‘)’ token
FrameMgr.c:366: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:371: 错误: expected expression before ‘)’ token
FrameMgr.c:371: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:376: 错误: expected expression before ‘)’ token
FrameMgr.c:376: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:390: 错误: expected expression before ‘)’ token
FrameMgr.c:390: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:395: 错误: expected expression before ‘)’ token
FrameMgr.c:395: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:400: 错误: expected expression before ‘)’ token
FrameMgr.c:400: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:405: 错误: expected expression before ‘)’ token
FrameMgr.c:405: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:452: 警告: 隐式声明函数‘bcopy’
FrameMgr.c:452: 警告: 隐式声明与内建函数‘bcopy’不兼容
FrameMgr.c: 在函数‘_FrameMgrGetToken’中:
FrameMgr.c:483: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c:483: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c:498: 错误: ‘CARD8’未声明(在此函数内第一次使用)
FrameMgr.c:498: 错误: expected expression before ‘)’ token
FrameMgr.c:502: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:502: 错误: ‘CARD16’未声明(在此函数内第一次使用)
FrameMgr.c:502: 错误: expected expression before ‘)’ token
FrameMgr.c:502: 错误: expected expression before ‘)’ token
FrameMgr.c:502: 错误: expected expression before ‘)’ token
FrameMgr.c:506: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:506: 错误: ‘CARD32’未声明(在此函数内第一次使用)
FrameMgr.c:506: 错误: expected expression before ‘)’ token
FrameMgr.c:506: 错误: expected expression before ‘)’ token
FrameMgr.c:506: 错误: expected expression before ‘)’ token
FrameMgr.c:506: 错误: expected expression before ‘)’ token
FrameMgr.c:506: 错误: expected expression before ‘)’ token
FrameMgr.c:521: 错误: ‘struct _Iter’没有名为‘start_counter’的成员
FrameMgr.c:521: 错误: ‘True’未声明(在此函数内第一次使用)
FrameMgr.c:536: 错误: expected expression before ‘)’ token
FrameMgr.c:540: 错误: expected expression before ‘)’ token
FrameMgr.c:544: 错误: expected expression before ‘)’ token
FrameMgr.c:548: 错误: expected expression before ‘)’ token
FrameMgr.c:556: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:565: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:565: 错误: expected expression before ‘)’ token
FrameMgr.c:565: 错误: expected expression before ‘)’ token
FrameMgr.c:565: 错误: expected expression before ‘)’ token
FrameMgr.c:570: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:570: 错误: expected expression before ‘)’ token
FrameMgr.c:570: 错误: expected expression before ‘)’ token
FrameMgr.c:570: 错误: expected expression before ‘)’ token
FrameMgr.c:575: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:575: 错误: expected expression before ‘)’ token
FrameMgr.c:575: 错误: expected expression before ‘)’ token
FrameMgr.c:575: 错误: expected expression before ‘)’ token
FrameMgr.c:580: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:580: 错误: expected expression before ‘)’ token
FrameMgr.c:580: 错误: expected expression before ‘)’ token
FrameMgr.c:580: 错误: expected expression before ‘)’ token
FrameMgr.c:588: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:597: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:597: 错误: expected expression before ‘)’ token
FrameMgr.c:597: 错误: expected expression before ‘)’ token
FrameMgr.c:597: 错误: expected expression before ‘)’ token
FrameMgr.c:597: 错误: expected expression before ‘)’ token
FrameMgr.c:597: 错误: expected expression before ‘)’ token
FrameMgr.c:602: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:602: 错误: expected expression before ‘)’ token
FrameMgr.c:602: 错误: expected expression before ‘)’ token
FrameMgr.c:602: 错误: expected expression before ‘)’ token
FrameMgr.c:602: 错误: expected expression before ‘)’ token
FrameMgr.c:602: 错误: expected expression before ‘)’ token
FrameMgr.c:607: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:607: 错误: expected expression before ‘)’ token
FrameMgr.c:607: 错误: expected expression before ‘)’ token
FrameMgr.c:607: 错误: expected expression before ‘)’ token
FrameMgr.c:607: 错误: expected expression before ‘)’ token
FrameMgr.c:607: 错误: expected expression before ‘)’ token
FrameMgr.c:612: 错误: ‘struct _FrameMgr’没有名为‘byte_swap’的成员
FrameMgr.c:612: 错误: expected expression before ‘)’ token
FrameMgr.c:612: 错误: expected expression before ‘)’ token
FrameMgr.c:612: 错误: expected expression before ‘)’ token
FrameMgr.c:612: 错误: expected expression before ‘)’ token
FrameMgr.c:612: 错误: expected expression before ‘)’ token
FrameMgr.c:620: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:668: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:684: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c: 在函数‘FrameMgrSetTotalSize’中:
FrameMgr.c:719: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c: 在函数‘FrameMgrSkipToken’中:
FrameMgr.c:745: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c:745: 错误: ‘struct _FrameMgr’没有名为‘total_size’的成员
FrameMgr.c: 在文件层:
FrameMgr.c:805: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FrameMgrIsIterLoopEnd’
FrameMgr.c:821: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_FrameMgrIsIterLoopEnd’
FrameMgr.c:826: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_FrameMgrProcessPadding’
FrameMgr.c: 在函数‘FrameInstFree’中:
FrameMgr.c:873: 警告: 隐式声明函数‘ChainIterGetNext’
FrameMgr.c: 在函数‘FrameInstGetNextType’中:
FrameMgr.c:921: 错误: ‘struct <anonymous>’没有名为‘is_byte_len’的成员
FrameMgr.c: 在函数‘FrameInstPeekNextType’中:
FrameMgr.c:1072: 错误: ‘struct <anonymous>’没有名为‘is_byte_len’的成员
FrameMgr.c: 在文件层:
FrameMgr.c:1185: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FrameInstIsIterLoopEnd’
FrameMgr.c: 在函数‘_FrameMgrAppendIter’中:
FrameMgr.c:1209: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:1211: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1212: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1217: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:1222: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1223: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1229: 错误: ‘struct _FrameIter’没有名为‘counting’的成员
FrameMgr.c:1229: 错误: ‘False’未声明(在此函数内第一次使用)
FrameMgr.c:1230: 错误: ‘struct _FrameIter’没有名为‘counter’的成员
FrameMgr.c:1231: 错误: ‘struct _FrameIter’没有名为‘end’的成员
FrameMgr.c:1232: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c: 在函数‘_FrameMgrRemoveIter’中:
FrameMgr.c:1244: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:1250: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1250: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1252: 错误: ‘struct _FrameMgr’没有名为‘iters’的成员
FrameMgr.c:1252: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c:1259: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c: 在函数‘_FrameIterCounterIncr’中:
FrameMgr.c:1270: 错误: ‘struct _FrameIter’没有名为‘counting’的成员
FrameMgr.c:1272: 错误: ‘struct _FrameIter’没有名为‘counter’的成员
FrameMgr.c:1273: 错误: ‘struct _FrameIter’没有名为‘counter’的成员
FrameMgr.c:1273: 错误: ‘struct _FrameIter’没有名为‘end’的成员
FrameMgr.c:1275: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1275: 错误: ‘False’未声明(在此函数内第一次使用)
FrameMgr.c:1281: 错误: ‘struct _FrameIter’没有名为‘next’的成员
FrameMgr.c: 在函数‘_IterStartWatch’中:
FrameMgr.c:1290: 错误: ‘struct _FrameIter’没有名为‘counting’的成员
FrameMgr.c:1290: 错误: ‘True’未声明(在此函数内第一次使用)
FrameMgr.c: 在函数‘IterInit’中:
FrameMgr.c:1510: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1511: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1512: 错误: ‘struct _Iter’没有名为‘start_watch_proc’的成员
FrameMgr.c:1513: 错误: ‘struct _Iter’没有名为‘client_data’的成员
FrameMgr.c:1514: 错误: ‘struct _Iter’没有名为‘start_counter’的成员
FrameMgr.c:1514: 错误: ‘False’未声明(在此函数内第一次使用)
FrameMgr.c:1537: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1537: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c: 在函数‘IterFree’中:
FrameMgr.c:1553: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1562: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1567: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1577: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1582: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c: 在文件层:
FrameMgr.c:1593: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IterIsLoopEnd’
FrameMgr.c: 在函数‘IterGetNextType’中:
FrameMgr.c:1654: 错误: ‘struct _Iter’没有名为‘start_counter’的成员
FrameMgr.c:1656: 错误: ‘struct _Iter’没有名为‘start_watch_proc’的成员
FrameMgr.c:1656: 错误: ‘struct _Iter’没有名为‘client_data’的成员
FrameMgr.c:1657: 错误: ‘struct _Iter’没有名为‘start_counter’的成员
FrameMgr.c:1657: 错误: ‘False’未声明(在此函数内第一次使用)
FrameMgr.c:1660: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1662: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1663: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1676: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1684: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1684: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1691: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1700: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1700: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1703: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1703: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1710: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1723: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1723: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1726: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1726: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1733: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c: 在函数‘IterPeekNextType’中:
FrameMgr.c:1751: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1751: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1768: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1768: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1783: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1783: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1786: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1786: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1803: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1803: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1806: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1806: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c: 在函数‘IterSetSize’中:
FrameMgr.c:1830: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1844: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1847: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1858: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1863: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1879: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1882: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1890: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1895: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1913: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1916: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1924: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:1929: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c: 在函数‘IterGetSize’中:
FrameMgr.c:1953: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1960: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1960: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1966: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1970: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1973: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1985: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c:1989: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:1992: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c: 在函数‘IterSetIterCount’中:
FrameMgr.c:2014: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:2017: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:2017: 错误: ‘False’未声明(在此函数内第一次使用)
FrameMgr.c:2034: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2037: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2046: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:2051: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2065: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2068: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2076: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:2081: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c: 在函数‘IterGetTotalSize’中:
FrameMgr.c:2103: 错误: ‘struct _Iter’没有名为‘allow_expansion’的成员
FrameMgr.c:2137: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2154: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2172: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2175: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c: 在函数‘IterReset’中:
FrameMgr.c:2202: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2210: 错误: ‘struct _Iter’没有名为‘cm’的成员
FrameMgr.c:2221: 错误: ‘struct _Iter’没有名为‘cur_no’的成员
FrameMgr.c: 在函数‘IterSetStartWatch’中:
FrameMgr.c:2228: 错误: ‘struct _Iter’没有名为‘start_watch_proc’的成员
FrameMgr.c:2229: 错误: ‘struct _Iter’没有名为‘client_data’的成员
FrameMgr.c: 在文件层:
FrameMgr.c:2272: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ChainIterGetNext’
make[2]: *** [FrameMgr.o] 错误 1
make[2]:正在离开目录 `/home/zelphar/fcitx-3.5/lib'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/zelphar/fcitx-3.5'
make: *** [all] 错误 2
zelphar@zelphar-laptop:~/fcitx-3.5$ 

晕死,有没有哪位大侠能帮忙看看?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 编译fcitx时出错,make不通过

#2

帖子 BigSnake.NET » 2008-12-20 12:46

依赖包没全

apt-get build-dep fcitx
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
zelphar
帖子: 9
注册时间: 2008-12-17 16:15

Re: 编译fcitx时出错,make不通过

#3

帖子 zelphar » 2008-12-20 14:21

thanks for help
but after this i still get some error:

代码: 全选

zelphar@zelphar-laptop:~/fcitx-3.5$ sudo make
make  all-recursive
make[1]: 正在进入目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5'
Making all in doc
make[2]: 正在进入目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/doc'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/doc'
Making all in xpm
make[2]: 正在进入目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/xpm'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/xpm'
Making all in lib
make[2]: 正在进入目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/lib'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/lib'
Making all in src
make[2]: 正在进入目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src'
if gcc -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm   -O2 -fno-strength-reduce -g -O2   -I/usr/include/freetype2   -D_USE_XFT -Wall -MT InputWindow.o -MD -MP -MF ".deps/InputWindow.Tpo" -c -o InputWindow.o InputWindow.c; \
	then mv -f ".deps/InputWindow.Tpo" ".deps/InputWindow.Po"; else rm -f ".deps/InputWindow.Tpo"; exit 1; fi
InputWindow.c: 在函数‘DrawInputWindow’中:
InputWindow.c:307: 警告: 隐式声明函数‘isprint’
if gcc -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm   -O2 -fno-strength-reduce -g -O2   -I/usr/include/freetype2   -D_USE_XFT -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm   -O2 -fno-strength-reduce -g -O2   -I/usr/include/freetype2   -D_USE_XFT -Wall -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c -o tools.o tools.c; \
	then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/tools.Tpo"; exit 1; fi
tools.c: 在函数‘ConvertGBKSimple2Tradition’中:
tools.c:1220: 警告: 忽略声明有 warn_unused_result 属性的‘fread’的返回值
if gcc -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm   -O2 -fno-strength-reduce -g -O2   -I/usr/include/freetype2   -D_USE_XFT -Wall -MT about.o -MD -MP -MF ".deps/about.Tpo" -c -o about.o about.c; \
	then mv -f ".deps/about.Tpo" ".deps/about.Po"; else rm -f ".deps/about.Tpo"; exit 1; fi
gcc -O2 -fno-strength-reduce -g -O2   -I/usr/include/freetype2   -D_USE_XFT -Wall   -o fcitx -lXpm IC.o ime.o InputWindow.o KeyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapTable.o pyParser.o sp.o tools.o ui.o table.o xim.o qw.o vk.o about.o QuickPhrase.o AutoEng.o extra.o internalVersion.o ../lib/libXimd.a -lXft   -lX11 
InputWindow.o: In function `DisplayMessageDown':
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:617: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:618: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:617: undefined reference to `xftFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:618: undefined reference to `xftFont'
InputWindow.o: In function `DisplayMessageUp':
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:503: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:504: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:550: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:503: undefined reference to `xftFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:504: undefined reference to `xftFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:550: undefined reference to `xftFont'
InputWindow.o: In function `DrawInputWindow':
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:369: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:329: undefined reference to `xftFontEn'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:369: undefined reference to `xftFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:329: undefined reference to `xftFont'
InputWindow.o: In function `CalculateInputWindowHeight':
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/InputWindow.c:166: undefined reference to `xftFont'
tools.o: In function `fprintf':
/usr/include/bits/stdio2.h:98: undefined reference to `bUseAA'
tools.o: In function `LoadConfig':
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/tools.c:264: undefined reference to `bUseAA'
about.o: In function `DrawAboutWindow':
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/about.c:163: undefined reference to `xftVKWindowFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/about.c:163: undefined reference to `xftVKWindowFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/about.c:169: undefined reference to `xftVKWindowFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/about.c:169: undefined reference to `xftVKWindowFont'
/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/about.c:175: undefined reference to `xftVKWindowFont'
about.o:/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src/about.c:175: more undefined references to `xftVKWindowFont' follow
collect2: ld 返回 1
make[2]: *** [fcitx] 错误 1
make[2]:正在离开目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/zelphar/.local/share/Trash/files/fcitx-3.2.5'
make: *** [all] 错误 2
zelphar@zelphar-laptop:~/fcitx-3.5$ 
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 编译fcitx时出错,make不通过

#4

帖子 BigSnake.NET » 2008-12-20 14:34

从新 configure 试试
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
zelphar
帖子: 9
注册时间: 2008-12-17 16:15

Re: 编译fcitx时出错,make不通过

#5

帖子 zelphar » 2008-12-20 15:13

yes,i have do the configure again
in fact, I have download the source code again and do this.
T_T
头像
zhexuezhuzi
帖子: 884
注册时间: 2008-01-23 14:02
来自: 吉林大学
联系:

Re: 编译fcitx时出错,make不通过

#6

帖子 zhexuezhuzi » 2008-12-20 16:10

不是有918纪念版deb吗?编译简直是自虐……
头像
Crazier
帖子: 1051
注册时间: 2007-09-23 17:06
联系:

Re: 编译fcitx时出错,make不通过

#7

帖子 Crazier » 2009-05-19 9:10

I have the same question ! :em20
头像
Crazier
帖子: 1051
注册时间: 2007-09-23 17:06
联系:

Re: 编译fcitx时出错,make不通过

#8

帖子 Crazier » 2009-05-19 9:19

是这样子的,缺少依赖库。运行下面的
sudo apt-get install libxpm-dev
如果还不行的,就要运行
sudo make clean
然后再configure(把你以前的配置清除掉,再重新生成)就可以了
我是这么搞定的!
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 编译fcitx时出错,make不通过

#9

帖子 hcym » 2009-05-19 9:49

是这样子的,缺少依赖库。运行下面的
sudo apt-get install libxpm-dev
如果还不行的,就要运行
sudo make clean
然后再configure(把你以前的配置清除掉,再重新生成)就可以了
我是这么搞定的!
笔记
头像
tianyaqu
帖子: 97
注册时间: 2008-12-05 20:43
来自: 深圳

Re: 编译fcitx时出错,make不通过

#10

帖子 tianyaqu » 2010-03-23 22:08

libxtst-dev
道是何物,直教,生死相许?
回复