Solution for mms_seek compile error on Gentoo
#1
For those of you running XBMC on Gentoo (are there any besides me? Tongue ) running into the following compile error:

Quote:FileMMS.cpp: In member function 'virtual long long int XFILE::CFileMMS::Seek(lon
g long int, int)':
FileMMS.cpp:49: error: 'mms_seek' was not declared in this scope

This is because Gentoo has a stock libmms-0.3 without the patches for mms_seek support (Debian and Ubuntu do have these patches applied to 0.3). Solution is to upgrade to libmms-0.4. I created an ebuild, which is available in the bugreport at http://bugs.gentoo.org/show_bug.cgi?id=203647 (use the one with the header file patch)
Reply
#2
Hi,

since i am relatively new to gentoo could you please give me a step by step walkthrough for installing this ebuild?

tia

morte
Reply
#3
Did you get it to work? I get an error compiling xbmc-xrandr.c:

xbmc-xrandr.c:79: error: 'RR_HSyncPositive' no se declaró aquí (no en una función)
xbmc-xrandr.c:80: error: 'RR_HSyncNegative' no se declaró aquí (no en una función)
xbmc-xrandr.c:81: error: 'RR_VSyncPositive' no se declaró aquí (no en una función)
xbmc-xrandr.c:82: error: 'RR_VSyncNegative' no se declaró aquí (no en una función)
xbmc-xrandr.c:83: error: 'RR_Interlace' no se declaró aquí (no en una función)
xbmc-xrandr.c:84: error: 'RR_DoubleScan' no se declaró aquí (no en una función)
xbmc-xrandr.c:85: error: 'RR_CSync' no se declaró aquí (no en una función)
xbmc-xrandr.c:86: error: 'RR_CSyncPositive' no se declaró aquí (no en una función)
xbmc-xrandr.c:87: error: 'RR_CSyncNegative' no se declaró aquí (no en una función)
xbmc-xrandr.c:1467: error: expected ')' before '*' token
xbmc-xrandr.c:1480: error: expected ')' before '*' token
xbmc-xrandr.c: En la función 'pick_crtcs':
xbmc-xrandr.c:1549: error: 'output_t' no se declaró aquí (primer uso en esta función)
xbmc-xrandr.c:1549: error: (Cada identificador no declarado solamente se reporta una vez
xbmc-xrandr.c:1549: error: ara cada funcion en la que aparece.)
xbmc-xrandr.c:1549: error: 'output' no se declaró aquí (primer uso en esta función)
xbmc-xrandr.c:1549: error: operadores inválidos para el binario *
xbmc-xrandr.c:1554: error: 'outputs' no se declaró aquí (primer uso en esta función)
xbmc-xrandr.c:1554: error: 'const struct <anonymous>' no tiene un miembro llamado 'next'
xbmc-xrandr.c:1556: error: 'const struct <anonymous>' no tiene un miembro llamado 'changes'
xbmc-xrandr.c:1556: error: 'const struct <anonymous>' no tiene un miembro llamado 'mode_info'
xbmc-xrandr.c:1556: error: 'const struct <anonymous>' no tiene un miembro llamado 'crtc_info'
xbmc-xrandr.c:1558: error: 'const struct <anonymous>' no tiene un miembro llamado 'crtc_info'
xbmc-xrandr.c:1559: error: 'const struct <anonymous>' no tiene un miembro llamado 'crtc_info'
xbmc-xrandr.c:1572: error: 'const struct <anonymous>' no tiene un miembro llamado 'next'
xbmc-xrandr.c:1573: error: 'const struct <anonymous>' no tiene un miembro llamado 'current_crtc_info'
xbmc-xrandr.c:1573: error: 'const struct <anonymous>' no tiene un miembro llamado 'crtc_info'
xbmc-xrandr.c:1575: error: 'const struct <anonymous>' no tiene un miembro llamado 'next'
xbmc-xrandr.c:1577: error: 'const struct <anonymous>' no tiene un miembro llamado 'mode_info'
xbmc-xrandr.c:1577: error: 'const struct <anonymous>' no tiene un miembro llamado 'crtc_info'
xbmc-xrandr.c:1578: error: 'const struct <anonymous>' no tiene un miembro llamado 'output'
xbmc-xrandr.c:1578: error: petición del miembro 'string' en algo que no es una estructura o unión
xbmc-xrandr.c:1579: error: 'const struct <anonymous>' no tiene un miembro llamado 'changes'
xbmc-xrandr.c:1579: error: 'const struct <anonymous>' no tiene un miembro llamado 'crtc_info'
xbmc-xrandr.c:1579: error: 'const struct <anonymous>' no tiene un miembro llamado 'current_crtc_info'
xbmc-xrandr.c:1580: error: 'const struct <anonymous>' no tiene un miembro llamado 'changes'
xbmc-xrandr.c:1580: error: 'changes_crtc' no se declaró aquí (primer uso en esta función)
xbmc-xrandr.c: En la función 'main':
xbmc-xrandr.c:1640: error: 'dryrun' no se declaró aquí (primer uso en esta función)
xbmc-xrandr.c:1992: error: 'setit_1_2' no se declaró aquí (primer uso en esta función)
xbmc-xrandr.c:1993: error: 'query_1' no se declaró aquí (primer uso en esta función)


Have you been able to compile xbmc-xrandr.c?
Reply
#4
Yes i have no problems compiling. Haven't encountered any issues regarding xbmc-xrandr yet.

@morte0815: see http://gentoo-wiki.com/HOWTO_Installing_...ty_Ebuilds
Reply

Logout Mark Read Team Forum Stats Members Help
Solution for mms_seek compile error on Gentoo0