[poky] [POKY]:Package xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe: task do_compile: Failed
Khem Raj
raj.khem at gmail.com
Thu Oct 20 16:15:41 PDT 2011
On Thu, Oct 20, 2011 at 4:01 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Thu, Oct 20, 2011 at 2:10 AM, sonu vishwakarma
> <vishwasonu2000 at gmail.com> wrote:
>> Hi,
>>
>> When I modified configurations in EXTRA_OECONF I have resolved the above
>> error and still I am not proceeding in compilation .
>> Now I am getting the following error.
>> I am also attaching recipe of xbmc :
>> | In file included from ../SystemGlobals.h:25:0,
>> | from Skin.cpp:25:
>> | ../cores/VideoRenderers/RenderManager.h:110:28: error: 'VAAPI::CHolder'
>> has not been declared
>> | ../cores/VideoRenderers/RenderManager.h: In member function 'void
>> CXBMCRenderManager::AddProcessor(int&)':
>> | ../cores/VideoRenderers/RenderManager.h:114:20: error: 'class
>> CLinuxRendererGLES' has no member named 'AddProcessor'
>> make[1]: *** [Skin.o] Error 1
>> | make[1]: *** Waiting for unfinished jobs....
>> | make[1]: Leaving directory
>> `/home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/work/atom-poky-linux/xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe/git/xbmc/addons'
>> | make: *** [xbmc/addons/addons.a] Error 2
>> | FATAL: oe_runmake failed | ERROR: Function 'do_compile' failed (see
>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/work/atom-poky-linux/xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe/temp/log.do_compile.13164
>> for further information) NOTE: package
>> xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe: task
>> do_compile: Failed
>>
>> Thanks and Regards,
>> Sonu
>> On Thu, Oct 20, 2011 at 1:01 PM, sonu vishwakarma <vishwasonu2000 at gmail.com>
>> wrote:
>>>
>>> Hi,
>>> I'm trying the build for XBMC 10.05 , I was getting the error in the task
>>> do_compile as
>>> "RenderSystemGLES.cpp:253:31: error: call of overloaded 'abs(int64_t)' is
>>> ambiguous "
>>> I looked around for solution and found a patch at
>>> http://patches.openembedded.org/patch/1819/ and applied it
>>> but even after applying the patch the problem remains the same.
>>> I'm getting the error as below:
>>> | RenderSystemGLES.cpp: In member function 'virtual bool
>>> CRenderSystemGLES::IsExtSupported(const char*)':
>>> | RenderSystemGLES.cpp:181:20: warning: comparison with string literal
>>> results in unspecified behaviour
>>> | RenderSystemGLES.cpp:186:25: warning: comparison with string literal
>>> results in unspecified behaviour
>>> | RenderSystemGLES.cpp: In member function 'virtual bool
>>> CRenderSystemGLES::PresentRender()':
>>> | RenderSystemGLES.cpp:253:31: error: call of overloaded 'abs(int64_t)' is
>>> ambiguous
>>> |
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/sysroots/fishriver/usr/include/stdlib.h:771:12:
>>> note: candidates are: int abs(int)
>>> | RenderSystemGLES.cpp:209:16: note: int64_t abs(int64_t)
>>> |
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/sysroots/fishriver/usr/include/c++/cstdlib:170:3:
>>> note: long long int __gnu_cxx::abs(long long int)
>>> |
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/sysroots/fishriver/usr/include/c++/cstdlib:139:3:
>>> note: long int std::abs(long int)
>>> | RenderSystemGLES.cpp:253:43: error: call of overloaded 'abs(int64_t&)'
>>> is ambiguous
>>> |
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/sysroots/fishriver/usr/include/stdlib.h:771:12:
>>> note: candidates are: int abs(int)
>>> | RenderSystemGLES.cpp:209:16: note: int64_t abs(int64_t)
>>> |
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/sysroots/fishriver/usr/include/c++/cstdlib:170:3:
>>> note: long long int __gnu_cxx::abs(long long int)
>>> |
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/sysroots/fishriver/usr/include/c++/cstdlib:139:3:
>>> note: long int std::abs(long int)
>>> | RenderSystemGLES.cpp: At global scope:
>>> | RenderSystemGLES.cpp:209:16: warning: 'int64_t abs(int64_t)' defined but
>>> not used
>>> | make[1]: *** [RenderSystemGLES.o] Error 1
>>> | make[1]: *** Waiting for unfinished jobs....
>>> | WinSystem.cpp: In member function 'std::vector<RESOLUTION_WHR>
>>> CWinSystemBase::ScreenResolutions(int)':
>>> | WinSystem.cpp:126:7: warning: unused variable 'defResolution'
>>> | WinSystem.cpp: In function 'bool rrSortPredicate(REFRESHRATE,
>>> REFRESHRATE)':
>>> | WinSystem.cpp:156:51: warning: suggest parentheses around '&&' within
>>> '||'
>>> | make[1]: Leaving directory
>>> `/home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/work/atom-poky-linux/xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe/git/xbmc'
>>> | make: *** [xbmc/xbmc.a] Error 2
>>> | FATAL: oe_runmake failed
>>> | ERROR: Function 'do_compile' failed (see
>>> /home/sct/black_poky/gigabyte/poky_gigabyte_07Oct2011/build/tmp/work/atom-poky-linux/xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe/temp/log.do_compile.18880
>>> for further information)
>>> NOTE: package
>>> xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe: task
>>> do_compile: Failed
>>> I'm pulling for the Fishriver machine . My host machine is Ubuntu 10.10
>>> ,64 bit .
>>> Can someone help me out of this problem ?
>
> Make sure that all the DEPENDS are available and build successfully before xbmc
> secondly try to clean rebuild the recipe. bitbake -ccleansstate
> xbmc;bitbake xbmc
> and if you still have the errors then it could be that xbmc itself
> need some patches
> in order to compile with compiler that you are using.
>
hmm looking into the recipe you attached. It has include of egl.inc
commented out
and that include brings in
COMPATIBLE_MACHINE = "omap3|ti816x"
which means it could be that it has not been built/tested on the
machines you might be using
More information about the poky
mailing list