Leider kommt folgende Fehler, den ich nicht gefixt bekomme.
Er findet die cross-compiler Version von pkg-config nicht...
Gibt es die überhaupt? Ein Host pkg-config liegt in /usr/bin/pkg-config...
Code: Alles auswählen
License: LGPL version 2.1 or later
Creating config.mak and config.h...
WARNING: arm-cx2450x-linux-gnueabi-pkg-config not found, library detection may fail.
/bin/bash: line 62: : command not found
make: *** [/home/bellum/coolstream/cs-neutrino/deps/ffmpeg] Error 127
Code: Alles auswählen
$(D)/ffmpeg: $(ARCHIVE)/ffmpeg-$(FFMPEG-VER).tar.bz2 | $(TARGETPREFIX)
$(UNTAR)/ffmpeg-$(FFMPEG-VER).tar.bz2
cd $(BUILD_TMP)/ffmpeg-$(FFMPEG-VER) && \
CFLAGS=-march=armv6 \
./configure \
--disable-parsers \
--enable-parser=aac \
--enable-parser=aac_latm \
--enable-parser=ac3 \
--enable-parser=dca \
--enable-parser=mpeg4video \
--enable-parser=mpegvideo \
--enable-parser=mpegaudio \
--enable-parser=h264 \
--enable-parser=vc1 \
--enable-parser=dvdsub \
--enable-parser=dvbsub \
--disable-decoders \
--enable-decoder=dca \
--enable-decoder=dvdsub \
--enable-decoder=dvbsub \
--disable-demuxers \
--enable-demuxer=aac \
--enable-demuxer=ac3 \
--enable-demuxer=avi \
--enable-demuxer=mov \
--enable-demuxer=vc1 \
--enable-demuxer=mpegts \
--enable-demuxer=mpegtsraw \
--enable-demuxer=mpegps \
--enable-demuxer=mpegvideo \
--enable-demuxer=wav \
--enable-demuxer=pcm_s16be \
--enable-demuxer=mp3 \
--enable-demuxer=pcm_s16le \
--enable-demuxer=matroska \
--disable-encoders \
--disable-muxers \
--disable-ffplay \
--disable-ffmpeg \
--disable-ffserver \
--disable-static \
--disable-filters \
--arch=arm \
--cpu=armv6 \
--disable-protocols \
--enable-protocol=file \
--enable-bsfs \
--disable-devices \
--disable-swresample \
--disable-postproc \
--disable-swscale \
--disable-mmx \
--disable-altivec \
--disable-zlib \
--disable-network \
--enable-cross-compile \
--enable-shared \
--cross-prefix=$(TARGET)- \
--enable-bzlib \
--enable-debug \
--enable-stripping \
--target-os=linux \
--mandir=/.remove \
--prefix=/ && \
$(MAKE) && \
make install DESTDIR=$(PKGPREFIX)
rm -rf $(PKGPREFIX)/share/ffmpeg
cp -a $(PKGPREFIX)/* $(TARGETPREFIX)
cp $(BUILD_TMP)/ffmpeg-$(FFMPEG-VER)/version.h $(TARGETPREFIX)/lib/ffmpeg-version.h
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libavdevice.pc
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libavformat.pc
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libavcodec.pc
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libavutil.pc
rm -rf $(PKGPREFIX)/include $(PKGPREFIX)/lib/pkgconfig $(PKGPREFIX)/lib/*.so $(PKGPREFIX)/.remove