[mythtv-users] Trouble building mythpandora

Adam Jimerson vendion at gmail.com
Thu Feb 2 23:28:36 UTC 2012


I don't know if this is the best place to ask for help but I am trying to
build the mythpandora plugin from https://github.com/dougt/mythpandora to
use with my Myth 0.24.2 system.

When I run make it errors with this following error:

cd mythpandora/ && make -f Makefile
>
>
> make[1]: Entering directory `/usr/share/mythtv/mythpandora/mythpandora'
>
>
> gcc -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -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../../../qt/mkspecs/linux-g++ -I. -I../../../../include/QtCore
> -I../../../../include/QtNetwork -I../../../../include/QtGui
> -I../../../../include/QtOpenGL -I../../../../include/QtXml
> -I../../../../include/QtSql -I../../../../include/Qt3Support
> -I../../../../include -I../pianobar/src/libpiano
> -I../pianobar/src/libwaitress -I../pianobar/src/libezxml -I/include/mythtv
> -I/include/mythtv/libmyth -I/include/mythtv/libmythui
> -I/include/mythtv/libmythdb -I/usr/X11R6/include -I. -o xml.o
> ../pianobar/src/libpiano/xml.c
>
>
>
> ../pianobar/src/libpiano/xml.c: In function 'PianoXmlParsePlaylistCb':
>
>
> ../pianobar/src/libpiano/xml.c:255:17: warning: comparison between signed
> and unsigned integer expressions [-Wsign-compare]
>
> ../pianobar/src/libpiano/xml.c: In function 'PianoXmlParseAddSeed':
>
>
> ../pianobar/src/libpiano/xml.c:490:52: warning: unused parameter 'ph'
> [-Wunused-parameter]
>
> ../pianobar/src/libpiano/xml.c: In function 'PianoXmlParsePlaylist':
>
>
> ../pianobar/src/libpiano/xml.c:539:53: warning: unused parameter 'ph'
> [-Wunused-parameter]
>
> ../pianobar/src/libpiano/xml.c: In function
> 'PianoXmlParseGetStationInfoCb':
>
>
> ../pianobar/src/libpiano/xml.c:887:3: error: 'for' loop initial
> declarations are only allowed in C99 mode
>
> ../pianobar/src/libpiano/xml.c:887:3: note: use option -std=c99 or
> -std=gnu99 to compile your code
>
> ../pianobar/src/libpiano/xml.c:946:3: error: 'for' loop initial
> declarations are only allowed in C99 mode
>
> make[1]: *** [xml.o] Error 1
>
>
> make[1]: Leaving directory `/usr/share/mythtv/mythpandora/mythpandora'
>
>
> make: *** [sub-mythpandora-make_default] Error 2


when I pass make ether "-std=c99" or "-std=gnu99" make complains about
invalid options.  Any suggestions I would like to get this plugin installed
for this box.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120202/52a30927/attachment.html 


More information about the mythtv-users mailing list