Im trying to install XBMC 12.1 (and other versions) on my RaspberryPi running Gentoo OS. I have been unsuccessful in every attempt. Im thinking the issue has to do with this: MathUtils.h:127:6: error: impossible constraint in 'asm' Please see paste below for more detail of environment and build log http://bpaste.net/show/87153/ http://bpaste.net/show/87155/
Comment from http://trac.xbmc.org/ticket/14228 mentions that "Your configure step is wrong. Look in tools/rpb/depends/xbmc/Makefile how it should be for the RaspberryPI."
Created attachment 343648 [details] Build log output
Created attachment 343650 [details] emerge info output
Commit message: Add USE=neon http://sources.gentoo.org/media-tv/xbmc/xbmc-12.1.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.137&r2=1.138
I will try the USE=neon as mentioned below, but please take a look at what vapier on trac.xbmc.org just recently posted: http://trac.xbmc.org/ticket/14228#comment:5>
I did an eix-sync and got the new ebuild (1.3). It shows (-neon). From what i can tell, the () means its masked in the profile form my arch. So im not really sure what i should do to enable neon?
(In reply to comment #6) you have an armv6 which doesn't support neon. so it should be masked for your platform and you want to build with USE=-neon.
it is masked by default, so im confused as to why neon is mentioned to fix the issue. Is there something else i need to be doing?
(In reply to comment #8) this bug is still open, so clearly it's not marked as FIXED. USE=neon behavior is related, but obviously isn't the full answer.
SpanKY: Sorry if i offended you, it was not my intent. Do you have any other suggestions?
Code Bleu: I think you get this sort of errors if you don't configure xbmc with --with-platform=raspberry-pi. I've submitted a patch for xbmc-12.1.ebuild with raspberry pi support: https://bugs.gentoo.org/show_bug.cgi?id=471200 xbmc compiles and runs fine on my raspberry pi.
(In reply to Code_Bleu from comment #10) > Do you have any other suggestions? Do the patches from the other bug as mentioned in Comment #11 work for you?
Created attachment 365378 [details] emerge logs
(In reply to Tom Wijsman (TomWij) from comment #12) > (In reply to Code_Bleu from comment #10) > > Do you have any other suggestions? > > Do the patches from the other bug as mentioned in Comment #11 work for you? No, they did not. I have attached log files.
xbmc doesn't install these headers: /opt/vc/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: No such file or directory i don't know what does, but looks like something is broken unrelated to xbmc
(In reply to SpanKY from comment #15) > xbmc doesn't install these headers: > /opt/vc/include/interface/vcos/vcos_types.h:38:33: fatal error: > vcos_platform_types.h: No such file or directory > > i don't know what does, but looks like something is broken unrelated to xbmc I found the following article which helped be get past the vcos errors. https://github.com/raspberrypi/firmware/issues/34 Then i had this error: /opt/vc/include/interface/vmcs_host/vcgencmd.h fatal error: vchost_config.h No such file or directory found. I then noticed the vcgencmd.h file had an include pointing to the wrong place as well. I changed this (line 33 of vcgencmd.h): #include vchost_config.h to this: #include linux/vchost_config.h After that, i was finally able to successfully compile xbmc. Now im having other issues getting the app to launch with or without framebuffer, but i think its probably safe to say that the patch listed in comment11 and the above have resolved the initial (not being able to compile) issue.