[mythtv-commits] Ticket #2560: Compilation problem mythmusic 0.20 fixes

MythTV mythtv at cvs.mythtv.org
Tue Oct 10 08:15:46 UTC 2006


#2560: Compilation problem mythmusic 0.20 fixes
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythmusic  |     Version:  0.20   
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 Using gcc version 3.3.6

 Compiling mythmusic stops with this error :

 playlist.cpp: In member function `int Playlist::writeTree(GenericTree*,
 int)':
 playlist.cpp:918: error: ISO C++ forbids declaration of `map' with no type
 playlist.cpp:918: error: template-id `map<QString, uint32_t>' used as a
    declarator
 playlist.cpp:918: error: parse error before `;' token
 playlist.cpp:919: error: `AlbumMap' undeclared (first use this function)
 playlist.cpp:919: error: (Each undeclared identifier is reported only once
 for
    each function it appears in.)
 playlist.cpp:1003: error: `Ialbum' undeclared (first use this function)
 playlist.cpp:1003: error: `album_map' undeclared (first use this function)
 playlist.cpp:1008: error: parse error before `::' token
 distcc[6430] ERROR: compile on localhost failed
 make[2]: *** [playlist.o] Error 1
 make[2]: Leaving directory
 `/mnt/store/mythtv/mythplugins/mythmusic/mythmusic'
 make[1]: *** [sub-mythmusic] Error 2
 make[1]: Leaving directory `/mnt/store/mythtv/mythplugins/mythmusic'
 make: *** [sub-mythmusic] Error 2
 --------------

 With --disable-mythmusic all the other modules compile and work just fine.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2560>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list