Opened 15 years ago
Closed 14 years ago
#6520 closed defect (duplicate)
Mythmusic fails to build with faad2-2.7
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | MythTV - General | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I receive an error mp4ff_int_types.h is missing when compiling mythmusic. I use Gentoo distribution, which may have additional bug causing the missing file, but if I place the file from the source package, I receive the following error: (Please let me know if you need additional info)
g++ -c -pipe -march=nocona -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -DSTDC_CONSTANT_MACROS -fvisibility-inlines-hidden -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_REENTRANT -Wall -W -DPIC -fPIC -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -D_FILE_OFFSET_BITS=64 -DQT_PLUGIN -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include -I/usr/include -I/usr/include -I/usr/include/mythtv -I/usr/include/mythtv/libmythdb -I/usr/include/mythtv/libmythui -I/usr/include/mythtv/libmyth -I/usr/include/libvisual-0.4 -I/usr/include/taglib -I/usr/include/cdda -I/usr/X11R6/include -I. -I. -o databasebox.o databasebox.cpp distcc[19404] ERROR: compile /var/tmp/ccache/aacdecoder.tmp.boschlt-linux.19384.ii on localhost failed aacdecoder.cpp: In member function 'bool aacDecoder::initializeMP4()': aacdecoder.cpp:317: error: cannot convert 'uint32_t*' to 'long unsigned int*' for argument '4' to 'char NeAACDecInit2(void*, unsigned char*, long unsigned int, long unsigned int*, unsigned char*)' make[2]: * [aacdecoder.o] Error 1 make[2]: * Waiting for unfinished jobs....
Based on my experience with adding faad2 2.7 to MiniMyth?, mp4ff_int_types.h is not installed by faad2 2.7. I patch faad2 so that it installs mp4ff_int_types.h (as well as builds shared libraries).