|
make -C /usr/src/linux-2.4.20 SUBDIRS=/usr/src/new/v4l2 modules
make[1]: Entering directory `/usr/src/linux-2.4.20'
make -C /usr/src/new/v4l2 CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.20/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/new/v4l2'
make[2]: *** No rule to make target
`/usr/src/linux-2.4.20/include/linux/modversions.h', needed by
`v4l2-common.o'. Stop.
make[2]: Leaving directory `/usr/src/new/v4l2'
make[1]: *** [_mod_/usr/src/new/v4l2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20'
make: *** [default] Error 2
make -C /usr/src/linux-2.4.20 SUBDIRS=/usr/src/new/v4l2 modules
make[1]: Entering directory `/usr/src/linux-2.4.20'
make -C /usr/src/new/v4l2 CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.20/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/new/v4l2'
make[2]: *** No rule to make target
`/usr/src/linux-2.4.20/include/linux/modversions.h', needed by
`v4l2-common.o'. Stop.
make[2]: Leaving directory `/usr/src/new/v4l2'
make[1]: *** [_mod_/usr/src/new/v4l2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20'
make: *** [default] Error 2
在redhat带的内核源码下编译出错,试过标准2.4.20的内核源码,编译成功过自己编译了2.4.20新内核 ,重新来过就出错了,看提示好像是说modversions.h的问题
不过这个目录并没有这个文件,查找到另外一个地方的也是空文件,拷贝过来后,编译能通过,不过安装的模块就是提示
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: unresolved symbol schedule
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: unresolved symbol kmalloc
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: unresolved symbol kfree
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: unresolved symbol poll_freewait
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: unresolved symbol printk
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: insmod
/lib/modules/2.4.20fly/v4l2/v4
/lib/modules/2.4.20fly/v4l2/v4l1-compat.o: insmod saa7134 failed
对了,内核的补丁我也已经打过了,在2.4.20上编译顺利
谁能帮我看看,谢了 |
|