[vdr] analogtv compile problems against vdr-1.3.46

Simon Baxter linuxtv at nzbaxters.com
Sun Apr 30 21:10:36 CEST 2006

> [snip]
>> Plugin analogtv:
>> make[1]: Entering directory
>> `/home/vdruser/vdr-1.3.46_analog/PLUGINS/src/analogtv-0.9.39'
>> g++ -Wall -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"analogtv"'
>>  -DHAVE_FAST_MEMCPY -DNEED_OWN_SIP -I../../../include analogtv.c
>> g++ -Wall -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"analogtv"'
>>  -DHAVE_FAST_MEMCPY -DNEED_OWN_SIP -I../../../include cpu_accel.c
>> cpu_accel.c: In function âuint32_t mm_accel()':
>> cpu_accel.c:76: error: can't find a register in class 'BREG' while 
>> reloading
>> 'asm'
> [snip]
>> Any ideas?
> Forcing that file to be compiled with -Os instead of -O2 should work.

Ok, here's another visable hole in my knowledge.
CXX      ?= g++
?= -O4 -march=i486 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
CXXFLAGS ?= $(OPTFLAGS) -Wall -Woverloaded-virtual

How do I do this?  Do I need to select specific CXXFLAGS in Makefile for 

Should I globally change OPTFLAGS to us -Os rather than -O4 ?? 

More information about the vdr mailing list