LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 980|回复: 1

fcitx error

[复制链接]
发表于 2006-7-14 07:32:42 | 显示全部楼层 |阅读模式
i  use netbsd3.0
debian: {19} ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-unknown-netbsdelf3.0
checking host system type... i386-unknown-netbsdelf3.0
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 ANSI C... 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, const char * *inbuf, size_t *inbytesl eft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for egrep... 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... no
checking wait.h presence... no
checking for wait.h... no
checking for sys/wait.h... (cached) yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for pkg-config... /usr/pkg/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XFT... yes
checking for pid_t... yes
checking for size_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... no
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking return type of signal handlers... void
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fcitx.spec
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating debian/Makefile
config.status: creating xpm/Makefile
config.status: creating lib/Makefile
config.status: creating src/version.h
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
debian: {20} make
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /usr/pkg/bin/bash ./config.stat us
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
Making all in doc
Making all in tools
gcc -g -O2 -I/usr/X11R6/include -DXTHREADS -I/usr/pkg/include -I/usr/pkg/includ e/freetype2 -I/usr/X11R6/include   -D_USE_XFT -Wall  -c mb2txt.c
mb2txt.c: In function `main':
mb2txt.c:61: warning: implicit declaration of function `exit'
gcc  -g -O2 -I/usr/X11R6/include -DXTHREADS -I/usr/pkg/include -I/usr/pkg/inclu de/freetype2 -I/usr/X11R6/include   -D_USE_XFT -Wall  -o mb2txt  mb2txt.o  -L/u sr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -L/ usr/X11R6/lib -lXft -lfreetype -lz -lXrender -lX11 -lfontconfig   -lX11
gcc -g -O2 -I/usr/X11R6/include -DXTHREADS -I/usr/pkg/include -I/usr/pkg/includ e/freetype2 -I/usr/X11R6/include   -D_USE_XFT -Wall  -c txt2mb.c
txt2mb.c: In function `main':
txt2mb.c:73: warning: implicit declaration of function `exit'
txt2mb.c:82: warning: implicit declaration of function `malloc'
txt2mb.c:108: warning: implicit declaration of function `atoi'
gcc  -g -O2 -I/usr/X11R6/include -DXTHREADS -I/usr/pkg/include -I/usr/pkg/inclu de/freetype2 -I/usr/X11R6/include   -D_USE_XFT -Wall  -o txt2mb  txt2mb.o  -L/u sr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -L/ usr/X11R6/lib -lXft -lfreetype -lz -lXrender -lX11 -lfontconfig   -lX11
gcc -g -O2 -I/usr/X11R6/include -DXTHREADS -I/usr/pkg/include -I/usr/pkg/includ e/freetype2 -I/usr/X11R6/include   -D_USE_XFT -Wall  -c createPYMB.c
In file included from ../src/ime.h:24,
                 from ../src/py.h:24,
                 from ../src/pyParser.h:23,
                 from ../src/pyParser.c:20,
                 from createPYMB.c:24:
../src/xim.h:29:20: IMdkit.h: No such file or directory
../src/xim.h:30:19: Xi18n.h: No such file or directory
In file included from ../src/ime.h:24,
                 from ../src/py.h:24,
                 from ../src/pyParser.h:23,
                 from ../src/pyParser.c:20,
                 from createPYMB.c:24:
../src/xim.h:47: error: parse error before "CARD16"
../src/xim.h:47: warning: no semicolon at end of struct or union
../src/xim.h:52: error: parse error before ':' token
../src/xim.h:54: warning: type defaults to `int' in declaration of `CONNECT_ID'
../src/xim.h:54: warning: data definition has no type or storage class
../src/xim.h:57: error: parse error before '*' token
../src/xim.h:59: error: parse error before '*' token
../src/xim.h:60: error: parse error before "connect_id"
../src/xim.h:61: error: parse error before "connect_id"
../src/xim.h:62: error: parse error before "connect_id"
../src/xim.h:68: error: parse error before "connect_id"
../src/xim.h:69: error: parse error before "connect_id"
In file included from ../src/ime.h:25,
                 from ../src/py.h:24,
                 from ../src/pyParser.h:23,
                 from ../src/pyParser.c:20,
                 from createPYMB.c:24:
../src/KeyList.h:27:20: IMdkit.h: No such file or directory
In file included from ../src/py.h:24,
                 from ../src/pyParser.h:23,
                 from ../src/pyParser.c:20,
                 from createPYMB.c:24:
../src/ime.h:107: error: parse error before '*' token
../src/ime.h:109: error: parse error before '*' token
../src/ime.h:110: error: parse error before '*' token
../src/ime.h:120: error: parse error before "index"
In file included from ../src/pyParser.c:20,
                 from createPYMB.c:24:
../src/pyParser.h:43: error: parse error before "INT8"
../src/pyParser.h:43: warning: no semicolon at end of struct or union
../src/pyParser.h:44: warning: type defaults to `int' in declaration of `iMode'
../src/pyParser.h:44: warning: data definition has no type or storage class
../src/pyParser.h:45: warning: type defaults to `int' in declaration of `ParseP YStruct'
../src/pyParser.h:45: warning: data definition has no type or storage class
../src/pyParser.h:56: error: parse error before "arsePYStruct"
In file included from createPYMB.c:24:
../src/pyParser.c:102: error: parse error before "arsePYStruct"
../src/pyParser.c: In function `ParsePY':
../src/pyParser.c:110: error: `parsePY' undeclared (first use in this function)
../src/pyParser.c:110: error: (Each undeclared identifier is reported only once
../src/pyParser.c:110: error: for each function it appears in.)
../src/pyParser.c:111: error: `strPY' undeclared (first use in this function)
../src/pyParser.c:124: error: `mode' undeclared (first use in this function)
In file included from createPYMB.c:27:
../src/sp.c: In function `LoadSPData':
../src/sp.c:125: warning: implicit declaration of function `getenv'
../src/sp.c:128: warning: implicit declaration of function `access'
../src/sp.c:151: warning: subscript has type `char'
../src/sp.c:162: warning: subscript has type `char'
../src/sp.c:166: warning: subscript has type `char'
createPYMB.c: In function `LoadPY':
createPYMB.c:75: warning: implicit declaration of function `malloc'
createPYMB.c: In function `CreatePYPhrase':
createPYMB.c:131: error: parse error before "strTemp"
createPYMB.c:146: error: `strTemp' undeclared (first use in this function)
*** Error code 1

Stop.
make: stopped in /home/qwer/fcitx-3.2.1/tools
*** Error code 1

Stop.
make: stopped in /home/qwer/fcitx-3.2.1
*** Error code 1
发表于 2006-7-17 01:03:39 | 显示全部楼层
没有用过bsd,不清楚原因,不过应该可以用以下方法暂时解决
cd tools
ln -s ../lib/*.h .

然后重新回到fcitx目录下make
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表