/* Make sure the <linux/types.h> header is not loaded. */
#ifndef _LINUX_TYPES_H
# define _LINUX_TYPES_H 1
# define __undef_LINUX_TYPES_H 1
#endif
#include <linux/kd.h>
#ifdef __undef_LINUX_TYPES_H
# undef _LINUX_TYPES_H
# undef __undef_LINUX_TYPES_H
#endif
#endif /* sys/kd.h */
复制代码
4. 其他调整。
sed -i '/^SUBDIRS =/s/ etc$//' programs/Xserver/Xprint/Imakefile
5. 编译以及安装。
make -j3 World &> world.log
make install &> inst.log
make install.man &> inst_man.log
剩下的,就是xorg.conf的配置。如果没问题,原来的应该可以继续用。:)。
(测试中,随时更新)
-------------------------------------
问题:
1。 启动的时候,出现以下问题:
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
因为是第一次编译,我就是一个包一个包解压缩然后./configure --prefix=/usr/X11R6 && make && make install 的方式安装的,提示缺什么就装什么,反正最后就运行起来了。不过我是用GCC4.0.2编译的,不知道终极幻想是用哪个版本的GCC编译的。
我也有无法用Ctrl+Alt+F1切换到控制台的问题,还不知道原因在哪里。