azhmatoMac-Pro:trunk azhwei$ make
[MKDIR] /Users/azhwei/trunk/sym
[MKDIR] /Users/azhwei/trunk/obj
[MAKE] config
[MKDIR] /Users/azhwei/trunk/obj/i386/config
[MKDIR] /Users/azhwei/trunk/sym/i386
[CC32] cconfig.c
[CC64] cconfig.c
[CC32] zconf.tab.c
[CC64] zconf.tab.c
[CC32] yesno.c
[CC64] yesno.c
[CC32] textbox.c
[CC64] textbox.c
[CC32] menubox.c
[CC64] menubox.c
[CC32] checklist.c
[CC64] checklist.c
[CC32] inputbox.c
[CC64] inputbox.c
[LD32] cconfig_32
[LD64] cconfig_64
[LIPO] cconfig
[MAKE] config
================= Making all in i386 =================
[MKDIR] /Users/azhwei/trunk/obj/i386/modules
================= Making all in klibc =================
================= Making all in uClibcxx =================
================= Making all in Resolution =================
================= Making all in Keylayout =================
================= Making all in layouts =================
[MKDIR] /Users/azhwei/trunk/Keymaps
[MKDIR] /Users/azhwei/trunk/obj/i386/util
[CC32] cham-mklayout.c
cham-mklayout.c:17:23: error: keylayout.h: No such file or directory
cham-mklayout.c:22: error: variable ‘default_layout’ has initializer but incomplete type
cham-mklayout.c:23: error: unknown field ‘keyboard_map’ specified in initializer
cham-mklayout.c:23: error: extra brace group at end of initializer
cham-mklayout.c:23: error: (near initialization for ‘default_layout’)
cc1: warnings being treated as errors
cham-mklayout.c:31: warning: excess elements in struct initializer
cham-mklayout.c:31: warning: (near initialization for ‘default_layout’)
cham-mklayout.c:32: error: unknown field ‘keyboard_map_shift’ specified in initializer
cham-mklayout.c:32: error: extra brace group at end of initializer
cham-mklayout.c:32: error: (near initialization for ‘default_layout’)
cham-mklayout.c:40: warning: excess elements in struct initializer
cham-mklayout.c:40: warning: (near initialization for ‘default_layout’)
cham-mklayout.c:41: error: unknown field ‘keyboard_map_alt’ specified in initializer
cham-mklayout.c:41: error: extra brace group at end of initializer
cham-mklayout.c:41: error: (near initialization for ‘default_layout’)
cham-mklayout.c:49: warning: excess elements in struct initializer
cham-mklayout.c:49: warning: (near initialization for ‘default_layout’)
cham-mklayout.c: In function ‘parse_scancode’:
cham-mklayout.c:216: error: ‘KEYBOARD_MAP_SIZE’ undeclared (first use in this function)
cham-mklayout.c:216: error: (Each undeclared identifier is reported only once
cham-mklayout.c:216: error: for each function it appears in.)
cham-mklayout.c: In function ‘create_keylayout’:
cham-mklayout.c:241: error: dereferencing pointer to incomplete type
cham-mklayout.c:246: error: dereferencing pointer to incomplete type
cham-mklayout.c:246: error: dereferencing pointer to incomplete type
cham-mklayout.c:256: error: dereferencing pointer to incomplete type
cham-mklayout.c:259: error: dereferencing pointer to incomplete type
cham-mklayout.c:262: error: dereferencing pointer to incomplete type
cham-mklayout.c:265: error: dereferencing pointer to incomplete type
cham-mklayout.c:270: error: dereferencing pointer to incomplete type
cham-mklayout.c:275: error: dereferencing pointer to incomplete type
cham-mklayout.c:280: error: dereferencing pointer to incomplete type
cham-mklayout.c: In function ‘write_layout’:
cham-mklayout.c:288: error: ‘KEYBOARD_LAYOUTS_VERSION’ undeclared (first use in this function)
cham-mklayout.c:289: error: ‘KEYBOARD_LAYOUTS_MAGIC’ undeclared (first use in this function)
cham-mklayout.c:289: error: ‘KEYBOARD_LAYOUTS_MAGIC_SIZE’ undeclared (first use in this function)
cham-mklayout.c:292: error: ‘KEYBOARD_LAYOUTS_MAP_OFFSET’ undeclared (first use in this function)
cham-mklayout.c:294: error: dereferencing pointer to incomplete type
make[5]: *** [/Users/azhwei/trunk/obj/i386/util/cham-mklayout.o32] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [modules-builtin] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
azhmatoMac-Pro:trunk azhwei$ make /Users/azhwei/trunk/i386
azhmatoMac-Pro:trunk azhwei$
用的是xcode4.2.出错了。怎么回事,知道吗?