[Lunar-bugs] [Lunar Linux 0000222]: ffmpeg-0.4.9-pre1 fails to compile

Lunar bug reports list lunar-bugs at lunar-linux.org
Sun Apr 8 07:12:45 CEST 2007


The following issue has been UPDATED. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=222 
====================================================================== 
Reported By:                dino
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   222
Category:                   lunar
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Moonbase Version:           20070404.15 
Core Tools:                 Lunar 
Core Tools Version:         20070318 
====================================================================== 
Date Submitted:             04-04-2007 17:50 CEST
Last Modified:              04-08-2007 07:12 CEST
====================================================================== 
Summary:                    ffmpeg-0.4.9-pre1 fails to compile
Description: 
ffmpeg-0.4.9-pre1 fails to compile with the following message :

gcc -g -Wall  -fPIC -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o msmpeg4.o msmpeg4.c 
msmpeg4.c: In function `msmpeg4_pred_dc':
msmpeg4.c:720: error: can't find a register in class `BREG' while
reloading `asm'
msmpeg4.c: At top level:
wmv2.c:104: warning: 'wmv2_encode_end' defined but not used
make[1]: *** [msmpeg4.o] Error 1
make[1]: Leaving directory `/usr/src/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 wdp - 04-04-07 17:52  
---------------------------------------------------------------------- 
i tested this. same here, compiling of ffmpeg with turned on optimizations
don't work. When i remove -fPIC from the BUILD file, compilation works
without any problems. 

---------------------------------------------------------------------- 
 sofar - 04-04-07 21:39  
---------------------------------------------------------------------- 
why did this get assigned to me? 

---------------------------------------------------------------------- 
 florin - 04-05-07 05:22  
---------------------------------------------------------------------- 
i've committed wdp's suggested fix. it work just fine on my system too. i'm
waiting for feedback. 

---------------------------------------------------------------------- 
 florin - 04-08-07 07:12  
---------------------------------------------------------------------- 
It seems that the committed fix solve the problem. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-04-07 17:50  dino           New Issue                                    
04-04-07 17:50  dino           Status                   new => assigned     
04-04-07 17:50  dino           Assigned To               => sofar           
04-04-07 17:50  dino           Moonbase Version          => 20070404.15     
04-04-07 17:50  dino           Core Tools                => Lunar           
04-04-07 17:50  dino           Core Tools Version        => 20070318        
04-04-07 17:52  wdp            Note Added: 0000485                          
04-04-07 21:39  sofar          Note Added: 0000486                          
04-04-07 21:39  sofar          Assigned To              sofar =>            
04-04-07 21:39  sofar          Status                   assigned => new     
04-05-07 05:22  florin         Note Added: 0000489                          
04-08-07 07:12  florin         Note Added: 0000500                          
======================================================================



More information about the Lunar-bugs mailing list