From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WYUPB-0008VL-NA for ptxdist@pengutronix.de; Fri, 11 Apr 2014 07:53:38 +0200 Received: by mail-ee0-f50.google.com with SMTP id c13so3735027eek.9 for ; Thu, 10 Apr 2014 22:53:31 -0700 (PDT) Received: from omega (p200300648D019301E2CB4EFFFE1BB546.dip0.t-ipconnect.de. [2003:64:8d01:9301:e2cb:4eff:fe1b:b546]) by mx.google.com with ESMTPSA id y7sm15082006eev.5.2014.04.10.22.53.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Apr 2014 22:53:31 -0700 (PDT) Date: Fri, 11 Apr 2014 07:53:21 +0200 From: Alexander Aring Message-ID: <20140411054814.GA5058@omega> References: <53454730.6040702@robotikdose.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <53454730.6040702@robotikdose.com> Subject: Re: [ptxdist] use ffmpeg set error in qt4 compilation Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Wed, Apr 09, 2014 at 03:12:16PM +0200, jerome gaudichon wrote: > Hello, > > I use already Qt4.7.4 in a phytec BSP without errors. > I try to integrate ffmpeg option (I select broken option in ptxdist option) > > when I launch ptxdist go, I have this log in Qt : > > ------------------- > target: qt4.prepare > ------------------- > > pkg_deprecated_env="SYSROOT="/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-target" > PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-target/lib/pkgconfig:/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-target/usr/lib/pkgconfig:/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-target/share/pkgconfig:/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-target/usr/share/pkgconfig' PKG_CONFIG="/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-cross/bin/arm-cortexa8-linux-gnueabi-pkg-config"" > > pkg_deprecated_autoconf="-opensource -confirm-license -release -no-rpath > -no-fast -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql > -no-sql-sqlite2 -no-qt3support -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 > -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-optimized-qmake -no-nis -no-cups > -pch -reduce-relocations -force-pkg-config -prefix /usr -no-armfpa -make > libs -nomake docs -little-endian -embedded armv6 -qt-decoration-styled > -depths all -xplatform qws/linux-ptx-g++ -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/sysroot-target/usr/include/freetype2 > -iconv -largefile -stl -glib -openssl -multimedia -audio-backend -phonon > -phonon-backend -webkit -script -svg -script -qt-gfx-linuxfb > -qt-gfx-transformed -qt-gfx-vnc -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-pc > -qt-mouse-linuxinput -qt-mouse-tslib -qt-libtiff -qt-gif -qt-sql-sqlite > -system-libpng -system-libjpeg -system-zlib -system-freetype -no-neon > -no-gfx-directfb -no-gfx-svgalib -no-gfx-qvfb -no-gfx-multiscreen > -no-kbd-qvfb -no-mouse-linuxtp -no-mouse-qvfb -no-libmng -no-egl > -no-xmlpatterns -no-exceptions -no-scripttools -no-declarative -dbus > -no-opengl -shared -nomake tools -nomake examples -nomake demos" > > -no-gfx-svgalib: unknown argument > -no-gfx-qvfb: unknown argument > -no-gfx-multiscreen: unknown argument > -no-kbd-qvfb: unknown argument > -no-mouse-linuxtp: unknown argument > -no-mouse-qvfb: unknown argument > > You have asked to use pkg-config and are cross-compiling. > Please make sure you have a correctly set-up pkg-config > environment! > > > Warning: PKG_CONFIG_PATH has not been set. This could mean > the host compiler's .pc files will be used. This is probably > not what you want. > > ... > > Why this error ? > The error occurs because the argument "-no-gfx-svgalib -no-gfx-qvfb ..." and the buldsystem doesn't know it. ffmpeg is also marked as broken: Quoting PTXCONF_BROKEN: "If this option is checked, even packets are activated which are known to be broken." So don't be suprised that ffmpeg doesn't work for you. :-) Maybe remove the unkown argument, I don't know but I think that would be one of your smallest problems. - Alex -- ptxdist mailing list ptxdist@pengutronix.de