[mythtv] mythtv 0.21 on armel architecture
Nigel Pearson
nigel at ind.tansu.com.au
Thu Apr 3 22:40:54 UTC 2008
> In the the file mythtv-0.21/libs/libavcodec/libavcodec.pro
> it expects to find the file mpegvideo_armv5te.S, but
> mpegvideo_armv5te.c is the one to use. So no assembler but a c-file
> instead.
Just fixed in mythtv-0-21-fixes and trunk.
> libs/libmythtv/dbcheck.cpp
> This file gives me an out-of memory when compiling.
Yes. It has a lot of static strings in it.
Some of the gcc flags like -fwritable-strings
-fdata-sections may help work around the bug?
...
> How can I twist the .pro makefiles to set the compile flags to some
> thing special for the above two files?
I haven't found a clean way to do this yet.
Either change the optimisation for the whole directory:
% svn diff *.pro
Index: libavcodec.pro
===================================================================
--- libavcodec.pro (revision 16905)
+++ libavcodec.pro (working copy)
@@ -412,6 +412,10 @@
contains( HAVE_ARMV5TE, yes ) {
SOURCES += armv4l/simple_idct_armv5te.S armv4l/mpegvideo_armv5te.S
+ QMAKE_CFLAGS_DEBUG -= -O3
+ QMAKE_CFLAGS_DEBUG += -O1
+ QMAKE_CFLAGS_RELEASE -= -O3
+ QMAKE_CFLAGS_RELEASE += -O1
}
contains( HAVE_ARMV6, yes ) { SOURCES += armv4l/
simple_idct_armv6.S }
or make, cut and paste the command that failed,
remove/change the -03, and then run make again.
--
Nigel Pearson, nigel at ind.tansu.com.au|"Look at this!
Telstra Net. Eng., Sydney, Australia | Do you think I put this in
Office: 9202 3900 Fax: 9261 3912 | to get better reception?"
Mobile: 0408 664435 Home: 9792 6998 | Batty - Fern Gully
More information about the mythtv-dev
mailing list