LinuxSir.cn,穿越时空的Linuxsir!

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

unicon emerge时出错:(

[复制链接]
发表于 2005-8-16 19:22:48 | 显示全部楼层 |阅读模式
各位,你们都是怎么装上的阿,打什么补丁?cce我也出错,晕。
  1. unicon-3.0.4 # make
  2. cd unikey; make
  3. make[1]: Entering directory `/home/wbb/unicon-3.0.4/unikey'
  4. gcc -g -O2 -I. -I./include -I../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -Wall -O2 -DMODULE -D__KERNEL__ -DLINUX -c xl_keyhooks.c -o xl_keyhooks.o
  5. cc1: /usr/src/linux/include/linux/modversions.h: 没有那个文件或目录
  6. In file included from /usr/src/linux/include/asm/processor.h:18,
  7.                  from /usr/src/linux/include/linux/prefetch.h:14,
  8.                  from /usr/src/linux/include/linux/list.h:7,
  9.                  from /usr/src/linux/include/linux/wait.h:23,
  10.                  from /usr/src/linux/include/linux/fs.h:205,
  11.                  from /usr/src/linux/include/linux/tty.h:20,
  12.                  from xl_keyhooks.c:27:
  13. /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
  14. /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
  15. /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
  16. xl_keyhooks.c:30:26: linux/malloc.h: 没有那个文件或目录
  17. make[1]: *** [xl_keyhooks.o] 错误 1
  18. make[1]: Leaving directory `/home/wbb/unicon-3.0.4/unikey'
  19. make: *** [all] 错误 2
复制代码


打了两个补丁unicon-3.0.4-gcc34.patch和vd_unicon-userland-20031122vd.patch后依然不行。
  1. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In cons
  2. tructor `std::reverse_iterator<_Iterator>::reverse_iterator()':
  3. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:114: err
  4. or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_
  5. current'
  6. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:114: err
  7. or: expected `{' before '(' token
  8. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In cons
  9. tructor `std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)':
  10. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:120: err
  11. or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_
  12. current'
  13. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:120: err                                                            or: expected `{' before '(' token
  14. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In copy                                                             constructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reve                                                            rse_iterator<_Iterator>&)':
  15. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:126: err                                                            or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_                                                            current'
  16. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:126: err                                                            or: expected `{' before '(' token
  17. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In cons                                                            tructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reverse_i                                                            terator<_Iter>&)':
  18. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:134: err                                                            or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_                                                            current'
  19. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:134: err                                                            or: expected `{' before '(' token
  20. make[2]: *** [Main.o] 错误 1
  21. make[2]: Leaving directory `/home/wbb/unicon-3.0.4/unicon/unicon'
  22. make[1]: *** [all] 错误 2
  23. make[1]: Leaving directory `/home/wbb/unicon-3.0.4/unicon'
  24. make: *** [all] 错误 2
复制代码


emerge unicon 也不行:
  1. ./txt2tab sysphrase.txt sysphrase.tab
  2. FileSize=397322 TotalItem=36745

  3. Length=2        Count=21289
  4. Length=3        Count=4265
  5. Length=4        Count=3835
  6. Length=5        Count=321
  7. Length=6        Count=144
  8. Length=7        Count=0
  9. Length=8        Count=0
  10. Length=9        Count=0

  11. TotalPhrases = 29854, MaxPhrasePerPinyin=21

  12. ./txt2tab1 usrphrase.txt usrphrase.tab
  13. FileSize=13495  TotalItem=1017

  14. make[2]: Leaving directory `/var/tmp/portage/unicon-3.0.4/work/unicon-3.0.4/unicon/ImmModules/cce/inputs'
  15. make[1]: Leaving directory `/var/tmp/portage/unicon-3.0.4/work/unicon-3.0.4/unicon'
  16. gcc -O2 -march=athlon-xp -fomit-frame-pointer -I. -I../include -lnewt uniconcfg.c -o uniconcfg
  17. uniconcfg.c: In function `TestFontExist':
  18. uniconcfg.c:205: error: label at end of compound statement
  19. make: *** [uniconcfg] Error 1

  20. !!! ERROR: app-i18n/unicon-3.0.4 failed.
  21. !!! Function src_compile, Line 40, Exitcode 2
  22. !!! make tools failed
  23. !!! If you need support, post the topmost build error, NOT this status message.
复制代码
发表于 2005-8-16 19:26:32 | 显示全部楼层
如果你的内核没有打unicon的patch的话,unicon即使编译好了也无效。
你的内核有打补丁么?
回复 支持 反对

使用道具 举报

发表于 2005-8-16 20:19:04 | 显示全部楼层
内核要打补丁,好像有几个补丁的。
以前下载回来,不过因为原来的内核就打过补丁了,所以打的不完全正确,后来手动的换那几行代码,还是用不了。
网上在文章很详细的说
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-16 22:30:12 | 显示全部楼层
Post by orphen
如果你的内核没有打unicon的patch的话,unicon即使编译好了也无效。
你的内核有打补丁么?

我用的2.6.12-rc1-love1内核,已经打好unicode补丁编译完成,就差unicon了,可惜却卡住了。
回复 支持 反对

使用道具 举报

发表于 2005-8-17 04:21:36 | 显示全部楼层
你确认内核的补丁正确安装了?
哪里搞得2.6.12的patch的?
回复 支持 反对

使用道具 举报

发表于 2005-8-17 05:15:12 | 显示全部楼层
内核没有打patch,装了也有用,发现ls时原来乱码的中文文件名现在都消失了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-17 13:01:52 | 显示全部楼层
Post by orphen
你确认内核的补丁正确安装了?
哪里搞得2.6.12的patch的?

确认打了补丁, sunmoon1997大侠提供的地址里有
http://www.magiclinux.org/people ... ches/kernel/unicon/
你也试试
回复 支持 反对

使用道具 举报

发表于 2005-8-17 13:27:07 | 显示全部楼层
那我建议你咨询一下“日月”。
不知道原来的无法输入中文的问题解决了没有?
如果还是只能显示,不能输入中文的话,意义不大~
因为这个patch跟不上kernel的更新速度,我好久没用了
回复 支持 反对

使用道具 举报

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

本版积分规则

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