[mythtv-users] error compiling mythmusic on Mandrake Community 10.1

Matt Vollmar matt at vollmars.com
Fri Oct 15 20:42:45 UTC 2004


Dana Hata wrote:

>I have tried to compile both 0.16 and the latest CVS but I get this
>error on both-->
>
>In file included from /usr/include/FLAC/format.h:36,
>                 from /usr/include/FLAC/stream_encoder.h:36,
>                 from /usr/include/FLAC/seekable_stream_encoder.h:36,
>                 from /usr/include/FLAC/file_encoder.h:36,
>                 from flacencoder.h:6,
>                 from cdrip.cpp:34:
>/usr/include/FLAC/ordinals.h:50:2: #error Unable to find fixed-size data
>types
>make[1]: *** [cdrip.o] Error 1
>make[1]: Leaving directory
>`/home/dana/downloads/myth/mythmusic/mythmusic'
>make: *** [sub-mythmusic] Error 2
>
>
>Seems like a library incompatibility with libFLAC6.  DOes anyone know
>how to fix it?
>
>Dana
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>
I had the same problem.  Here is the solution (hack though it may be):

edit the file: 

/usr/include/FLAC/ordinals.h

and comment out the following:

#error Unable to find fixed-size data types

by adding // to the front, like this:

// #error Unable to find fixed-size data types

If anyone has a better answer, let me know...I just hacked the easiest way I could.  It is bad coding in FLAC, according to one thing I read on Google.





More information about the mythtv-users mailing list