[MPlayer-cygwin] Error compiling latest Mplayer SVN (in cyberblade_vid.c)

Eugene Kovgar ken20001 at ukr.net
Tue Jun 9 22:07:27 CEST 2009


gcc -Wundef -Wdisabled-optimization -Wdeclaration-after-statement  
-std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4  
-march=i486 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer  
-DPTW32_STATIC_LIB -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-common   
-I/home/Eugene/include  -I/home/Eugene/include/ -I/home/Eugene/include/SDL  
-D_GNU_SOURCE=1  -I/home/Eugene/include/freetype2 -I/home/Eugene/include  
-I/home/Eugene/include/fribidi -I/home/Eugene/include   
-I/home/Eugene/include/dirac   -I/home/Eugene/include/schroedinger-1.0  
-I/home/Eugene/include/liboil-0.3 -I/home/Eugene/include -c -o  
vidix/cyberblade_vid.o vidix/cyberblade_vid.c
vidix/cyberblade_vid.c:88: error: `VENDOR_TRIDENT' undeclared here (not in  
a function)
vidix/cyberblade_vid.c:88: error: initializer element is not constant
vidix/cyberblade_vid.c:88: error: (near initialization for  
`cyberblade_cap.vendor_id')
vidix/cyberblade_vid.c:90: error: initializer element is not constant
vidix/cyberblade_vid.c:90: error: (near initialization for  
`cyberblade_cap.reserved1')
vidix/cyberblade_vid.c:95: error: `DEVICE_TRIDENT_CYBERBLADE_I7'  
undeclared here (not in a function)
vidix/cyberblade_vid.c:95: error: initializer element is not constant
vidix/cyberblade_vid.c:95: error: (near initialization for  
`cyberblade_card_ids[0]')
vidix/cyberblade_vid.c:96: error: `DEVICE_TRIDENT_CYBERBLADE_I7D'  
undeclared here (not in a function)
vidix/cyberblade_vid.c:96: error: initializer element is not constant
vidix/cyberblade_vid.c:96: error: (near initialization for  
`cyberblade_card_ids[1]')
vidix/cyberblade_vid.c:97: error: `DEVICE_TRIDENT_CYBERBLADE_I1'  
undeclared here (not in a function)
vidix/cyberblade_vid.c:97: error: initializer element is not constant
vidix/cyberblade_vid.c:97: error: (near initialization for  
`cyberblade_card_ids[2]')
vidix/cyberblade_vid.c:98: error: `DEVICE_TRIDENT_CYBERBLADE_I12'  
undeclared here (not in a function)
vidix/cyberblade_vid.c:98: error: initializer element is not constant
vidix/cyberblade_vid.c:98: error: (near initialization for  
`cyberblade_card_ids[3]')
vidix/cyberblade_vid.c:99: error: `DEVICE_TRIDENT_CYBERBLADE_I13'  
undeclared here (not in a function)
vidix/cyberblade_vid.c:99: error: initializer element is not constant
vidix/cyberblade_vid.c:99: error: (near initialization for  
`cyberblade_card_ids[4]')
vidix/cyberblade_vid.c:101: error: `DEVICE_TRIDENT_CYBERBLADE_XPAI1'  
undeclared here (not in a function)
vidix/cyberblade_vid.c:101: error: initializer element is not constant
vidix/cyberblade_vid.c:101: error: (near initialization for  
`cyberblade_card_ids[5]')
make: *** [vidix/cyberblade_vid.o] Error 1



--



More information about the MPlayer-cygwin mailing list