Unable to compile Kodi v17 on openSUSE: dvdpcodecs problem

I’m trying to compile Kodi v17 Krypton on openSUSE 42.2

At first, I cloned git from Krypton branch, installed dependencies and bootstrap and configure passed. Then I type “make” and this error stops compilation:

Code:
alvinek@linux-1t6h:~/kodi> make
make -C xbmc/cores/DllLoader/exports wrapper.def
make[1]: Entering directory '/home/alvinek/kodi/xbmc/cores/DllLoader/exports'
make[1]: 'wrapper.def' is up to date.
make[1]: Leaving directory '/home/alvinek/kodi/xbmc/cores/DllLoader/exports'
make -C lib/libdvd
make[1]: Entering directory '/home/alvinek/kodi/lib/libdvd'
make -C /home/alvinek/kodi/tools/depends/target/libdvdcss
make[2]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdcss'
[ -d native/.libs ] && [ ! -f native/.libs/libdvdcss.a ] && make -C native clean || :
make -C native
make[3]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdcss/native'
make  all-am
make[4]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdcss/native'
make[4]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdcss/native'
make[3]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdcss/native'
make[2]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdcss'
make -C /home/alvinek/kodi/tools/depends/target/libdvdread
make[2]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdread'
[ -d native/.libs ] && [ ! -f native/.libs/libdvdread.a ] && make -C native clean || :
make -C native
make[3]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdread/native'
make  all-am
make[4]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdread/native'
make[4]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdread/native'
make[3]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdread/native'
make[2]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdread'
make -C /home/alvinek/kodi/tools/depends/target/libdvdnav
make[2]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdnav'
[ -d native/.libs ] && [ ! -f native/.libs/libdvdnav.a ] && make -C native clean || :
make -C native
make[3]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdnav/native'
make  all-am
make[4]: Entering directory '/home/alvinek/kodi/tools/depends/target/libdvdnav/native'
make[4]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdnav/native'
make[3]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdnav/native'
make[2]: Leaving directory '/home/alvinek/kodi/tools/depends/target/libdvdnav'
[ -d libdvdread ] || mkdir libdvdread
[ -d libdvdnav ] || mkdir libdvdnav
[ 1 -eq 1 ] && { [ -d libdvdcss ] || mkdir libdvdcss; } || :
[ 1 -eq 1 ] && { cd libdvdcss && ar x /home/alvinek/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a; } || :
ar: /home/alvinek/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a: No such file or directory
cd libdvdnav; ar x /home/alvinek/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
ar: /home/alvinek/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a: No such file or directory
Makefile:80: recipe for target '/home/alvinek/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so' failed
make[1]: *** [/home/alvinek/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so] Error 9
make[1]: Leaving directory '/home/alvinek/kodi/lib/libdvd'
Makefile:351: recipe for target 'dvdpcodecs' failed
make: *** [dvdpcodecs] Error 2

I was searching on Google for solution and found that this could be a lack of memory, but people with that problem were compiling on Raspberry Pi.

I’m compiling on this machine: OS: openSUSE 42.2 (x86_64) • CPU: AMD Athlon™ 64 X2 Dual Core Processor 3800+ (2,00GHz) • Memory: Physical: 7,6 GiB Total (4,4 GiB Free) Swap: 2,0 GiB Total (2,0 GiB Free)