Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25586 - xawdecode-1.6.8 doesn't compile
Summary: xawdecode-1.6.8 doesn't compile
Status: RESOLVED DUPLICATE of bug 27145
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-30 12:45 UTC by Thomas Schuetz
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
new ebuild for latest xawdecode (xawdecode-1.7.5b.ebuild,1.66 KB, application/octet-stream)
2003-08-21 09:31 UTC, humillo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schuetz 2003-07-30 12:45:19 UTC
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
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-30 23:38:25 UTC
try divx4linux-20020418-r2
Comment 2 Thomas Schuetz 2003-07-31 11:21:13 UTC
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 
 
 
Comment 3 Thomas Schuetz 2003-07-31 12:29:24 UTC
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? 
Comment 4 humillo 2003-08-21 09:31:45 UTC
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).
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-28 17:22:36 UTC

*** This bug has been marked as a duplicate of 27145 ***