[MPlayer-users] DivX 5.0.5 20030428 and compilation problem
DRAKe
mandrake_penguin at interia.pl
Wed Jul 9 23:47:19 CEST 2003
Hello!
I have MPlayer 0.90 and latest DivX for Linux from www.divx.com, when I
want to compile it. I get this error message:
(sorry for long output...)
[cut, cut, cut]
b/include -I/usr/X11R6/include -D_GNU_SOURCE -o ve_divx4.o ve_divx4.c
ve_divx4.c:58: parse error before "divx4_param"
ve_divx4.c:58: warning: data definition has no type or storage class
ve_divx4.c:69: request for member `bitrate' in something not a structure
or union
ve_divx4.c:69: initializer element is not constant
ve_divx4.c:69: (near initialization for `divx4opts_conf[1].p')
ve_divx4.c:69: initializer element is not constant
ve_divx4.c:69: (near initialization for `divx4opts_conf[1]')
ve_divx4.c:70: request for member `rc_period' in something not a
structure or union
ve_divx4.c:70: initializer element is not constant
ve_divx4.c:70: (near initialization for `divx4opts_conf[2].p')
ve_divx4.c:70: initializer element is not constant
ve_divx4.c:70: (near initialization for `divx4opts_conf[2]')
ve_divx4.c:71: request for member `rc_reaction_period' in something not
a structure or union
ve_divx4.c:71: initializer element is not constant
ve_divx4.c:71: (near initialization for `divx4opts_conf[3].p')
ve_divx4.c:71: initializer element is not constant
ve_divx4.c:71: (near initialization for `divx4opts_conf[3]')
ve_divx4.c:72: request for member `rc_reaction_ratio' in something not a
structure or union
ve_divx4.c:72: initializer element is not constant
ve_divx4.c:72: (near initialization for `divx4opts_conf[4].p')
ve_divx4.c:72: initializer element is not constant
ve_divx4.c:72: (near initialization for `divx4opts_conf[4]')
ve_divx4.c:73: request for member `min_quantizer' in something not a
structure or union
ve_divx4.c:73: initializer element is not constant
ve_divx4.c:73: (near initialization for `divx4opts_conf[5].p')
ve_divx4.c:73: initializer element is not constant
ve_divx4.c:73: (near initialization for `divx4opts_conf[5]')
ve_divx4.c:74: request for member `max_quantizer' in something not a
structure or union
ve_divx4.c:74: initializer element is not constant
ve_divx4.c:74: (near initialization for `divx4opts_conf[6].p')
ve_divx4.c:74: initializer element is not constant
ve_divx4.c:74: (near initialization for `divx4opts_conf[6]')
ve_divx4.c:75: request for member `max_key_interval' in something not a
structure or union
ve_divx4.c:75: initializer element is not constant
ve_divx4.c:75: (near initialization for `divx4opts_conf[7].p')
ve_divx4.c:75: initializer element is not constant
ve_divx4.c:75: (near initialization for `divx4opts_conf[7]')
ve_divx4.c:76: request for member `deinterlace' in something not a
structure or union
ve_divx4.c:76: initializer element is not constant
ve_divx4.c:76: (near initialization for `divx4opts_conf[8].p')
ve_divx4.c:76: initializer element is not constant
ve_divx4.c:76: (near initialization for `divx4opts_conf[8]')
ve_divx4.c:77: request for member `quality' in something not a structure
or union
ve_divx4.c:77: initializer element is not constant
ve_divx4.c:77: (near initialization for `divx4opts_conf[9].p')
ve_divx4.c:77: initializer element is not constant
ve_divx4.c:77: (near initialization for `divx4opts_conf[9]')
ve_divx4.c:78: initializer element is not constant
ve_divx4.c:78: (near initialization for `divx4opts_conf[10]')
ve_divx4.c:80: request for member `extensions' in something not a
structure or union
ve_divx4.c:80: initializer element is not constant
ve_divx4.c:80: (near initialization for `divx4opts_conf[11].p')
ve_divx4.c:80: initializer element is not constant
ve_divx4.c:80: (near initialization for `divx4opts_conf[11]')
ve_divx4.c:81: request for member `extensions' in something not a
structure or union
ve_divx4.c:81: initializer element is not constant
ve_divx4.c:81: (near initialization for `divx4opts_conf[12].p')
ve_divx4.c:81: initializer element is not constant
ve_divx4.c:81: (near initialization for `divx4opts_conf[12]')
ve_divx4.c:82: request for member `extensions' in something not a
structure or union
ve_divx4.c:82: initializer element is not constant
ve_divx4.c:82: (near initialization for `divx4opts_conf[13].p')
ve_divx4.c:82: initializer element is not constant
ve_divx4.c:82: (near initialization for `divx4opts_conf[13]')
ve_divx4.c:83: request for member `extensions' in something not a
structure or union
ve_divx4.c:83: initializer element is not constant
ve_divx4.c:83: (near initialization for `divx4opts_conf[14].p')
ve_divx4.c:83: initializer element is not constant
ve_divx4.c:83: (near initialization for `divx4opts_conf[14]')
ve_divx4.c:84: request for member `extensions' in something not a
structure or union
ve_divx4.c:84: initializer element is not constant
ve_divx4.c:84: (near initialization for `divx4opts_conf[15].p')
ve_divx4.c:84: initializer element is not constant
ve_divx4.c:84: (near initialization for `divx4opts_conf[15]')
ve_divx4.c:85: request for member `extensions' in something not a
structure or union
ve_divx4.c:85: initializer element is not constant
ve_divx4.c:85: (near initialization for `divx4opts_conf[16].p')
ve_divx4.c:85: initializer element is not constant
ve_divx4.c:85: (near initialization for `divx4opts_conf[16]')
ve_divx4.c:86: request for member `extensions' in something not a
structure or union
ve_divx4.c:86: initializer element is not constant
ve_divx4.c:86: (near initialization for `divx4opts_conf[17].p')
ve_divx4.c:86: initializer element is not constant
ve_divx4.c:86: (near initialization for `divx4opts_conf[17]')
ve_divx4.c:87: request for member `extensions' in something not a
structure or union
ve_divx4.c:87: initializer element is not constant
ve_divx4.c:87: (near initialization for `divx4opts_conf[18].p')
ve_divx4.c:87: initializer element is not constant
ve_divx4.c:87: (near initialization for `divx4opts_conf[18]')
ve_divx4.c:88: request for member `extensions' in something not a
structure or union
ve_divx4.c:88: initializer element is not constant
ve_divx4.c:88: (near initialization for `divx4opts_conf[19].p')
ve_divx4.c:88: initializer element is not constant
ve_divx4.c:88: (near initialization for `divx4opts_conf[19]')
ve_divx4.c:89: request for member `extensions' in something not a
structure or union
ve_divx4.c:89: initializer element is not constant
ve_divx4.c:89: (near initialization for `divx4opts_conf[20].p')
ve_divx4.c:89: initializer element is not constant
ve_divx4.c:89: (near initialization for `divx4opts_conf[20]')
ve_divx4.c:90: request for member `extensions' in something not a
structure or union
ve_divx4.c:90: initializer element is not constant
ve_divx4.c:90: (near initialization for `divx4opts_conf[21].p')
ve_divx4.c:90: initializer element is not constant
ve_divx4.c:90: (near initialization for `divx4opts_conf[21]')
ve_divx4.c:91: request for member `extensions' in something not a
structure or union
ve_divx4.c:91: initializer element is not constant
ve_divx4.c:91: (near initialization for `divx4opts_conf[22].p')
ve_divx4.c:91: initializer element is not constant
ve_divx4.c:91: (near initialization for `divx4opts_conf[22]')
ve_divx4.c:94: initializer element is not constant
ve_divx4.c:94: (near initialization for `divx4opts_conf[23]')
ve_divx4.c:95: initializer element is not constant
ve_divx4.c:95: (near initialization for `divx4opts_conf[24]')
ve_divx4.c:97: initializer element is not constant
ve_divx4.c:97: (near initialization for `divx4opts_conf[25]')
ve_divx4.c:98: initializer element is not constant
ve_divx4.c:98: (near initialization for `divx4opts_conf[26]')
ve_divx4.c: In function `config':
ve_divx4.c:120: request for member `x_dim' in something not a structure
or union
ve_divx4.c:121: request for member `y_dim' in something not a structure
or union
ve_divx4.c:122: request for member `framerate' in something not a
structure or union
ve_divx4.c:125: request for member `bitrate' in something not a
structure or union
ve_divx4.c:125: request for member `bitrate' in something not a
structure or union
ve_divx4.c:126: request for member `bitrate' in something not a
structure or union
ve_divx4.c:126: request for member `bitrate' in something not a
structure or union
ve_divx4.c:127: request for member `quality' in something not a
structure or union
ve_divx4.c:127: request for member `quality' in something not a
structure or union
ve_divx4.c:130: request for member `min_quantizer' in something not a
structure or union
ve_divx4.c:130: request for member `min_quantizer' in something not a
structure or union
ve_divx4.c:131: request for member `max_quantizer' in something not a
structure or union
ve_divx4.c:131: request for member `max_quantizer' in something not a
structure or union
ve_divx4.c:132: request for member `rc_period' in something not a
structure or union
ve_divx4.c:132: request for member `rc_period' in something not a
structure or union
ve_divx4.c:133: request for member `rc_reaction_period' in something not
a structure or union
ve_divx4.c:133: request for member `rc_reaction_period' in something not
a structure or union
ve_divx4.c:134: request for member `rc_reaction_ratio' in something not
a structure or union
ve_divx4.c:134: request for member `rc_reaction_ratio' in something not
a structure or union
ve_divx4.c:139: request for member `bitrate' in something not a
structure or union
ve_divx4.c:158: request for member `min_quantizer' in something not a
structure or union
ve_divx4.c:158: request for member `max_quantizer' in something not a
structure or union
ve_divx4.c:162: request for member `handle' in something not a structure
or union
ve_divx4.c:164: request for member `handle' in something not a structure
or union
ve_divx4.c:166: structure has no member named `colorspace'
ve_divx4.c:166: `ENC_CSP_YV12' undeclared (first use in this function)
ve_divx4.c:166: (Each undeclared identifier is reported only once
ve_divx4.c:166: for each function it appears in.)
ve_divx4.c:168: structure has no member named `colorspace'
ve_divx4.c:168: `ENC_CSP_I420' undeclared (first use in this function)
ve_divx4.c:169: structure has no member named `colorspace'
ve_divx4.c:169: `ENC_CSP_YUY2' undeclared (first use in this function)
ve_divx4.c:170: structure has no member named `colorspace'
ve_divx4.c:170: `ENC_CSP_UYVY' undeclared (first use in this function)
ve_divx4.c:173: structure has no member named `colorspace'
ve_divx4.c:173: `ENC_CSP_RGB24' undeclared (first use in this function)
ve_divx4.c:182: request for member `quality' in something not a
structure or union
ve_divx4.c:189: request for member `bitrate' in something not a
structure or union
ve_divx4.c:190: request for member `framerate' in something not a
structure or union
ve_divx4.c:192: request for member `quality' in something not a
structure or union
ve_divx4.c: In function `put_image':
ve_divx4.c:235: structure has no member named `mvs'
ve_divx4.c:240: structure has no member named `quant'
ve_divx4.c:241: structure has no member named `intra'
ve_divx4.c:248: `ENC_OPT_ENCODE_VBR' undeclared (first use in this
function)
ve_divx4.c:249: structure has no member named `quantizer'
ve_divx4.c:251: structure has no member named `is_key_frame'
ve_divx4.c:253: structure has no member named `quantizer'
ve_divx4.c:253: structure has no member named `is_key_frame'
ve_divx4.c:254: structure has no member named `total_bits'
ve_divx4.c:254: structure has no member named `texture_bits'
ve_divx4.c:254: structure has no member named `total_bits'
ve_divx4.c:261: structure has no member named `quant'
ve_divx4.c:262: structure has no member named `intra'
ve_divx4.c:264: structure has no member named `motion_bits'
ve_divx4.c:265: structure has no member named `texture_bits'
ve_divx4.c:266: structure has no member named `total_bits'
ve_divx4.c:268: structure has no member named `quant'
ve_divx4.c:269: structure has no member named `intra'
ve_divx4.c:272: structure has no member named `is_key_frame'
ve_divx4.c:273: structure has no member named `motion_bits'
ve_divx4.c:274: structure has no member named `texture_bits'
ve_divx4.c:275: structure has no member named `total_bits'
ve_divx4.c:276: structure has no member named `quantizer'
ve_divx4.c:279: structure has no member named `is_key_frame'
make[1]: *** [ve_divx4.o] Błąd 1
make[1]: Leaving directory `/home/piotrek/tmp/MPlayer-0.90/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Błąd 2
[piotrek at syrius MPlayer-0.90]$
And compilation messes up...
I think, it's caused by this new version of DivX (no way, how did I
figure it out, yeah? ;-) ), any bufixes? Obviously, everything compiles
all right when I use "--disable-divx4linux".
Just in case, I use gcc 3.2.2 on Mandrake Linux 9.1
More information about the MPlayer-users
mailing list