I get an Error when compiling xawdecode: divx.c: In function `divx_init': divx.c:470: `FRAME_RATE_BASE' undeclared (first use in this function) divx.c:470: (Each undeclared identifier is reported only once divx.c:470: for each function it appears in.) I can't find the text FRAME_RATE_BASE somewhere in the source, except of divx.c. Maybe it should be defined by a divx-header? I'm using divx4linux-20020418-r2 In the ./configure-part I found this: checking for divx4linux header files... yes checking for encore in -ldivxencore... yes checking for divx4linux version... 5.x configure: WARNING: *** Fixme: DivX 5 identified: need to get exact version The bug appears at my own PC and at afriends one too. Reproducible: Always Steps to Reproduce: 1. emerge xawdecode
try divx4linux-20020418-r2
I tested it with divx4linux-20020418-r2, thats the actual divx4linux on my system. Look at my first posting to bugzilla. Now I tested it with all other possibilities: Test with divx4linux-20030428: divx.c:151: parse error before "param" divx.c:151: warning: type defaults to `int' in declaration of `param' divx.c:151: warning: data definition has no type or storage class divx.c: In function `divx_init': divx.c:348: request for member `x_dim' in something not a structure or union divx.c:349: request for member `y_dim' in something not a structure or union divx.c:350: request for member `framerate' in something not a structure or union divx.c:351: request for member `min_quantizer' in something not a structure or union divx.c:352: request for member `max_quantizer' in something not a structure or union divx.c:353: request for member `quality' in something not a structure or union divx.c:354: request for member `bitrate' in something not a structure or union divx.c:363: request for member `handle' in something not a structure or union divx.c:380: structure has no member named `colorspace' divx.c:380: `ENC_CSP_YV12' undeclared (first use in this function) divx.c:380: (Each undeclared identifier is reported only once divx.c:380: for each function it appears in.) divx.c:387: structure has no member named `colorspace' divx.c:393: structure has no member named `colorspace' divx.c:393: `ENC_CSP_RGB24' undeclared (first use in this function) divx.c:407: structure has no member named `colorspace' divx.c:415: structure has no member named `colorspace' divx.c:415: `ENC_CSP_YUY2' undeclared (first use in this function) divx.c:430: structure has no member named `mvs' divx.c:470: `FRAME_RATE_BASE' undeclared (first use in this function) divx.c: In function `divx_encode': divx.c:919: request for member `x_dim' in something not a structure or union divx.c:919: request for member `y_dim' in something not a structure or union divx.c:923: request for member `x_dim' in something not a structure or union divx.c:923: request for member `y_dim' in something not a structure or union divx.c:937: structure has no member named `is_key_frame' make[2]: *** [divx.o] Fehler 1 Test with divx4linux-20020418-r1: divx.c: In function `divx_init': divx.c:470: `FRAME_RATE_BASE' undeclared (first use in this function) divx.c:470: (Each undeclared identifier is reported only once divx.c:470: for each function it appears in.) make[2]: *** [divx.o] Fehler 1
Okay, I located the problem: it compiles only with ffmpeg-0.4.6-r1 and not with the actual ffmpeg-0.4.7_pre20030624. But I don't know, what to do against it, maybe update the xawdecode-ebuild?
Created attachment 16436 [details] new ebuild for latest xawdecode Solves the compilation problem described in the bug. Its just a number change plus some adjusting for the filename (MY_P).
*** This bug has been marked as a duplicate of 27145 ***