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

Clayton Craft craftyguy at gmail.com
Mon Feb 8 07:49:54 UTC 2010


I don't know much about ARM assembly, but it would look like there is some in-line assembly in the code that is not ARM instructions. That code would need to be ported to ARM instructions to compile successfully. 




----- Original message -----
> 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 -
> D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
> pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-
> decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -fno-math-errno -
> mfpu=neon -w -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -
> DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -
> 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'    --------snip-------------- make[2]: ***
> [motion_est.o] Error 1 make[2]: Leaving directory
> `/home/sbox/tmp/arm_myth/mythtv-0.22/libs/libavcodec' 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
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20100207/c1926bab/attachment.htm>


More information about the mythtv-dev mailing list