LinuxSir.cn,穿越时空的Linuxsir!

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

编译内核出问题请教!

[复制链接]
发表于 2006-7-5 14:28:09 | 显示全部楼层 |阅读模式
我在安装视频采集卡的驱动的时候首先要编译内核但是编译的时候出现下面的问题
[root@localhost 2.6.11-1.1369_FC4-smp-i686]# make
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-i386/asm_offsets.h
make[1]: *** 没有规则可以创建“init/built-in.o”需要的目标“init/main.o”。 停止。
make: *** [init] 错误 2
请教这是怎么回事
请各位指教
发表于 2006-7-6 11:29:05 | 显示全部楼层
没有看清楚说了什么 ,最好发原文。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-6 15:27:42 | 显示全部楼层
好的
大概就是这样的我在安装PCI卡的驱动的时候,按照卡的readme 首先要先编译内核我按照说明编译
Automatic loading of modules is system specific and is beyond the scope of this document.

This document describes installation in default Fedora Core 3 with kernel sources installed.

1. In the source directory for the desired kernel
(/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9) execute <make menuconfig>

2. Select <Device Drivers>

3. Select <Multimedia Devices> (note to user these are not in alphabetic sequence).

4. Select <Video for Linux>

5. Using the arrow keys, select Exit twice to return to the <Device Drivers> page.

6. Select <Sound>

7. Verify Module option [<M> Sound card support] is selected.

8. Select <Open Sound System>

9. Select exit 4 times then select <Yes> to save the new kernel configuration.

10. Still in the source directory execute <make> to compile the new kernel. This will take some time.

11. Reboot into the newly compiled kernel.

*****Follow instructions in your BUILD.TXT file.

12. Change directories to the bttv driver, make and install it:

  cd to the bttv-0.9.15-osprey-rc1
  make
  make install

13. Change directories to the btaudio driver, make and install it:

   cd to the btaudio-0.9.15-osprey-rc1
   make
   make install

14. Remove all currently loaded modules, that may have been loaded by hotplug, that are attached to the capture board.

   lsmod | grep bt
   rmmod bt878
   rmmod bttv
这个问题就是出在了第10步,我不知道是什么原因所以请教大家
回复 支持 反对

使用道具 举报

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

本版积分规则

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