LinuxSir.cn,穿越时空的Linuxsir!

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

请教个中文内核补丁的问题。

[复制链接]
发表于 2009-1-1 14:27:48 | 显示全部楼层 |阅读模式
http://blog.chinaunix.net/u/13265/showart.php?id=1008020

偶按这里,加了中文补丁编译了6.27的内核,效果不错!

不过,有个小问题,就是终端下用鼠标点过来的话,中文就全是四方块了(而且系统也不认)

请问:这是补丁本身设计上的问题? 还是只发生在偶身上的个例呢?


谢谢。
发表于 2009-1-1 14:51:19 | 显示全部楼层
补丁问题,请下载最新的2.6.28补丁可解决该问题。
http://blog.chinaunix.net/u/13265/showart.php?id=1008020
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-2 00:20:11 | 显示全部楼层
Post by youbest;1932608
补丁问题,请下载最新的2.6.28补丁可解决该问题。
http://blog.chinaunix.net/u/13265/showart.php?id=1008020


谢谢   !
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-2 08:15:33 | 显示全部楼层
编译出现错误了,能帮忙看一下吗?
drivers/video/console/bitblit.c:14:24: error: fonts_utf8.h: No such file or directory
drivers/video/console/bitblit.c: In function ‘bit_putcs’:
drivers/video/console/bitblit.c:352: error: ‘font_utf8’ undeclared (first use in this function)
drivers/video/console/bitblit.c:352: error: (Each undeclared identifier is reported only once
drivers/video/console/bitblit.c:352: error: for each function it appears in.)
drivers/video/console/bitblit.c: In function ‘bit_cursor’:
drivers/video/console/bitblit.c:453: error: ‘font_utf8’ undeclared (first use in this function)
make[4]: *** [drivers/video/console/bitblit.o] Error 1
make[3]: *** [drivers/video/console] Error 2
make[2]: *** [drivers/video] Error 2
make[1]: *** [drivers] Error 2
make: *** [debian/stamp/build/kernel] Error 2
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-2 13:30:25 | 显示全部楼层
不好意思。。
又搞定了。。
cd  linux-2.6.28
patch -p0 < ../utf8-kernel-2.6.28-core-2.patch
之后手动file上就好了。。(自动的路径patch -p0 < ./utf8-kernel-2.6.28-core-2.patch会出错)

终于完美了!!!
回复 支持 反对

使用道具 举报

发表于 2009-1-4 19:44:34 | 显示全部楼层
这个补丁适用度如何?比如,2.6.27-r1和2.6.27-r7是不是能用同样的补丁?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-8 11:47:02 | 显示全部楼层
Post by o_xyz;1933991
这个补丁适用度如何?比如,2.6.27-r1和2.6.27-r7是不是能用同样的补丁?


适用度还好。。 2.6.27-r1  2.6.27-r7 用一样的就可以

编过2.6.27-10,没有问题。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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