[linux-dvb] 64-bit warnings when compiling v4l-dvb

Johannes Stezenbach js at linuxtv.org
Wed Dec 7 15:57:57 CET 2005


On Mon, Dec 05, 2005 at 09:03:29PM +0100, Hans Verkuil wrote:
> gcc-3.4.4, 2.6.13 kernel, CVS tree freshly updated (5 minutes ago).

Thanks for the report. See also:
http://linuxtv.org/pipermail/linux-dvb/2005-October/005630.html

I haven't had time to look into it, and still would welcome
patches from others to fix these issues.

Thanks,
Johannes


> make -C /home/hans/work/src/v4l/v4l-dvb/v4l 
> make[1]: Entering directory `/home/hans/work/src/v4l/v4l-dvb/v4l'
> echo "No version yet."
> No version yet.
> uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$/) { printf 
> ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.
> %s%s\n",$1,$2,$3,$1,$2,$3,$4); };' > ./.version
> make[1]: Leaving directory `/home/hans/work/src/v4l/v4l-dvb/v4l'
> make[1]: Entering directory `/home/hans/work/src/v4l/v4l-dvb/v4l'
> creating symbolic links...
> make -C /lib/modules/2.6.13-marune/build 
> SUBDIRS=/home/hans/work/src/v4l/v4l-dvb/v4l  modules
> make[2]: Entering directory `/usr/src/linux-2.6.13'
> 
> ...
> 
>   CC [M]  /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_frontend.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_frontend.c: In function 
> `dvb_frontend_ioctl':
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_frontend.c:797: warning: cast 
> from pointer to integer of different size
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_frontend.c:817: warning: cast 
> from pointer to integer of different size
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_frontend.c:864: warning: cast 
> from pointer to integer of different size
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_frontend.c:943: warning: cast 
> from pointer to integer of different size
>   CC [M]  /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_net.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_net.c: In function 
> `dvb_net_do_ioctl':
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_net.c:1299: warning: cast from 
> pointer to integer of different size
> /home/hans/work/src/v4l/v4l-dvb/v4l/dvb_net.c:1301: warning: cast from 
> pointer to integer of different size
> 
> ...
> 
>   CC [M]  /home/hans/work/src/v4l/v4l-dvb/v4l/saa7146_hlp.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/saa7146_hlp.c: In function 
> `saa7146_set_position':
> /home/hans/work/src/v4l/v4l-dvb/v4l/saa7146_hlp.c:566: warning: cast 
> from pointer to integer of different size
> 
> ...
> 
>   CC [M]  /home/hans/work/src/v4l/v4l-dvb/v4l/dst_ca.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/dst_ca.c:604: warning: 
> initialization from incompatible pointer type
> /home/hans/work/src/v4l/v4l-dvb/v4l/dst_ca.c:606: warning: 
> initialization from incompatible pointer type
> 
> ...
> 
>   CC [M]  /home/hans/work/src/v4l/v4l-dvb/v4l/or51211.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/or51211.c: In function 
> `or51211_load_firmware':
> /home/hans/work/src/v4l/v4l-dvb/v4l/or51211.c:115: warning: int format, 
> different type arg (arg 2)
> 
> ...
> 
>   CC [M]  /home/hans/work/src/v4l/v4l-dvb/v4l/bcm3510.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/bcm3510.c: In function 
> `bcm3510_download_firmware':
> /home/hans/work/src/v4l/v4l-dvb/v4l/bcm3510.c:626: warning: int format, 
> different type arg (arg 2)
> /home/hans/work/src/v4l/v4l-dvb/v4l/bcm3510.c:632: warning: unsigned int 
> format, different type arg (arg 4)
> 
> ...
> 
> make[2]: Leaving directory `/usr/src/linux-2.6.13'
> make[1]: Leaving directory `/home/hans/work/src/v4l/v4l-dvb/v4l'



More information about the linux-dvb mailing list