[mythtv] Compile errors in mythmusic aacdecoder

R. G. Newbury newbury at mandamus.org
Thu Sep 25 20:40:32 UTC 2008

Upgrading the myth instance at the office to SVN 18425, I ran into this 
error in mythplugins/mythmusic/mythmusic/aacdecoder.c

The error is:  invalid conversion from ‘uint32_t*’ to ‘long unsigned int*’

make[2]: Entering directory `/keep/usb/mythplugins/mythmusic/mythmusic'

g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith 
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time 
-D__STDC_CONSTANT_MACROS -fomit-frame-pointer -O3 -fomit-frame-pointer 
-DPIC -fPIC -D_GNU_SOURCE -DPREFIX="/usr/local" -DMMX -Di386 
-DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore 
-I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui 
-I/usr/include/QtOpenGL -I/usr/include/QtOpenGL -I/usr/include/QtXml 
-I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtSql 
-I/usr/include/Qt3Support -I/usr/include/Qt3Support -I/usr/include 
-I/usr/local/include -I/usr/local/include -I/usr/include 
-I/usr/local/include/mythtv -I/usr/include/taglib -I/usr/include/cdda 
-I/usr/X11R6/include -I. -I. -o aacdecoder.o aacdecoder.cpp

aacdecoder.cpp: In member function ‘bool aacDecoder::initializeMP4()’:
aacdecoder.cpp:317: error: invalid conversion from ‘uint32_t*’ to ‘long 
unsigned int*’

aacdecoder.cpp:317: error:   initializing argument 4 of ‘char 
NeAACDecInit2(void*, unsigned char*, long unsigned int, long unsigned 
int*, unsigned char*)’

make[2]: *** [aacdecoder.o] Error 1
make[2]: Leaving directory `/keep/usb/mythplugins/mythmusic/mythmusic'
make[1]: *** [sub-mythmusic-make_default] Error 2
make[1]: Leaving directory `/keep/usb/mythplugins/mythmusic'
make: *** [sub-mythmusic] Error 2


         Please let me know if anything I say offends you.
          I may wish to offend you again in the future.

          Tux says: "Be regular. Eat cron flakes."

More information about the mythtv-dev mailing list