[mythtv] [PATCH] MythMusic Compilation Artist (HAVE_INT_TYPES)

Colin Guthrie myth at colin.guthr.ie
Sun Feb 6 18:59:49 UTC 2005


Isaac,

Colin Guthrie wrote:
> Isaac Richards wrote:
>> I'll apply this (and fix the dbcheck stuff because of the 
>> smartplaylist patch), but I need the metaiovorbiscomment.h file you 
>> added but didn't include in the patch.

I've just realised that the HAVE_INTTYPES_H defines that I have to add 
to get MythMusic compiling on my machine were in the patch I cut.

You may want to remove them if no other users have reported this issue 
or there is another fix. Not sure if it would break for anyone (esp. 
different architectures), tho' I'm guessing it prob wont matter for 
older versions of the flac libs...


grep -n "HAVE_INT" *
flacdecoder.h:4:#define HAVE_INTTYPES_H
flacencoder.h:6:#define HAVE_INTTYPES_H
metaioflacvorbiscomment.h:6:#define HAVE_INTTYPES_H






FWIW, I get this error if I miss these #defines aren't there:

g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -O2 -fomit-frame-pointer 
-pipe -march=i586 -mtune=pentiumpro -I/usr/include/SDL -D_REENTRANT 
-D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DUSING_IVTV -DUSING_DVB 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED 
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/include 
-I/usr/include/kde 
-I/rpmbuild_colin/BUILD/mythtv-0.17/linuxtv-dvb-1.1.1/linux/include 
-I/usr/include/cdda -I/usr/lib/qt3//include -I/usr/X11R6/include -o 
cdrip.o cdrip.cpp
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: *** [cdrip.o] Error 1


with the following FLAC libs

rpm -qa | grep -i flac
liboggflac1-1.1.1-0.beta1.3mdk
libflac6-devel-1.1.1-0.beta1.3mdk
libflac6-1.1.1-0.beta1.3mdk
flac-1.1.1-0.beta1.3mdk
libflac++4-devel-1.1.1-0.beta1.3mdk
libflac++4-1.1.1-0.beta1.3mdk


Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
|   myth at colin.guthr.ie  |
| http://colin.guthr.ie/ |
+------------------------+


More information about the mythtv-dev mailing list