LinuxSir.cn,穿越时空的Linuxsir!

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

2.6.33编译LinuxPkg_5.14rc6.tar.bz2的问题

[复制链接]
发表于 2010-4-20 12:53:03 | 显示全部楼层 |阅读模式
cd   realtek-linux-audiopack-5.14/alsa-driver-1.0.22

./configure 出现下面的中断提示:
The file /lib/modules/2.6.33/source/include/linux/autoconf.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.33/source).
说autoconf.h文件不存在....查找2.6.33的include/linux/里面却没有autoconf.h放在include/generated/autoconf.h
才知道33有个 generated 文件夹。连接后。。再
./configure 又说没有ksyms.c 在kernel下。。
只能又ln  -s ../arch/um/kernel/ksyms.c ./
再./configure 通过

make

make[1]: Entering directory `/usr/src/src/realtek-linux-audiopack-5.14/alsa-driver-1.0.22/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/src/realtek-linux-audiopack-5.14/alsa-driver-1.0.22/include'
make[1]: Entering directory `/usr/src/src/realtek-linux-audiopack-5.14/alsa-driver-1.0.22/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/src/realtek-linux-audiopack-5.14/alsa-driver-1.0.22/include  -I/lib/modules/2.6.33.2/build/include -I/lib/modules/2.6.33.2/source/include -I/lib/modules/2.6.33.2/source/arch/x86/include -O2 -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -Wdeclaration-after-statement -Wno-pointer-sign -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include   -DEXPORT_SYMTAB -c hwdep.c
In file included from /usr/src/src/realtek-linux-audiopack-5.14/alsa-driver-1.0.22/include/adriver.h:1110,
                 from hwdep.c:1:
/lib/modules/2.6.33.2/build/include/linux/gameport.h: 在函数‘gameport_register_driver’中:
/lib/modules/2.6.33.2/build/include/linux/gameport.h:154: 错误:‘KBUILD_MODNAME’未声明(在此函数内第一次使用)
/lib/modules/2.6.33.2/build/include/linux/gameport.h:154: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/lib/modules/2.6.33.2/build/include/linux/gameport.h:154: 错误:所在的函数内也只报告一次。)
make[1]: *** [hwdep.o] 错误 1
make[1]: Leaving directory `/usr/src/src/realtek-linux-audiopack-5.14/alsa-driver-1.0.22/acore'
make: *** [compile] 错误 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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