Aktuell gebaut aus max für die AX (das reimt sich sogar )
Die Image-Information unterschlägt bei meinen Build aus dem unveränderten BS/Sourcen Einträge und zeigt dort das folgende an..
screenshot_ImageInfo.png
Die Versiondatei wird normal erstellt, im Image an gewohnter Stelle abgelegt und beinhaltet das folgende
Das Problem für uns, ist im Grunde das wir seit Jahren Neutrino in usr/bin/local liegen haben und durch ein Fehler in acinclude.m4,
wenn man native baut, TARGET_PREFIX immer de-aktiv war, da im mp-max die Änderung / Fehlerbeseitigung schon drin ist,
kommt es gerade dazu das die Pfade dann alle, auf /usr/local/ zeigen, wie es DboxOldie schon schrieb und das im Grunde auch richtig ist.
Bin mir noch nicht sicher wie ich das für mein MP löse, bis die anderen Version auch aktuell sind.
Am einfachsten wäre in acinclude.m4 zeile 58 eine # davor zusetzen, vielleicht fällt mir noch was anderes ein.
an dem TARGET_PREFIX hängen noch mehr Sachen mit dran.
string dirs[] = {TARGET_PREFIX"/opt/opkg/info", TARGET_PREFIX"/var/lib/opkg/info"}; nicht so wichtig
const char backup_sh[] = TARGET_PREFIX "/bin/backup.sh"; schon schlechter
DboxOldie hat geschrieben: ↑Mi 20. Dez 2017, 13:08
Man kann ja Symlink in /usr/local anlegen.
In /var/etc (/etc) gibt es ja auch einen, der nach /.version zeigt.
Ich habe es mal so gemacht, evtl. könnte man den Link zukünftig bereits durch das BS erzeugen, macht ja nix kaputt oder ?
checking for arm-cortex-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-cortex-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-cortex-linux-gnueabihf-gcc static flag -static works... yes
checking if arm-cortex-linux-gnueabihf-gcc supports -c -o file.o... yes
checking if arm-cortex-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-cortex-linux-gnueabihf-gcc linker (arm-cortex-linux-gnueabihf-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... arm-cortex-linux-gnueabihf-g++ -E
checking for ld used by arm-cortex-linux-gnueabihf-g++... arm-cortex-linux-gnueabihf-ld
checking if the linker (arm-cortex-linux-gnueabihf-ld) is GNU ld... yes
checking whether the arm-cortex-linux-gnueabihf-g++ linker (arm-cortex-linux-gnueabihf-ld) supports shared libraries... yes
checking for arm-cortex-linux-gnueabihf-g++ option to produce PIC... -fPIC -DPIC
checking if arm-cortex-linux-gnueabihf-g++ PIC flag -fPIC -DPIC works... yes
checking if arm-cortex-linux-gnueabihf-g++ static flag -static works... yes
checking if arm-cortex-linux-gnueabihf-g++ supports -c -o file.o... yes
checking if arm-cortex-linux-gnueabihf-g++ supports -c -o file.o... (cached) yes
checking whether the arm-cortex-linux-gnueabihf-g++ linker (arm-cortex-linux-gnueabihf-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for GSTREAMER... no
configure: error: Package requirements (gstreamer-1.0) were not met:
No package 'gstreamer-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
and GSTREAMER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make/neutrino.mk:137: recipe for target '/home/udog/buildsystem-ddt/.deps/libstb-hal-ddt.config.status' failed
make: *** [/home/udog/buildsystem-ddt/.deps/libstb-hal-ddt.config.status] Error 1
udog@ubuntu:~/buildsystem-ddt$
da deim mp-ddt alles mit deps festgenagelt wird, hilft nur make distclean vor dem Wechsel, zwischen gst und ffmpeg,
oder ein make libstb-hal-ddt-distclean, damit libstb-hal wieder richtig konfiguriert wird.
Folgende Benutzer bedankten sich beim Autor max für den Beitrag:
CXXLD neutrino
/home/dbo/bs-ddt/build_tmp/libstb-hal/.libs/libstb-hal.a(video.o): In function `decode_frame(AVCodecContext*, AVPacket&, _IO_FILE*)':
video.cpp:(.text._Z12decode_frameP14AVCodecContextR8AVPacketP8_IO_FILE+0xd8): undefined reference to `sws_getContext'
video.cpp:(.text._Z12decode_frameP14AVCodecContextR8AVPacketP8_IO_FILE+0x108): undefined reference to `sws_scale'
video.cpp:(.text._Z12decode_frameP14AVCodecContextR8AVPacketP8_IO_FILE+0x110): undefined reference to `sws_freeContext'
collect2: error: ld returned 1 exit status
Edit:
@SWSCALE_LIBS@ \ <---die fehlen im src/Makefile.am beim ddt-mp
Dann baut es durch
MfG DboxOldie
KEIN SUPPORT PER PN > Bitte das Forum benutzen und insWiki schauen
Patching libstb-hal-max completed
rm -rf /home/fritz/bs-ddt/buildsystem-ddt/build_tmp/libstb-hal
test -d /home/fritz/bs-ddt/buildsystem-ddt/build_tmp/libstb-hal || mkdir -p /home/fritz/bs-ddt/buildsystem-ddt/build_tmp/libstb-hal
cd /home/fritz/bs-ddt/buildsystem-ddt/build_tmp/libstb-hal; \
/home/fritz/bs-ddt/buildsystem-ddt/source/libstb-hal-max/autogen.sh; \
CC=arm-cortex-linux-gnueabihf-gcc CXX=arm-cortex-linux-gnueabihf-g++ LD=arm-cortex-linux-gnueabihf-ld NM=arm-cortex-linux-gnueabihf-nm AR=arm-cortex-linux-gnueabihf-ar AS=arm-cortex-linux-gnueabihf-as RANLIB=arm-cortex-linux-gnueabihf-ranlib STRIP=arm-cortex-linux-gnueabihf-strip OBJCOPY=arm-cortex-linux-gnueabihf-objcopy OBJDUMP=arm-cortex-linux-gnueabihf-objdump LN_S="ln -s" CFLAGS="-pipe -O2 -I/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/include" CPPFLAGS="-pipe -O2 -I/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/include" CXXFLAGS="-pipe -O2 -I/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/include" LDFLAGS="-Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/lib -L/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/lib -L/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/lib " PKG_CONFIG_PATH=/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/lib/pkgconfig \
/home/fritz/bs-ddt/buildsystem-ddt/source/libstb-hal-max/configure \
--enable-silent-rules \
--host=arm-cortex-linux-gnueabihf \
--build=x86_64-pc-linux-gnu \
--prefix= \
--with-target=cdk \
--with-boxtype=hd51 \
\
PKG_CONFIG=/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/host/bin/arm-cortex-linux-gnueabihf-pkg-config \
PKG_CONFIG_PATH=/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/lib/pkgconfig \
CFLAGS="-Wall -W -Wshadow -pipe -Os -D__KERNEL_STRICT_NAMES -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -funsigned-char -ffunction-sections -fdata-sections " CXXFLAGS="-Wall -W -Wshadow -pipe -Os -D__KERNEL_STRICT_NAMES -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -funsigned-char -ffunction-sections -fdata-sections " CPPFLAGS="-I/home/fritz/bs-ddt/buildsystem-ddt/tufsbox/cdkroot/usr/include -I/home/fritz/bs-ddt/buildsystem-ddt/cross/arm/hd51/arm-cortex-linux-gnueabihf/sys-root/usr/include -ffunction-sections -fdata-sections"
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:7: installing './compile'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
azbox/Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-cortex-linux-gnueabihf-strip... arm-cortex-linux-gnueabihf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-cortex-linux-gnueabihf
checking for style of include used by make... GNU
checking for arm-cortex-linux-gnueabihf-gcc... arm-cortex-linux-gnueabihf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-cortex-linux-gnueabihf-gcc accepts -g... yes
checking for arm-cortex-linux-gnueabihf-gcc option to accept ISO C89... none needed
checking whether arm-cortex-linux-gnueabihf-gcc understands -c and -o together... yes
checking dependency style of arm-cortex-linux-gnueabihf-gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking target... cdk
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for arm-cortex-linux-gnueabihf-gcc... (cached) arm-cortex-linux-gnueabihf-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-cortex-linux-gnueabihf-gcc accepts -g... (cached) yes
checking for arm-cortex-linux-gnueabihf-gcc option to accept ISO C89... (cached) none needed
checking whether arm-cortex-linux-gnueabihf-gcc understands -c and -o together... (cached) yes
checking dependency style of arm-cortex-linux-gnueabihf-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether arm-cortex-linux-gnueabihf-g++ accepts -g... yes
checking dependency style of arm-cortex-linux-gnueabihf-g++... gcc3
checking pkg-config is at least version 0.9.0... yes
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) 64
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for ld used by arm-cortex-linux-gnueabihf-gcc... arm-cortex-linux-gnueabihf-ld
checking if the linker (arm-cortex-linux-gnueabihf-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-cortex-linux-gnueabihf-nm
checking the name lister (arm-cortex-linux-gnueabihf-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to arm-cortex-linux-gnueabihf format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-cortex-linux-gnueabihf-ld option to reload object files... -r
checking for arm-cortex-linux-gnueabihf-objdump... arm-cortex-linux-gnueabihf-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-cortex-linux-gnueabihf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-cortex-linux-gnueabihf-ar... arm-cortex-linux-gnueabihf-ar
checking for archiver @FILE support... @
checking for arm-cortex-linux-gnueabihf-strip... (cached) arm-cortex-linux-gnueabihf-strip
checking for arm-cortex-linux-gnueabihf-ranlib... arm-cortex-linux-gnueabihf-ranlib
checking command to parse arm-cortex-linux-gnueabihf-nm output from arm-cortex-linux-gnueabihf-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-cortex-linux-gnueabihf-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-cortex-linux-gnueabihf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-cortex-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-cortex-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-cortex-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-cortex-linux-gnueabihf-gcc static flag -static works... yes
checking if arm-cortex-linux-gnueabihf-gcc supports -c -o file.o... yes
checking if arm-cortex-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-cortex-linux-gnueabihf-gcc linker (arm-cortex-linux-gnueabihf-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... arm-cortex-linux-gnueabihf-g++ -E
checking for ld used by arm-cortex-linux-gnueabihf-g++... arm-cortex-linux-gnueabihf-ld
checking if the linker (arm-cortex-linux-gnueabihf-ld) is GNU ld... yes
checking whether the arm-cortex-linux-gnueabihf-g++ linker (arm-cortex-linux-gnueabihf-ld) supports shared libraries... yes
checking for arm-cortex-linux-gnueabihf-g++ option to produce PIC... -fPIC -DPIC
checking if arm-cortex-linux-gnueabihf-g++ PIC flag -fPIC -DPIC works... yes
checking if arm-cortex-linux-gnueabihf-g++ static flag -static works... yes
checking if arm-cortex-linux-gnueabihf-g++ supports -c -o file.o... yes
checking if arm-cortex-linux-gnueabihf-g++ supports -c -o file.o... (cached) yes
checking whether the arm-cortex-linux-gnueabihf-g++ linker (arm-cortex-linux-gnueabihf-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for GSTREAMER... no
configure: error: Package requirements (gstreamer-1.0) were not met:
No package 'gstreamer-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
and GSTREAMER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make/neutrino.mk:579: die Regel für Ziel „/home/fritz/bs-ddt/buildsystem-ddt/.deps/libstb-hal-max.config.status“ scheiterte
make: *** [/home/fritz/bs-ddt/buildsystem-ddt/.deps/libstb-hal-max.config.status] Fehler 1
fritz@ubuntu:~/bs-ddt/buildsystem-ddt$