hi guys,
i tried to install xbmc on raspbian. all went well till the "make" point i get this error messages:
make[2]: *** [libavcodec/h264.o] Error 4
make[2]: Leaving directory `/home/pi/xbmc-rbp/lib/ffmpeg'
make[1]: *** [ffmpeg] Error 2
make[1]: Leaving directory `/home/pi/xbmc-rbp/lib'
make: *** [dvdpcodecs] Error 2
does someone know how to solve this problem ?
regards
XBMC on Raspbian Error
5 posts
- Posts: 5
- Joined: Fri Aug 03, 2012 6:04 am
- Location: Germany
Are there any, more useful messages above these?
- Posts: 17
- Joined: Thu Oct 25, 2012 1:35 pm
this is all:
pi@raspberrypi ~/xbmc-rbp $ make
make -C xbmc/cores/DllLoader/exports wrapper.def
make[1]: Entering directory `/home/pi/xbmc-rbp/xbmc/cores/DllLoader/exports'
make[1]: »wrapper.def« up to date.
make[1]: Leaving directory `/home/pi/xbmc-rbp/xbmc/cores/DllLoader/exports'
make -C lib
make[1]: Entering directory `/home/pi/xbmc-rbp/lib'
make -C ffmpeg
make[2]: Entering directory `/home/pi/xbmc-rbp/lib/ffmpeg'
CC libavcodec/h264.o
libavcodec/h264.c: In function ‘decode_slice_header’:
libavcodec/h264.c:2925:35: warning: to be safe all intermediate pointers in cast from ‘uint8_t **’ to ‘const uint8_t **’ must be ‘const’ qualified [-Wcast-qual]
libavcodec/h264.c: In function ‘fill_filter_caches_inter’:
libavcodec/h264.c:3282:34: warning: initialization from incompatible pointer type [enabled by default]
libavcodec/h264.c:3297:38: warning: initialization from incompatible pointer type [enabled by default]
libavcodec/h264.c:3330:30: warning: initialization from incompatible pointer type [enabled by default]
libavcodec/h264.c: In function ‘decode_frame’:
libavcodec/h264.c:4078:21: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
arm-linux-gnueabihf-gcc: internal compiler error: killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[2]: *** [libavcodec/h264.o] Error 4
make[2]: Leaving directory `/home/pi/xbmc-rbp/lib/ffmpeg'
make[1]: *** [ffmpeg] Error 2
make[1]: Leaving directory `/home/pi/xbmc-rbp/lib'
make: *** [dvdpcodecs] Error 2
pi@raspberrypi ~/xbmc-rbp $
pi@raspberrypi ~/xbmc-rbp $ make
make -C xbmc/cores/DllLoader/exports wrapper.def
make[1]: Entering directory `/home/pi/xbmc-rbp/xbmc/cores/DllLoader/exports'
make[1]: »wrapper.def« up to date.
make[1]: Leaving directory `/home/pi/xbmc-rbp/xbmc/cores/DllLoader/exports'
make -C lib
make[1]: Entering directory `/home/pi/xbmc-rbp/lib'
make -C ffmpeg
make[2]: Entering directory `/home/pi/xbmc-rbp/lib/ffmpeg'
CC libavcodec/h264.o
libavcodec/h264.c: In function ‘decode_slice_header’:
libavcodec/h264.c:2925:35: warning: to be safe all intermediate pointers in cast from ‘uint8_t **’ to ‘const uint8_t **’ must be ‘const’ qualified [-Wcast-qual]
libavcodec/h264.c: In function ‘fill_filter_caches_inter’:
libavcodec/h264.c:3282:34: warning: initialization from incompatible pointer type [enabled by default]
libavcodec/h264.c:3297:38: warning: initialization from incompatible pointer type [enabled by default]
libavcodec/h264.c:3330:30: warning: initialization from incompatible pointer type [enabled by default]
libavcodec/h264.c: In function ‘decode_frame’:
libavcodec/h264.c:4078:21: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
arm-linux-gnueabihf-gcc: internal compiler error: killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[2]: *** [libavcodec/h264.o] Error 4
make[2]: Leaving directory `/home/pi/xbmc-rbp/lib/ffmpeg'
make[1]: *** [ffmpeg] Error 2
make[1]: Leaving directory `/home/pi/xbmc-rbp/lib'
make: *** [dvdpcodecs] Error 2
pi@raspberrypi ~/xbmc-rbp $
- Posts: 5
- Joined: Fri Aug 03, 2012 6:04 am
- Location: Germany
Problem is lack of memory. Give the ARM as much as possible for the build - try 224. If it still fails, you may need to use swap.
increasing memory till 224 MB does not work. how do I integrate the swap method ?
i read it slows down the pi. has someone some experiences with swap on the pi ?
i read it slows down the pi. has someone some experiences with swap on the pi ?
- Posts: 5
- Joined: Fri Aug 03, 2012 6:04 am
- Location: Germany