[Mplayer-users] Compile mga_vid.o fails

Dirk Vornheder DVornheder at t-online.de
Tue Mar 6 00:09:19 CET 2001


Hi !

Compiling mga_vid.o after download latest version from cvs fails:

root at PCNEU /privat/tv/main/drivers > make
gcc -g -O2  -Wall -D__KERNEL__  -DMODULE         -include 
/usr/src/linux/include/linux/modversions.h -I/usr/src/linux/include -c 
mga_vid.c
In file included from /usr/include/inttypes.h:28,
                 from mga_vid.h:18,
                 from mga_vid.c:37:
/usr/include/stdint.h:39: warning: redefinition of `int8_t'
/usr/src/linux/include/linux/types.h:98: warning: `int8_t' previously 
declared here
/usr/include/stdint.h:40: warning: redefinition of `int16_t'
/usr/src/linux/include/linux/types.h:100: warning: `int16_t' previously 
declared here
/usr/include/stdint.h:41: warning: redefinition of `int32_t'
/usr/src/linux/include/linux/types.h:102: warning: `int32_t' previously 
declared here
/usr/include/stdint.h:46: warning: redefinition of `int64_t'
/usr/src/linux/include/linux/types.h:113: warning: `int64_t' previously 
declared here
/usr/include/stdint.h:51: warning: redefinition of `uint8_t'
/usr/src/linux/include/linux/types.h:106: warning: `uint8_t' previously 
declared here
/usr/include/stdint.h:52: warning: redefinition of `uint16_t'
/usr/src/linux/include/linux/types.h:107: warning: `uint16_t' previously 
declared here
/usr/include/stdint.h:54: warning: redefinition of `uint32_t'
/usr/src/linux/include/linux/types.h:108: warning: `uint32_t' previously 
declared here
/usr/include/stdint.h:61: warning: redefinition of `uint64_t'
/usr/src/linux/include/linux/types.h:111: warning: `uint64_t' previously 
declared here
mga_vid.c: In function `mga_vid_ioctl':
mga_vid.c:452: warning: long unsigned int format, unsigned int arg (arg 2)
mga_vid.c: In function `mga_vid_find_card':
mga_vid.c:549: warning: long unsigned int format, unsigned int arg (arg 2)
mga_vid.c: At top level:
mga_vid.c:806: warning: initialization from incompatible pointer type
mga_vid.c:807: warning: missing braces around initializer
mga_vid.c:807: warning: (near initialization for `mga_v4l_dev.name')
mga_vid.c:809: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:809: initializer element is not computable at load time
mga_vid.c:809: (near initialization for `mga_v4l_dev.name[2]')
mga_vid.c:810: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:810: initializer element is not computable at load time
mga_vid.c:810: (near initialization for `mga_v4l_dev.name[3]')
mga_vid.c:811: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:811: initializer element is not computable at load time
mga_vid.c:811: (near initialization for `mga_v4l_dev.name[4]')
mga_vid.c:812: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:812: initializer element is not computable at load time
mga_vid.c:812: (near initialization for `mga_v4l_dev.name[5]')
mga_vid.c:813: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:814: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:814: initializer element is not computable at load time
mga_vid.c:814: (near initialization for `mga_v4l_dev.name[7]')
mga_vid.c:815: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:816: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:816: initializer element is not computable at load time
mga_vid.c:816: (near initialization for `mga_v4l_dev.name[9]')
mga_vid.c:817: warning: initialization makes integer from pointer without a 
cast
mga_vid.c:804: warning: `mga_v4l_dev' defined but not used
make: *** [mga_vid.o] Error 1

Any ideas ?

Dirk

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list