[mythtv] One line fix for gcc 3.4.1 (mythvideo)
Brandon Beattie
brandon+myth at linuxis.us
Fri Aug 20 13:28:03 EDT 2004
apt-get install g++-3.4.1 (This pulled down gcc-3.4.1 and the other
3.4.1 tools below, and an updated libgcc, and one other package that I
don't recall what though)
cd /usr/bin
rm g++ gcc gconv gccbug cpp
ln -s g++-3.4 g++
ln -s gcc-3.4 gcc
ln -s gonv-3.4 gconv
ln -s gccbug-3.4 gccbug
ln -s cpp-3.4 cpp
That's it.
--Brandon
On Fri, Aug 20, 2004 at 08:51:04AM -0700, Thomas M. Pluth wrote:
> Could you post instructions for upgrading to gcc 3.4.1? I tried it briefly
> once and all I could do was get mythtv to segfault.
>
> What libraries did you have to update and/or recompile?
>
>
> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
> On Behalf Of Brandon Beattie
> Sent: Friday, August 20, 2004 8:24 AM
> To: mythtv-dev at mythtv.org
> Subject: [mythtv] One line fix for gcc 3.4.1 (mythvideo)
>
> While trying Myth with gcc 3.4.1, there was a problem compiling
> mythvideo plugin.
>
> videogallery.cpp:248: error: `ceilf' undeclared (first use this function)
>
> This can be fixed by adding
>
> #include <math.h>
>
> to mythvideo/videogallery.cpp .
>
> I did notice about a 7% increase performance in decoding video with gcc
> 3.4.1, which is good news. I can finally decode 1080i in software again
> with almost no stuttering.
>
> --
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
--
More information about the mythtv-dev
mailing list