Hallo,
leider kompiliert bei mir das imputstream.adaptiv aus dem getwidevine.sh nicht mehr.
Code
vdrmb3 ~ # sh getwidevine.sh
'libwidevinecdm.so' -> 'libwidevinecdm.so.bak'
Downloading: libwidevinecdm.so...
######################################################################## 100.0%
x - data.tar.xz
Extracting libwidevinecdm.so...
./opt/google/chrome/libwidevinecdm.so
removed 'temp.deb'
removed 'data.tar.xz'
Successfully installed libwidevinecdm.so!
Cloning into 'wvdecrypter'...
remote: Counting objects: 1836, done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 1836 (delta 89), reused 96 (delta 51), pack-reused 1688
Receiving objects: 100% (1836/1836), 1.37 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (1264/1264), done.
make: *** No rule to make target 'clean'. Stop.
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BENTOSYS: POSIX
-- Configuring done
-- Generating done
-- Build files have been written to: /root/wvdecrypter/wvdecrypter
Scanning dependencies of target bento4
[ 1%] Building CXX object libbento4/CMakeFiles/bento4.dir/Codecs/Ap4AvcParser.cpp.o
[ 2%] Building CXX object libbento4/CMakeFiles/bento4.dir/Codecs/Ap4BitStream.cpp.o
[ 2%] Building CXX object libbento4/CMakeFiles/bento4.dir/Codecs/Ap4AdtsParser.cpp.o
[ 2%] Building CXX object libbento4/CMakeFiles/bento4.dir/Codecs/Ap4HevcParser.cpp.o
[ 3%] Building CXX object libbento4/CMakeFiles/bento4.dir/Codecs/Ap4Mp4AudioInfo.cpp.o
[ 4%] Building CXX object libbento4/CMakeFiles/bento4.dir/Codecs/Ap4NalParser.cpp.o
[ 5%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/AP4TrafAtom.cpp.o
[ 5%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap4.cpp.o
[ 6%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap48bdlAtom.cpp.o
[ 7%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap4AinfAtom.cpp.o
[ 8%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap4Atom.cpp.o
[ 8%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap4AtomFactory.cpp.o
[ 9%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap4AtomSampleTable.cpp.o
[ 10%] Building CXX object libbento4/CMakeFiles/bento4.dir/Core/Ap4AvccAtom.cpp.o
In file included from /root/wvdecrypter/lib/libbento4/Core/Ap4Piff.h:43:0,
from /root/wvdecrypter/lib/libbento4/Core/Ap4.h:300,
from /root/wvdecrypter/lib/libbento4/Core/Ap4.cpp:32:
/root/wvdecrypter/lib/libbento4/Core/Ap4CommonEncryption.h: In member function ‘virtual const char* AP4_CencSingleSampleDecrypter::GetSessionId()’:
/root/wvdecrypter/lib/libbento4/Core/Ap4CommonEncryption.h:525:49: error: ‘nullptr’ was not declared in this scope
virtual const char* GetSessionId() { return nullptr; };
^
make[2]: *** [libbento4/CMakeFiles/bento4.dir/build.make:231: libbento4/CMakeFiles/bento4.dir/Core/Ap4.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /root/wvdecrypter/lib/libbento4/Core/Ap4Piff.h:43:0,
from /root/wvdecrypter/lib/libbento4/Core/Ap4AtomFactory.cpp:90:
/root/wvdecrypter/lib/libbento4/Core/Ap4CommonEncryption.h: In member function ‘virtual const char* AP4_CencSingleSampleDecrypter::GetSessionId()’:
/root/wvdecrypter/lib/libbento4/Core/Ap4CommonEncryption.h:525:49: error: ‘nullptr’ was not declared in this scope
virtual const char* GetSessionId() { return nullptr; };
^
make[2]: *** [libbento4/CMakeFiles/bento4.dir/build.make:327: libbento4/CMakeFiles/bento4.dir/Core/Ap4AtomFactory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:123: libbento4/CMakeFiles/bento4.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
cp: cannot stat 'libssd_wv.so': No such file or directory
Alles anzeigen
Das Skript sieht bei mir wie folgt aus:
Bash
#!/bin/bash
source /etc/portage/make.conf
mkdir -p ~/.kodi/cdm
cd ~/.kodi/cdm
[ -f libwidevinecdm.so ] && mv -v libwidevinecdm.so libwidevinecdm.so.bak
echo "Downloading: libwidevinecdm.so..."
curl -Lf --progress-bar --url http://www.slimjetbrowser.com/chrome/lnx/chrome64_55.0.2883.75.deb -o temp.deb
#curl -Lf --progress-bar --url https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o temp.deb
ar xv temp.deb data.tar.xz
echo "Extracting libwidevinecdm.so..."
tar xvJfO data.tar.xz ./opt/google/chrome/libwidevinecdm.so > libwidevinecdm.so
chmod 755 libwidevinecdm.so
rm -vf temp.deb data.tar.xz
[ -f libwidevinecdm.so ] && echo "Successfully installed libwidevinecdm.so!" || echo "ERROR: Unable to install libwidevinecdm.so"
cd ~
if [ -d wvdecrypter/.git ] ; then
cd wvdecrypter/wvdecrypter
# git pull https://github.com/liberty-developer/inputstream.adaptive
git pull https://github.com/peak3d/inputstream.adaptive
else
# git clone https://github.com/liberty-developer/inputstream.adaptive wvdecrypter
git clone https://github.com/peak3d/inputstream.adaptive wvdecrypter
cd wvdecrypter/wvdecrypter
fi
make clean
cmake .
make $MAKEOPTS
[ -f ~/.kodi/cdm/libssd_wv.so ] && mv -v ~/.kodi/cdm/libssd_wv.so ~/.kodi/cdm/libssd_wv.so.bak
cp -vf libssd_wv.so ~/.kodi/cdm/
Alles anzeigen
Der Kompilierfehler passiert hier:
if [ -d wvdecrypter/.git ] ; then
cd wvdecrypter/wvdecrypter
# git pull https://github.com/liberty-developer/inputstream.adaptive
git pull https://github.com/peak3d/inputstream.adaptive
else
# git clone https://github.com/liberty-developer/inputstream.adaptive wvdecrypter
git clone https://github.com/peak3d/inputstream.adaptive wvdecrypter
cd wvdecrypter/wvdecrypter
fi
make clean
cmake .
make $MAKEOPTS
Wäre schön wenn das wieder funktionieren würde.
Grüße
kaminkehrer