LinuxSir.cn,穿越时空的Linuxsir!

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

emerge zhcon 编译过程中出错

[复制链接]
发表于 2007-4-3 00:59:38 | 显示全部楼层 |阅读模式
  1. checking for a BSD-compatible install... /usr/bin/install -c
  2. checking whether build environment is sane... yes
  3. checking for gawk... gawk
  4. checking whether make sets $(MAKE)... yes
  5. checking whether to enable maintainer-specific portions of Makefiles... no
  6. checking build system type... i686-pc-linux-gnu
  7. checking host system type... i686-pc-linux-gnu
  8. Linux detected
  9. x86 platform detected, compile with VGA support
  10. checking for gawk... (cached) gawk
  11. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
  12. checking for C compiler default output file name... a.out
  13. checking whether the C compiler works... yes
  14. checking whether we are cross compiling... no
  15. checking for suffix of executables...
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C compiler... yes
  18. checking whether i686-pc-linux-gnu-gcc accepts -g... yes
  19. checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
  20. checking for style of include used by make... GNU
  21. checking dependency style of i686-pc-linux-gnu-gcc... gcc3
  22. checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
  23. checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
  24. checking whether we are using the GNU C++ compiler... yes
  25. checking whether i686-pc-linux-gnu-g++ accepts -g... yes
  26. checking dependency style of i686-pc-linux-gnu-g++... gcc3
  27. checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
  28. checking for a BSD-compatible install... /usr/bin/install -c
  29. checking whether ln -s works... yes
  30. checking whether make sets $(MAKE)... (cached) yes
  31. checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
  32. checking for grep that handles long lines and -e... /bin/grep
  33. checking for egrep... /bin/grep -E
  34. checking for ANSI C header files... yes
  35. checking for sys/types.h... yes
  36. checking for sys/stat.h... yes
  37. checking for stdlib.h... yes
  38. checking for string.h... yes
  39. checking for memory.h... yes
  40. checking for strings.h... yes
  41. checking for inttypes.h... yes
  42. checking for stdint.h... yes
  43. checking for unistd.h... yes
  44. checking whether byte ordering is bigendian... no
  45. checking whether NLS is requested... yes
  46. checking for msgfmt... /usr/bin/msgfmt
  47. checking for gmsgfmt... /usr/bin/gmsgfmt
  48. checking for xgettext... /usr/bin/xgettext
  49. checking for msgmerge... /usr/bin/msgmerge
  50. checking whether we are using the GNU C Library 2 or newer... yes
  51. checking for simple visibility declarations... yes
  52. checking for inline... inline
  53. checking for size_t... yes
  54. checking for stdint.h... yes
  55. checking for working alloca.h... yes
  56. checking for alloca... yes
  57. checking for stdlib.h... (cached) yes
  58. checking for unistd.h... (cached) yes
  59. checking for getpagesize... yes
  60. checking for working mmap... yes
  61. checking whether integer division by zero raises SIGFPE... yes
  62. checking for inttypes.h... yes
  63. checking for unsigned long long int... yes
  64. checking for inttypes.h... (cached) yes
  65. checking whether the inttypes.h PRIxNN macros are broken... no
  66. checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
  67. checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
  68. checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
  69. done
  70. checking whether imported symbols can be declared weak... yes
  71. checking pthread.h usability... yes
  72. checking pthread.h presence... yes
  73. checking for pthread.h... yes
  74. checking for pthread_kill in -lpthread... yes
  75. checking for pthread_rwlock_t... yes
  76. checking for multithread API to use... posix
  77. checking argz.h usability... yes
  78. checking argz.h presence... yes
  79. checking for argz.h... yes
  80. checking for inttypes.h... (cached) yes
  81. checking limits.h usability... yes
  82. checking limits.h presence... yes
  83. checking for limits.h... yes
  84. checking for unistd.h... (cached) yes
  85. checking sys/param.h usability... yes
  86. checking sys/param.h presence... yes
  87. checking for sys/param.h... yes
  88. checking for getcwd... yes
  89. checking for getegid... yes
  90. checking for geteuid... yes
  91. checking for getgid... yes
  92. checking for getuid... yes
  93. checking for mempcpy... yes
  94. checking for munmap... yes
  95. checking for stpcpy... yes
  96. checking for strcasecmp... yes
  97. checking for strdup... yes
  98. checking for strtoul... yes
  99. checking for tsearch... yes
  100. checking for argz_count... yes
  101. checking for argz_stringify... yes
  102. checking for argz_next... yes
  103. checking for __fsetlocking... yes
  104. checking whether feof_unlocked is declared... yes
  105. checking whether fgets_unlocked is declared... yes
  106. checking for iconv... yes
  107. checking for iconv declaration...
  108.          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  109. checking for NL_LOCALE_NAME macro... yes
  110. checking for bison... bison
  111. checking version of bison... 2.1, ok
  112. checking for long long int... yes
  113. checking for long double... yes
  114. checking for wchar_t... yes
  115. checking for wint_t... yes
  116. checking for intmax_t... yes
  117. checking whether printf() supports POSIX/XSI format strings... yes
  118. checking whether we are using the GNU C Library 2.1 or newer... yes
  119. checking for stdint.h... (cached) yes
  120. checking for SIZE_MAX... (((1U << 31) - 1) * 2 + 1)
  121. checking for stdint.h... (cached) yes
  122. checking for CFPreferencesCopyAppValue... no
  123. checking for CFLocaleCopyCurrent... no
  124. checking for ptrdiff_t... yes
  125. checking stddef.h usability... yes
  126. checking stddef.h presence... yes
  127. checking for stddef.h... yes
  128. checking for stdlib.h... (cached) yes
  129. checking for string.h... (cached) yes
  130. checking for asprintf... yes
  131. checking for fwprintf... yes
  132. checking for putenv... yes
  133. checking for setenv... yes
  134. checking for setlocale... yes
  135. checking for snprintf... yes
  136. checking for wcslen... yes
  137. checking whether _snprintf is declared... no
  138. checking whether _snwprintf is declared... no
  139. checking whether getc_unlocked is declared... yes
  140. checking for nl_langinfo and CODESET... yes
  141. checking for LC_MESSAGES... yes
  142. checking for CFPreferencesCopyAppValue... (cached) no
  143. checking for CFLocaleCopyCurrent... (cached) no
  144. checking whether included gettext is requested... no
  145. checking for GNU gettext in libc... yes
  146. checking whether to use NLS... yes
  147. checking where the gettext function comes from... libc
  148. checking fcntl.h usability... yes
  149. checking fcntl.h presence... yes
  150. checking for fcntl.h... yes
  151. checking for string.h... (cached) yes
  152. checking sys/ioctl.h usability... yes
  153. checking sys/ioctl.h presence... yes
  154. checking for sys/ioctl.h... yes
  155. checking termios.h usability... yes
  156. checking termios.h presence... yes
  157. checking for termios.h... yes
  158. checking for unistd.h... (cached) yes
  159. checking for an ANSI C-conforming const... yes
  160. checking for inline... (cached) inline
  161. checking for stdlib.h... (cached) yes
  162. checking for unistd.h... (cached) yes
  163. checking for getpagesize... (cached) yes
  164. checking for working mmap... (cached) yes
  165. checking for memmove... yes
  166. checking for memset... yes
  167. checking for strchr... yes
  168. checking for forkpty in -lutil... yes
  169. checking for main in -lcurses... yes
  170. checking for main in -ldl... yes
  171. checking for main in -lpth... yes
  172. checking for main in -limmclient... yes
  173. checking for main in -limm_server... yes
  174. checking gpm.h usability... yes
  175. checking gpm.h presence... yes
  176. checking for gpm.h... yes
  177. checking for main in -lgpm... yes
  178. checking ggi/ggi.h usability... yes
  179. checking ggi/ggi.h presence... yes
  180. checking for ggi/ggi.h... yes
  181. checking for main in -lggi... yes
  182. configure: creating ./config.status
  183. config.status: creating Makefile
  184. config.status: creating doc/Makefile
  185. config.status: creating doc/zhcon.1
  186. config.status: creating debian/Makefile
  187. config.status: creating tools/Makefile
  188. config.status: creating font/Makefile
  189. config.status: creating input/Makefile
  190. config.status: creating src/Makefile
  191. config.status: creating src/display/Makefile
  192. config.status: creating config.h
  193. config.status: executing depfiles commands
  194. config.status: executing po-directories commands

  195. Configuration:
  196.     Target system:             i686-pc-linux-gnu
  197.     Source code location:      .
  198.     C++ Compiler:              i686-pc-linux-gnu-g++
  199.     C++ Compiler flags:        -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall
  200.     C   Compiler:              i686-pc-linux-gnu-gcc
  201.     C   Compiler flags:        -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall
  202.     VGA support:               yes
  203.     gpm moues support:         yes
  204.     libggi support:            yes
  205.     unicon support:            yes
  206.     zhcon binary dir:          /usr/bin
  207.     zhcon files dir:           /usr/lib/zhcon

  208. Config complete, now type make to build zhcon.
  209. Good Luck!
  210. make  all-recursive
  211. make[1]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5'
  212. Making all in src
  213. make[2]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src'
  214. Making all in display
  215. make[3]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src/display'
  216. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fbdev.o -MD -MP -MF ".deps/fbdev.Tpo" -c -o fbdev.o fbdev.cpp; \
  217. then mv -f ".deps/fbdev.Tpo" ".deps/fbdev.Po"; else rm -f ".deps/fbdev.Tpo"; exit 1; fi
  218. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear15.o -MD -MP -MF ".deps/fblinear15.Tpo" -c -o fblinear15.o fblinear15.cpp; \
  219. then mv -f ".deps/fblinear15.Tpo" ".deps/fblinear15.Po"; else rm -f ".deps/fblinear15.Tpo"; exit 1; fi
  220. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear16.o -MD -MP -MF ".deps/fblinear16.Tpo" -c -o fblinear16.o fblinear16.cpp; \
  221. then mv -f ".deps/fblinear16.Tpo" ".deps/fblinear16.Po"; else rm -f ".deps/fblinear16.Tpo"; exit 1; fi
  222. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear24.o -MD -MP -MF ".deps/fblinear24.Tpo" -c -o fblinear24.o fblinear24.cpp; \
  223. then mv -f ".deps/fblinear24.Tpo" ".deps/fblinear24.Po"; else rm -f ".deps/fblinear24.Tpo"; exit 1; fi
  224. fblinear16.cpp: In member function 'virtual void FBLinear16::RevRect(int, int, int, int)':
  225. fblinear16.cpp:89: warning: operation on 'dest32' may be undefined
  226. fblinear24.cpp: In member function 'virtual void FBLinear24::RevRect(int, int, int, int)':
  227. fblinear24.cpp:139: warning: operation on 'dest32' may be undefined
  228. fblinear24.cpp:140: warning: operation on 'dest32' may be undefined
  229. fblinear24.cpp:141: warning: operation on 'dest32' may be undefined
  230. fblinear24.cpp:144: warning: operation on 'dest32' may be undefined
  231. fblinear24.cpp:146: warning: operation on 'dest16' may be undefined
  232. fblinear24.cpp:151: warning: operation on 'dest16' may be undefined
  233. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear32.o -MD -MP -MF ".deps/fblinear32.Tpo" -c -o fblinear32.o fblinear32.cpp; \
  234. then mv -f ".deps/fblinear32.Tpo" ".deps/fblinear32.Po"; else rm -f ".deps/fblinear32.Tpo"; exit 1; fi
  235. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear4.o -MD -MP -MF ".deps/fblinear4.Tpo" -c -o fblinear4.o fblinear4.cpp; \
  236. then mv -f ".deps/fblinear4.Tpo" ".deps/fblinear4.Po"; else rm -f ".deps/fblinear4.Tpo"; exit 1; fi
  237. fblinear32.cpp: In member function 'virtual void FBLinear32::RevRect(int, int, int, int)':
  238. fblinear32.cpp:77: warning: operation on 'dest32' may be undefined
  239. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear8.o -MD -MP -MF ".deps/fblinear8.Tpo" -c -o fblinear8.o fblinear8.cpp; \
  240. then mv -f ".deps/fblinear8.Tpo" ".deps/fblinear8.Po"; else rm -f ".deps/fblinear8.Tpo"; exit 1; fi
  241. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fbvgaplanes.o -MD -MP -MF ".deps/fbvgaplanes.Tpo" -c -o fbvgaplanes.o fbvgaplanes.cpp; \
  242. then mv -f ".deps/fbvgaplanes.Tpo" ".deps/fbvgaplanes.Po"; else rm -f ".deps/fbvgaplanes.Tpo"; exit 1; fi
  243. fblinear8.cpp: In member function 'virtual void FBLinear8::RevRect(int, int, int, int)':
  244. fblinear8.cpp:66: warning: operation on 'dest32' may be undefined
  245. fblinear8.cpp:70: warning: operation on 'dest16' may be undefined
  246. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT libggi.o -MD -MP -MF ".deps/libggi.Tpo" -c -o libggi.o libggi.cpp; \
  247. then mv -f ".deps/libggi.Tpo" ".deps/libggi.Po"; else rm -f ".deps/libggi.Tpo"; exit 1; fi
  248. if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT lrmi.o -MD -MP -MF ".deps/lrmi.Tpo" -c -o lrmi.o lrmi.c; \
  249. then mv -f ".deps/lrmi.Tpo" ".deps/lrmi.Po"; else rm -f ".deps/lrmi.Tpo"; exit 1; fi
  250. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT vgadev.o -MD -MP -MF ".deps/vgadev.Tpo" -c -o vgadev.o vgadev.cpp; \
  251. then mv -f ".deps/vgadev.Tpo" ".deps/vgadev.Po"; else rm -f ".deps/vgadev.Tpo"; exit 1; fi
  252. rm -f libdisplay.a
  253. ar cru libdisplay.a fbdev.o fblinear15.o fblinear16.o fblinear24.o fblinear32.o fblinear4.o fblinear8.o fbvgaplanes.o libggi.o lrmi.o vgadev.o
  254. i686-pc-linux-gnu-ranlib libdisplay.a
  255. make[3]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src/display'
  256. make[3]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src'
  257. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-basefont.o -MD -MP -MF ".deps/zhcon-basefont.Tpo" -c -o zhcon-basefont.o `test -f 'basefont.cpp' || echo './'`basefont.cpp; \
  258. then mv -f ".deps/zhcon-basefont.Tpo" ".deps/zhcon-basefont.Po"; else rm -f ".deps/zhcon-basefont.Tpo"; exit 1; fi
  259. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-big52gbdecoder.o -MD -MP -MF ".deps/zhcon-big52gbdecoder.Tpo" -c -o zhcon-big52gbdecoder.o `test -f 'big52gbdecoder.cpp' || echo './'`big52gbdecoder.cpp; \
  260. then mv -f ".deps/zhcon-big52gbdecoder.Tpo" ".deps/zhcon-big52gbdecoder.Po"; else rm -f ".deps/zhcon-big52gbdecoder.Tpo"; exit 1; fi
  261. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-big5decoder.o -MD -MP -MF ".deps/zhcon-big5decoder.Tpo" -c -o zhcon-big5decoder.o `test -f 'big5decoder.cpp' || echo './'`big5decoder.cpp; \
  262. then mv -f ".deps/zhcon-big5decoder.Tpo" ".deps/zhcon-big5decoder.Po"; else rm -f ".deps/zhcon-big5decoder.Tpo"; exit 1; fi
  263. big5decoder.cpp: In member function 'virtual bool BIG5Decoder::IsCode2(char)':
  264. big5decoder.cpp:30: warning: comparison is always true due to limited range of data type
  265. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-configfile.o -MD -MP -MF ".deps/zhcon-configfile.Tpo" -c -o zhcon-configfile.o `test -f 'configfile.cpp' || echo './'`configfile.cpp; \
  266. then mv -f ".deps/zhcon-configfile.Tpo" ".deps/zhcon-configfile.Po"; else rm -f ".deps/zhcon-configfile.Tpo"; exit 1; fi
  267. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-console.o -MD -MP -MF ".deps/zhcon-console.Tpo" -c -o zhcon-console.o `test -f 'console.cpp' || echo './'`console.cpp; \
  268. then mv -f ".deps/zhcon-console.Tpo" ".deps/zhcon-console.Po"; else rm -f ".deps/zhcon-console.Tpo"; exit 1; fi
  269. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-gb2big5decoder.o -MD -MP -MF ".deps/zhcon-gb2big5decoder.Tpo" -c -o zhcon-gb2big5decoder.o `test -f 'gb2big5decoder.cpp' || echo './'`gb2big5decoder.cpp; \
  270. then mv -f ".deps/zhcon-gb2big5decoder.Tpo" ".deps/zhcon-gb2big5decoder.Po"; else rm -f ".deps/zhcon-gb2big5decoder.Tpo"; exit 1; fi
  271. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-gbdecoder.o -MD -MP -MF ".deps/zhcon-gbdecoder.Tpo" -c -o zhcon-gbdecoder.o `test -f 'gbdecoder.cpp' || echo './'`gbdecoder.cpp; \
  272. then mv -f ".deps/zhcon-gbdecoder.Tpo" ".deps/zhcon-gbdecoder.Po"; else rm -f ".deps/zhcon-gbdecoder.Tpo"; exit 1; fi
  273. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-gbkdecoder.o -MD -MP -MF ".deps/zhcon-gbkdecoder.Tpo" -c -o zhcon-gbkdecoder.o `test -f 'gbkdecoder.cpp' || echo './'`gbkdecoder.cpp; \
  274. then mv -f ".deps/zhcon-gbkdecoder.Tpo" ".deps/zhcon-gbkdecoder.Po"; else rm -f ".deps/zhcon-gbkdecoder.Tpo"; exit 1; fi
  275. gbkdecoder.cpp: In member function 'virtual bool GBKDecoder::IsCode2(char)':
  276. gbkdecoder.cpp:30: warning: comparison is always true due to limited range of data type
  277. gbkdecoder.cpp: In member function 'virtual unsigned int GBKDecoder::Index(char, char)':
  278. gbkdecoder.cpp:36: warning: comparison is always true due to limited range of data type
  279. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-graphdev.o -MD -MP -MF ".deps/zhcon-graphdev.Tpo" -c -o zhcon-graphdev.o `test -f 'graphdev.cpp' || echo './'`graphdev.cpp; \
  280. then mv -f ".deps/zhcon-graphdev.Tpo" ".deps/zhcon-graphdev.Po"; else rm -f ".deps/zhcon-graphdev.Tpo"; exit 1; fi
  281. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-hzdecoder.o -MD -MP -MF ".deps/zhcon-hzdecoder.Tpo" -c -o zhcon-hzdecoder.o `test -f 'hzdecoder.cpp' || echo './'`hzdecoder.cpp; \
  282. then mv -f ".deps/zhcon-hzdecoder.Tpo" ".deps/zhcon-hzdecoder.Po"; else rm -f ".deps/zhcon-hzdecoder.Tpo"; exit 1; fi
  283. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-jisdecoder.o -MD -MP -MF ".deps/zhcon-jisdecoder.Tpo" -c -o zhcon-jisdecoder.o `test -f 'jisdecoder.cpp' || echo './'`jisdecoder.cpp; \
  284. then mv -f ".deps/zhcon-jisdecoder.Tpo" ".deps/zhcon-jisdecoder.Po"; else rm -f ".deps/zhcon-jisdecoder.Tpo"; exit 1; fi
  285. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-kscdecoder.o -MD -MP -MF ".deps/zhcon-kscdecoder.Tpo" -c -o zhcon-kscdecoder.o `test -f 'kscdecoder.cpp' || echo './'`kscdecoder.cpp; \
  286. then mv -f ".deps/zhcon-kscdecoder.Tpo" ".deps/zhcon-kscdecoder.Po"; else rm -f ".deps/zhcon-kscdecoder.Tpo"; exit 1; fi
  287. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-main.o -MD -MP -MF ".deps/zhcon-main.Tpo" -c -o zhcon-main.o `test -f 'main.cpp' || echo './'`main.cpp; \
  288. then mv -f ".deps/zhcon-main.Tpo" ".deps/zhcon-main.Po"; else rm -f ".deps/zhcon-main.Tpo"; exit 1; fi
  289. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-window.o -MD -MP -MF ".deps/zhcon-window.Tpo" -c -o zhcon-window.o `test -f 'window.cpp' || echo './'`window.cpp; \
  290. then mv -f ".deps/zhcon-window.Tpo" ".deps/zhcon-window.Po"; else rm -f ".deps/zhcon-window.Tpo"; exit 1; fi
  291. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-winime.o -MD -MP -MF ".deps/zhcon-winime.Tpo" -c -o zhcon-winime.o `test -f 'winime.cpp' || echo './'`winime.cpp; \
  292. then mv -f ".deps/zhcon-winime.Tpo" ".deps/zhcon-winime.Po"; else rm -f ".deps/zhcon-winime.Tpo"; exit 1; fi
  293. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-zhcon.o -MD -MP -MF ".deps/zhcon-zhcon.Tpo" -c -o zhcon-zhcon.o `test -f 'zhcon.cpp' || echo './'`zhcon.cpp; \
  294. then mv -f ".deps/zhcon-zhcon.Tpo" ".deps/zhcon-zhcon.Po"; else rm -f ".deps/zhcon-zhcon.Tpo"; exit 1; fi
  295. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-overspotclient.o -MD -MP -MF ".deps/zhcon-overspotclient.Tpo" -c -o zhcon-overspotclient.o `test -f 'overspotclient.cpp' || echo './'`overspotclient.cpp; \
  296. then mv -f ".deps/zhcon-overspotclient.Tpo" ".deps/zhcon-overspotclient.Po"; else rm -f ".deps/zhcon-overspotclient.Tpo"; exit 1; fi
  297. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-nativeinputserver.o -MD -MP -MF ".deps/zhcon-nativeinputserver.Tpo" -c -o zhcon-nativeinputserver.o `test -f 'nativeinputserver.cpp' || echo './'`nativeinputserver.cpp; \
  298. then mv -f ".deps/zhcon-nativeinputserver.Tpo" ".deps/zhcon-nativeinputserver.Po"; else rm -f ".deps/zhcon-nativeinputserver.Tpo"; exit 1; fi
  299. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-inputclient.o -MD -MP -MF ".deps/zhcon-inputclient.Tpo" -c -o zhcon-inputclient.o `test -f 'inputclient.cpp' || echo './'`inputclient.cpp; \
  300. then mv -f ".deps/zhcon-inputclient.Tpo" ".deps/zhcon-inputclient.Po"; else rm -f ".deps/zhcon-inputclient.Tpo"; exit 1; fi
  301. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-inputmanager.o -MD -MP -MF ".deps/zhcon-inputmanager.Tpo" -c -o zhcon-inputmanager.o `test -f 'inputmanager.cpp' || echo './'`inputmanager.cpp; \
  302. then mv -f ".deps/zhcon-inputmanager.Tpo" ".deps/zhcon-inputmanager.Po"; else rm -f ".deps/zhcon-inputmanager.Tpo"; exit 1; fi
  303. if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DSYSCONF_DIR="/etc"   -O2 -march=i686 -pipe -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT zhcon-inputserver.o -MD -MP -MF ".deps/zhcon-inputserver.Tpo" -c -o zhcon-inputserver.o `test -f 'inputserver.cpp' || echo './'`inputserver.cpp; \
  304. then mv -f ".deps/zhcon-inputserver.Tpo" ".deps/zhcon-inputserver.Po"; else rm -f ".deps/zhcon-inputserver.Tpo"; exit 1; fi
  305. /usr/include/linux/wait.h: In function 'int wait_on_bit(void*, int, int (*)(void*), unsigned int)':
  306. /usr/include/linux/wait.h:376: error: invalid conversion from 'void*' to 'const volatile long unsigned int*'
  307. /usr/include/linux/wait.h:376: error:   initializing argument 2 of 'int constant_test_bit(int, const volatile long unsigned int*)'
  308. /usr/include/linux/wait.h:376: error: invalid conversion from 'void*' to 'const volatile long unsigned int*'
  309. /usr/include/linux/wait.h:376: error:   initializing argument 2 of 'int variable_test_bit(int, const volatile long unsigned int*)'
  310. /usr/include/linux/wait.h: In function 'int wait_on_bit_lock(void*, int, int (*)(void*), unsigned int)':
  311. /usr/include/linux/wait.h:400: error: invalid conversion from 'void*' to 'volatile long unsigned int*'
  312. /usr/include/linux/wait.h:400: error:   initializing argument 2 of 'int test_and_set_bit(int, volatile long unsigned int*)'
  313. make[3]: *** [zhcon-inputmanager.o] Error 1
  314. make[3]: *** Waiting for unfinished jobs....
  315. make[3]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src'
  316. make[2]: *** [all-recursive] Error 1
  317. make[2]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src'
  318. make[1]: *** [all-recursive] Error 1
  319. make[1]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5'
  320. make: *** [all] Error 2

  321. !!! ERROR: app-i18n/zhcon-0.2.6 failed.
  322. Call stack:
  323.   ebuild.sh, line 1614:   Called dyn_compile
  324.   ebuild.sh, line 971:   Called qa_call 'src_compile'
  325.   environment, line 3521:   Called src_compile
  326.   ebuild.sh, line 645:   Called die

  327. !!! emake failed
  328. !!! If you need support, post the topmost build error, and the call stack if relevant.
  329. !!! A complete build log is located at '/var/tmp/portage/app-i18n/zhcon-0.2.6/temp/build.log'.
