From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.131]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WYVjb-0003pA-O3 for ptxdist@pengutronix.de; Fri, 11 Apr 2014 09:18:48 +0200 Message-ID: <53479741.80802@robotikdose.com> Date: Fri, 11 Apr 2014 09:18:25 +0200 From: jerome gaudichon MIME-Version: 1.0 References: <53454730.6040702@robotikdose.com> <20140411054814.GA5058@omega> In-Reply-To: <20140411054814.GA5058@omega> 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Ok, I understand. But why qt4.make generate wrong argument in prepare process when = PTXCONF_BROKEN is selected ? jerome Le 11/04/2014 07:53, Alexander Aring a =E9crit : > 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 opti= on) >> >> when I launch ptxdist go, I have this log in Qt : >> >> ------------------- >> target: qt4.prepare >> ------------------- >> >> pkg_deprecated_env=3D"SYSROOT=3D"/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.= 2ebox/platform-eBox/sysroot-target" >> PKG_CONFIG_PATH=3D'' PKG_CONFIG_LIBDIR=3D'/opt/PHYTEC_BSPs/phyCORE-AM335= x-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/s= hare/pkgconfig:/opt/PHYTEC_BSPs/phyCORE-AM335x-PD12.1.2ebox/platform-eBox/s= ysroot-target/usr/share/pkgconfig' PKG_CONFIG=3D"/opt/PHYTEC_BSPs/phyCORE-A= M335x-PD12.1.2ebox/platform-eBox/sysroot-cross/bin/arm-cortexa8-linux-gnuea= bi-pkg-config"" >> >> pkg_deprecated_autoconf=3D"-opensource -confirm-license -release -no-rpa= th >> -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-ss= e3 >> -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-AM33= 5x-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