[mythtv] mythtv compilation for maemo (Nokia N900) failing with -lGL error

Rajil Saraswat rajil.s at gmail.com
Sun Feb 7 22:29:13 UTC 2010

On Sunday 07 February 2010 19:30:14 Janne Grunau wrote:
> no, you just disabled two opengl features try adding --disable-opengl
> you can remove --disable-opengl-video and --disable-opengl-vsync since
> they depend on opengl. --disable-ivtv, --disable-hdpvr are also not
> needed since they depend on v4l
> you probably want NEON enabled for the N900
> HTH Janne

Thanks, --disable-opengl is what got me past the -lGL error. I have enabled 
NEON as well, but hit another compile error in libavcodec. 

I understand that maemo isnt a supported platform so if this is like chasing a 
dogs tail then please let me know.

The error is as follows:

gcc -c -pipe -fomit-frame-pointer -O3 -D_ISOC99_SOURCE -
pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-
decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -fno-math-errno -
I/targets/FREMANTLE_ARMEL/opt/qt-4.6.0/mkspecs/linux-g++ -I. -I.. -I../.. -o 
motion_est.o motion_est.c                          
{standard input}: Assembler messages:                                                                                                                                            
{standard input}:988: Error: bad instruction `cmpl r8,r2'                                                                                                                        
{standard input}:989: Error: bad instruction `cmovl r2,r8'                                                                                                                       
{standard input}:990: Error: bad instruction `cmovl r3,sl'  
make[2]: *** [motion_est.o] Error 1
make[2]: Leaving directory 
make[1]: *** [sub-libavcodec-make_default] Error 2
make[1]: Leaving directory `/home/sbox/tmp/arm_myth/mythtv-0.22/libs'
make: *** [sub-libs-make_default-ordered] Error 2

More information about the mythtv-dev mailing list