[poky] [POKY]:Package xbmc-10.05-r11+gitr1+e2ab481ebe964321c358ab9d6402088c714adcbe: task do_compile: Failed

sonu vishwakarma vishwasonu2000 at gmail.com
Thu Oct 20 00:31:39 PDT 2011


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 ?

With Regards,
Sonu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20111020/f23d223a/attachment.html>


More information about the poky mailing list