Failure while building Kodi
#1
Hello,

I'm owner of a Raspbery PI B+ with a Hifiberry Digi+ and I'm using archarm. Because I need alsa-support I tried to build Kodi from the git-master-branch.

But it stops with

Code:
CPP     xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.o
MMALCodec.cpp: In Elementfunktion »void CMMALVideo::dec_output_port_cb(MMAL_PORT_T*, MMAL_BUFFER_HEADER_T*)«:
MMALCodec.cpp:262:27: Fehler: »MMAL_BUFFER_HEADER_FLAG_USER0« wurde in diesem Gültigkeitsbereich nicht definiert
       if (buffer->flags & MMAL_BUFFER_HEADER_FLAG_USER0)
                           ^
MMALCodec.cpp: In Elementfunktion »virtual int CMMALVideo::Decode(uint8_t*, int, double, double)«:
MMALCodec.cpp:832:24: Fehler: »MMAL_BUFFER_HEADER_FLAG_USER0« wurde in diesem Gültigkeitsbereich nicht definiert
        buffer->flags = MMAL_BUFFER_HEADER_FLAG_USER0;
                        ^
/home/kalle/aur/xbmc-rbp-git/src/xbmc/Makefile.include:93: recipe for target 'MMALCodec.o' failed
make[1]: *** [MMALCodec.o] Error 1
Makefile:516: recipe for target 'xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a' failed
make: *** [xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a] Error 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab ...

I tried different configure-parameters. Allwayse the same.

Code:
...
--with-platform=raspberry-pi \
....

Anyone can help?


greetings
Reply
#2
Update firmware (specifically /opt/vc/include) with rpi-update.
Reply
#3
Many thanks. Now it seems to work. It is building at this moment.
Reply
#4
Hello,

building was fine but now xbmc doesn't start.

Code:
....@.... ~/aur/xbmc-rbp-git % xbmc
  File "/usr/share/xbmc/FEH.py", line 172
    
                                                        ^
IndentationError: expected an indented block

...@.... ~/aur/xbmc-rbp-git % xbmc-standalone                                                                  :(
  File "/usr/share/xbmc/FEH.py", line 172
    
                                                        ^
IndentationError: expected an indented block
  File "/usr/share/xbmc/FEH.py", line 172
    
                                                        ^
IndentationError: expected an indented block
  File "/usr/share/xbmc/FEH.py", line 172
    
                                                        ^
IndentationError: expected an indented block
XBMC has exited uncleanly 3 times in the last 1 seconds.
Something is probably wrong
kalle@raspi ~/aur/xbmc-rbp-git %

Any suggestion what I can do?


Greetings
Reply
#5
All ok. It was my mistake and XBMC is working.
Reply

Logout Mark Read Team Forum Stats Members Help
Failure while building Kodi0