复制代码
 楼主| 发表于 2007-4-3 01:12:50 | 显示全部楼层
看到很多人都这样修改
vi /usr/include/linux/wait.h
:%s/bit, word/bit, (volatile long unsigned int *)word/
:wq

第二行到底是什么意思啊?
回复 支持 反对

使用道具 举报

发表于 2007-4-3 01:22:35 | 显示全部楼层
Post by shitbaby
看到很多人都这样修改
vi /usr/include/linux/wait.h
:%s/bit, word/bit, (volatile long unsigned int *)word/
:wq

第二行到底是什么意思啊?

加上这一行就能编译成功?
回复 支持 反对

使用道具 举报

发表于 2007-4-3 04:48:48 | 显示全部楼层
我这里都没这个问题。奇怪。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-3 10:26:30 | 显示全部楼层
很多人说 linux 的wait.h 和 临时编译的 wait.h不一致的原因造成的
回复 支持 反对

使用道具 举报

发表于 2007-4-3 14:52:34 | 显示全部楼层
你需要升级linux-header了,难道你平时不升级系统的么?
第二个和第三个命令是要在vi里执行的
第二个命令是替换的意思
:s/A/B/g
把整个文件每一行里所有A替换成B
回复 支持 反对

使用道具 举报

发表于 2007-4-3 14:57:38 | 显示全部楼层
我刚刚emerge了一遍,没有问题
我的linux-header是2.6.20-r2
回复 支持 反对

使用道具 举报

发表于 2007-4-3 19:24:47 | 显示全部楼层
怪不得,早就升级过 header 了。。。疑惑解开了:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-4 10:26:39 | 显示全部楼层
how to update linuxheaders?
i am using vanilla-sources
回复 支持 反对

使用道具 举报

发表于 2007-4-4 12:40:20 | 显示全部楼层
emerge --sync && emerge -tavuDN world
this will update all your entire system, linux-header included.
you should do this regularly.
回复 支持 反对

使用道具 举报

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

本版积分规则

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