Closed SaulGoodman1337 closed 2 years ago
Hi @SaulGoodman1337
I have to check this, I most of the time build it with LIBDVBCSA=yes
and see no build issues
with commit-id 70bffd9255a0d1a152fe0583e194fe40e416033d compiling is working.with latest commit it does not work.
and allow me offtopic, can you explain how to build for my gigablue? i don't quite understand cross compiling yet. what do i have to do here ?
You can download comiler from and unpack it in ~/vu/opt/
https://github.com/Broadcom/stbgcc-8.3/releases
then run:
source envARM.sh
for ARM cpu
make
thanks! its working with ENIGMA=yes. but with libdvbcsa i get following error:
Clearing project...
...Done
root@astra:/home/astra/satpi# make LIBDVBCSA=yes ENIGMA=yes
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Version.cpp -o obj/Version.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/InterfaceAttr.cpp -o obj/InterfaceAttr.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/HttpServer.cpp -o obj/HttpServer.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/HttpcServer.cpp -o obj/HttpcServer.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Log.cpp -o obj/Log.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Properties.cpp -o obj/Properties.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/RtspServer.cpp -o obj/RtspServer.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/main.cpp -o obj/main.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Satpi.cpp -o obj/Satpi.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Stream.cpp -o obj/Stream.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/StreamClient.cpp -o obj/StreamClient.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/StreamManager.cpp -o obj/StreamManager.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/StringConverter.cpp -o obj/StringConverter.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Utils.cpp -o obj/Utils.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/base/M3UParser.cpp -o obj/base/M3UParser.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/base/Thread.cpp -o obj/base/Thread.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/base/ThreadBase.cpp -o obj/base/ThreadBase.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/base/TimeCounter.cpp -o obj/base/TimeCounter.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/base/XMLSaveSupport.cpp -o obj/base/XMLSaveSupport.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/base/XMLSupport.cpp -o obj/base/XMLSupport.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/DeviceData.cpp -o obj/input/DeviceData.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/Transformation.cpp -o obj/input/Transformation.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/Frontend.cpp -o obj/input/dvb/Frontend.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/FrontendData.cpp -o obj/input/dvb/FrontendData.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DiSEqc.cpp -o obj/input/dvb/delivery/DiSEqc.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DiSEqcEN50494.cpp -o obj/input/dvb/delivery/DiSEqcEN50494.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DiSEqcEN50607.cpp -o obj/input/dvb/delivery/DiSEqcEN50607.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DiSEqcLnb.cpp -o obj/input/dvb/delivery/DiSEqcLnb.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DiSEqcSwitch.cpp -o obj/input/dvb/delivery/DiSEqcSwitch.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DVBC.cpp -o obj/input/dvb/delivery/DVBC.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DVBS.cpp -o obj/input/dvb/delivery/DVBS.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/DVBT.cpp -o obj/input/dvb/delivery/DVBT.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/dvb/delivery/Lnb.cpp -o obj/input/dvb/delivery/Lnb.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/file/TSReader.cpp -o obj/input/file/TSReader.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/file/TSReaderData.cpp -o obj/input/file/TSReaderData.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/childpipe/TSReader.cpp -o obj/input/childpipe/TSReader.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/childpipe/TSReaderData.cpp -o obj/input/childpipe/TSReaderData.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/stream/Streamer.cpp -o obj/input/stream/Streamer.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/input/stream/StreamerData.cpp -o obj/input/stream/StreamerData.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/Filter.cpp -o obj/mpegts/Filter.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/PacketBuffer.cpp -o obj/mpegts/PacketBuffer.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/PAT.cpp -o obj/mpegts/PAT.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/PCR.cpp -o obj/mpegts/PCR.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/PidTable.cpp -o obj/mpegts/PidTable.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/PMT.cpp -o obj/mpegts/PMT.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/SDT.cpp -o obj/mpegts/SDT.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/mpegts/TableData.cpp -o obj/mpegts/TableData.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadBase.cpp -o obj/output/StreamThreadBase.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadHttp.cpp -o obj/output/StreamThreadHttp.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadRtcpBase.cpp -o obj/output/StreamThreadRtcpBase.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadRtcp.cpp -o obj/output/StreamThreadRtcp.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadRtcpTcp.cpp -o obj/output/StreamThreadRtcpTcp.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadRtp.cpp -o obj/output/StreamThreadRtp.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadRtpTcp.cpp -o obj/output/StreamThreadRtpTcp.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/output/StreamThreadTSWriter.cpp -o obj/output/StreamThreadTSWriter.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/socket/HttpcSocket.cpp -o obj/socket/HttpcSocket.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/socket/TcpSocket.cpp -o obj/socket/TcpSocket.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/socket/SocketAttr.cpp -o obj/socket/SocketAttr.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/socket/UdpSocket.cpp -o obj/socket/UdpSocket.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/upnp/ssdp/Server.cpp -o obj/upnp/ssdp/Server.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/decrypt/dvbapi/Client.cpp -o obj/decrypt/dvbapi/Client.o
src/decrypt/dvbapi/Client.cpp:37:11: fatal error: dvbcsa/dvbcsa.h: No such file or directory
#include <dvbcsa/dvbcsa.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:202: obj/decrypt/dvbapi/Client.o] Error 1
root@astra:/home/astra/satpi#
how to handle this in this build environment? without ENIGMA=yes building is working.
You need to copy Lib and Header file to the build env
i have cline this (https://code.videolan.org/videolan/libdvbcsa/-/tree/master/src) into /home/astra/satpi/src. now i get:
root@astra:/home/astra/satpi# make LIBDVBCSA=yes ENIGMA=yes
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ -c -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -I src -std=c++17 -Werror=vla -Wall -Wextra -Winit-self -pthread -O2 -s -DNDEBUG -DLIBDVBCSA -DUSE_DEPRECATED_DVBAPI -DHAS_NP_FUNCTIONS -DENIGMA src/Version.cpp -o obj/Version.o
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/arm-linux-c++ obj/Version.o obj/InterfaceAttr.o obj/HttpServer.o obj/HttpcServer.o obj/Log.o obj/Properties.o obj/RtspServer.o obj/main.o obj/Satpi.o obj/Stream.o obj/StreamClient.o obj/StreamManager.o obj/StringConverter.o obj/Utils.o obj/base/M3UParser.o obj/base/Thread.o obj/base/ThreadBase.o obj/base/TimeCounter.o obj/base/XMLSaveSupport.o obj/base/XMLSupport.o obj/input/DeviceData.o obj/input/Transformation.o obj/input/dvb/Frontend.o obj/input/dvb/FrontendData.o obj/input/dvb/delivery/DiSEqc.o obj/input/dvb/delivery/DiSEqcEN50494.o obj/input/dvb/delivery/DiSEqcEN50607.o obj/input/dvb/delivery/DiSEqcLnb.o obj/input/dvb/delivery/DiSEqcSwitch.o obj/input/dvb/delivery/DVBC.o obj/input/dvb/delivery/DVBS.o obj/input/dvb/delivery/DVBT.o obj/input/dvb/delivery/Lnb.o obj/input/file/TSReader.o obj/input/file/TSReaderData.o obj/input/childpipe/TSReader.o obj/input/childpipe/TSReaderData.o obj/input/stream/Streamer.o obj/input/stream/StreamerData.o obj/mpegts/Filter.o obj/mpegts/PacketBuffer.o obj/mpegts/PAT.o obj/mpegts/PCR.o obj/mpegts/PidTable.o obj/mpegts/PMT.o obj/mpegts/SDT.o obj/mpegts/TableData.o obj/output/StreamThreadBase.o obj/output/StreamThreadHttp.o obj/output/StreamThreadRtcpBase.o obj/output/StreamThreadRtcp.o obj/output/StreamThreadRtcpTcp.o obj/output/StreamThreadRtp.o obj/output/StreamThreadRtpTcp.o obj/output/StreamThreadTSWriter.o obj/socket/HttpcSocket.o obj/socket/TcpSocket.o obj/socket/SocketAttr.o obj/socket/UdpSocket.o obj/upnp/ssdp/Server.o obj/decrypt/dvbapi/Client.o obj/decrypt/dvbapi/ClientProperties.o obj/decrypt/dvbapi/Keys.o obj/input/dvb/Frontend_DecryptInterface.o -o satpi -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv4 -pthread -lrt -ldvbcsa
/root/vu/opt/toolchains/stbgcc-8.3-0.4/bin/../lib/gcc/arm-unknown-linux-gnueabihf/8.3.0/../../../../arm-unknown-linux-gnueabihf/bin/ld: cannot find -ldvbcsa
collect2: error: ld returned 1 exit status
make: *** [Makefile:195: satpi] Error 1
Copy the lib from the receiver
You need to copy lib and header somewere in vu/opt/toolchains/stbgcc-8.3-0.4
(I do not know at the moment were. Have to look when I am at home again)
sorry i can't quite follow you. i would be grateful if you could get back to me when you are at home.
The header file dvbcsa.h
needs to go here:
~/vu/opt/toolchains/stbgcc-8.3-0.4/arm-unknown-linux-gnueabihf/include/c++/8.3.0/dvbcsa/
The lib file libdvbcsa.so
needs to go here:
~/vu/opt/toolchains/stbgcc-8.3-0.4/arm-unknown-linux-gnueabihf/lib/libdvbcsa.so
libdvbcsa.so
can be found on the receiver in /usr/lib/libdvbcsa.so.1.0.1
(just rename it to libdvbcsa.so)
You can install libdvbcsa package in (OpenATV or Teamblue) with:
opkg install libdvbcsa
root@gbue4k:/usr/lib# find / -name "libdvb*" /var/lib/opkg/info/libdvbsi++1.postinst /var/lib/opkg/info/libdvbsi++1.control /var/lib/opkg/info/libdvbsi++1.list /usr/lib/libdvbsi++.so.1 /usr/lib/libdvbsi++.so.1.0.0
root@gbue4k:/usr/lib# find / -name "*dvbcsa*" root@gbue4k:/usr/lib#
there is none /usr/lib/libdvbcsa.so.1.0.1
iam on teamblue image now
Sorry, You need to install the packages on the receivers with something like:
opkg install libdvbcsa
Sorry, You need to install the packages on the receivers with something like:
opkg install libdvbcsa
nice ! up and running ! thanks
Building Main Branch with LIBDVBCSA=yes. maybe releated to #145 ?