>> Edit article
이름
제목
패스워드
Redhat7.0에서 compile했읍니다. kernel source와 header는 모두 2.4로 업그레이드 했구요 gcc는 2.4.95로 낮췄읍니다.에러 안나게요. 커널도 잘 컴파일 되는데 이건 안되네요. 답변을 기다립니다. [root@localhost driver]# make DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules) make[1]: Entering directory `/usr/src/linux-2.4.0' make -C /usr/src/redhat/SOURCES/bttv-0.6.4hkr/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modulesmake[2]: Entering directory `/usr/src/redhat/SOURCES/bttv-0.6.4hkr/driver' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DTUNER_DEFAULT= -DCARD_DEFAULT=0 -DBTTV_MAJOR=81 -DUSE_PLL=0 -c -o bttv.o bttv.c bttv.c: In function `uvirt_to_kva': bttv.c:174: invalid operands to binary | bttv.c: In function `rvmalloc': bttv.c:231: warning: implicit declaration of function `MAP_NR' bttv.c:231: invalid type argument of `->' bttv.c: In function `rvfree': bttv.c:249: invalid type argument of `->' {standard input}: Assembler messages: {standard input}:8: Warning: Ignoring changed section attributes for .modinfo bttv.c: In function `find_bt848': bttv.c:4170: incompatible types in initialization bttv.c:4185: structure has no member named `next' bttv.c: At top level: bttv.c:116: warning: `remap' defined but not used make[2]: *** [bttv.o] Error 1 make[2]: Leaving directory `/usr/src/redhat/SOURCES/bttv-0.6.4hkr/driver' make[1]: *** [_mod_/usr/src/redhat/SOURCES/bttv-0.6.4hkr/driver] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.0' make: *** [here] Error 2 [root@localhost driver]#
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved