|
发表于 2004-1-9 10:46:26
|
显示全部楼层
编译错误!
环境:
[root@linux fcitx-2.0]# uname -a
Linux linux.ydzx.net 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
过程:
[root@linux fcitx-2.0]# make clean
rm -f *.o fcitx fcitx.noxft
cd IMdkit/lib; make clean
make[1]: Entering directory `/root/fcitx-2.0/IMdkit/lib'
rm -f libXimd.a *.o *.bak
make[1]: Leaving directory `/root/fcitx-2.0/IMdkit/lib'
[root@linux fcitx-2.0]# make
cd IMdkit/lib; make
make[1]: Entering directory `/root/fcitx-2.0/IMdkit/lib'
gcc -c -O2 -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include -I/include IMConn.c
IMConn.c:32:22: X11/Xlib.h: 没有那个文件或目录
In file included from IMConn.c:35:
../include/IMdkit.h:35:21: X11/Xmd.h: 没有那个文件或目录
In file included from IMConn.c:35:
../include/IMdkit.h:71: syntax error before "XPointer"
../include/IMdkit.h:71: warning: no semicolon at end of struct or union
../include/IMdkit.h:72: warning: data definition has no type or storage class
../include/IMdkit.h:76: syntax error before "CARD32"
../include/IMdkit.h:76: warning: no semicolon at end of struct or union
../include/IMdkit.h:77: warning: data definition has no type or storage class
../include/IMdkit.h:78: syntax error before "modifier_mask"
../include/IMdkit.h:78: warning: data definition has no type or storage class
../include/IMdkit.h:79: warning: data definition has no type or storage class
../include/IMdkit.h:84: syntax error before "XIMTriggerKey"
../include/IMdkit.h:84: warning: no semicolon at end of struct or union
../include/IMdkit.h:85: warning: data definition has no type or storage class
../include/IMdkit.h:99: syntax error before '*' token
../include/IMdkit.h:100: warning: no semicolon at end of struct or union
../include/IMdkit.h:101: syntax error before '*' token
../include/IMdkit.h:101: `Status' declared as function returning a function
../include/IMdkit.h:101: warning: data definition has no type or storage class
../include/IMdkit.h:102: syntax error before "XIMArg"
../include/IMdkit.h:103: syntax error before "XIMArg"
../include/IMdkit.h:104: syntax error before '*' token
../include/IMdkit.h:104: syntax error before "XPointer"
../include/IMdkit.h:104: `Status' declared as function returning a function
../include/IMdkit.h:104: warning: data definition has no type or storage class
../include/IMdkit.h:105: syntax error before '*' token
../include/IMdkit.h:105: syntax error before "XPointer"
../include/IMdkit.h:105: `Status' declared as function returning a function
../include/IMdkit.h:105: warning: data definition has no type or storage class
../include/IMdkit.h:106: syntax error before "XPointer"
../include/IMdkit.h:107: syntax error before "XPointer"
../include/IMdkit.h:108: syntax error before "XPointer"
../include/IMdkit.h:109: syntax error before "XPointer"
../include/IMdkit.h:110: warning: data definition has no type or storage class
../include/IMdkit.h:114: syntax error before "Display"
../include/IMdkit.h:114: warning: no semicolon at end of struct or union
../include/IMdkit.h:116: syntax error before '}' token
../include/IMdkit.h:116: warning: data definition has no type or storage class
../include/IMdkit.h:120: syntax error before "IMMethods"
../include/IMdkit.h:120: warning: no semicolon at end of struct or union
../include/IMdkit.h:121: warning: data definition has no type or storage class
../include/IMdkit.h:122: syntax error before "sync"
../include/IMdkit.h:122: warning: data definition has no type or storage class
../include/IMdkit.h:124: syntax error before '}' token
../include/IMdkit.h:124: warning: data definition has no type or storage class
../include/IMdkit.h:129: syntax error before '*' token
../include/IMdkit.h:130: syntax error before "IMCloseIM"
../include/IMdkit.h:130: warning: data definition has no type or storage class
../include/IMdkit.h:133: syntax error before "XPointer"
../include/IMdkit.h:134: syntax error before "XPointer"
../include/IMdkit.h:135: syntax error before "XPointer"
../include/IMdkit.h:136: syntax error before "XPointer"
../include/IMdkit.h:137: syntax error before "XPointer"
../include/IMdkit.h:138: syntax error before "XPointer"
IMConn.c: In function `_IMCountVaList':
IMConn.c:48: syntax error before "XIMArg"
IMConn.c: At top level:
IMConn.c:54: syntax error before "XIMArg"
IMConn.c: In function `_IMVaToNestedList':
IMConn.c:56: `args' undeclared (first use in this function)
IMConn.c:56: (Each undeclared identifier is reported only once
IMConn.c:56: for each function it appears in.)
IMConn.c:59: `max_count' undeclared (first use in this function)
IMConn.c:61: `args_return' undeclared (first use in this function)
IMConn.c:61: syntax error before ')' token
IMConn.c:66: syntax error before ')' token
IMConn.c:72: `var' undeclared (first use in this function)
IMConn.c:75: syntax error before "XPointer"
IMConn.c:72: first argument to `va_arg' not of type `va_list'
IMConn.c:72: first argument to `va_arg' not of type `va_list'
IMConn.c: At top level:
IMConn.c:82: syntax error before '*' token
IMConn.c: In function `_FindModifiers':
IMConn.c:86: `args' undeclared (first use in this function)
IMConn.c: In function `_GetIMS':
IMConn.c:106: syntax error before "Xi18n_im_methods"
IMConn.c:119: dereferencing pointer to incomplete type
IMConn.c:119: `Xi18n_im_methods' undeclared (first use in this function)
IMConn.c: At top level:
IMConn.c:127: syntax error before '*' token
IMConn.c: In function `IMOpenIM':
IMConn.c:131: `args' undeclared (first use in this function)
IMConn.c:134: syntax error before "ret"
IMConn.c:136: `display' undeclared (first use in this function)
IMConn.c:151: dereferencing pointer to incomplete type
IMConn.c:153: dereferencing pointer to incomplete type
IMConn.c:153: dereferencing pointer to incomplete type
IMConn.c:155: dereferencing pointer to incomplete type
IMConn.c:161: `ret' undeclared (first use in this function)
IMConn.c:161: dereferencing pointer to incomplete type
IMConn.c:162: `False' undeclared (first use in this function)
IMConn.c:136: `va_start' used in function with fixed args
IMConn.c:140: `va_start' used in function with fixed args
IMConn.c: At top level:
IMConn.c:171: syntax error before "IMCloseIM"
IMConn.c: In function `IMCloseIM':
IMConn.c:173: dereferencing pointer to incomplete type
IMConn.c:175: `True' undeclared (first use in this function)
make[1]: *** [IMConn.o] Error 1
make[1]: Leaving directory `/root/fcitx-2.0/IMdkit/lib'
make: *** [libXimd.a] Error 2
[root@linux fcitx-2.0]# |
|