compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dear all:
	When I do make in bttv-0.7.107. Error information were given below. How can I resolve this problem. thanks in advance!

********************************************************************************************************************
make[3]: Entering directory `/home/yl/bttv-0.7.107/driver'
gcc -I. -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes                               -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe                               -mpreferred-stack-boundary=2 -march=i686 -DMODULE  -nostdinc -iwithprefix includ                              e -DKBUILD_BASENAME=bttv_driver  -c -o bttv-driver.o bttv-driver.c
bttv-driver.c: In function `do_bttv_mmap':
bttv-driver.c:2201: warning: passing arg 1 of `remap_page_range' makes pointer f                              rom integer without a cast
bttv-driver.c:2201: incompatible type for argument 4 of `remap_page_range'
bttv-driver.c:2201: too few arguments to function `remap_page_range'
bttv-driver.c: At top level:
bttv-driver.c:2233: warning: initialization from incompatible pointer type
make[3]: *** [bttv-driver.o] Error 1
make[3]: Leaving directory `/home/yl/bttv-0.7.107/driver'
make[2]: *** [_mod_/home/yl/bttv-0.7.107/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/yl/bttv-0.7.107/driver'
make: *** [default] Error 2
********************************************************************************************************************

Best Regards, 
Fang Li
fang.li@xxxxxxxxxxxx 
Inventec (Shanghai) Corp. 




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux