mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] use ffmpeg set error in qt4 compilation
@ 2014-04-09 13:12 jerome gaudichon
  2014-04-11  5:53 ` Alexander Aring
  0 siblings, 1 reply; 6+ messages in thread
From: jerome gaudichon @ 2014-04-09 13:12 UTC (permalink / raw)
  To: ptxdist

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 ?

best regards

jérôme


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] use ffmpeg set error in qt4 compilation
  2014-04-09 13:12 [ptxdist] use ffmpeg set error in qt4 compilation jerome gaudichon
@ 2014-04-11  5:53 ` Alexander Aring
  2014-04-11  7:18   ` jerome gaudichon
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Aring @ 2014-04-11  5:53 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] use ffmpeg set error in qt4 compilation
  2014-04-11  5:53 ` Alexander Aring
@ 2014-04-11  7:18   ` jerome gaudichon
  2014-04-11  7:31     ` Alexander Aring
  0 siblings, 1 reply; 6+ messages in thread
From: jerome gaudichon @ 2014-04-11  7:18 UTC (permalink / raw)
  To: ptxdist

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 écrit :
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] use ffmpeg set error in qt4 compilation
  2014-04-11  7:18   ` jerome gaudichon
@ 2014-04-11  7:31     ` Alexander Aring
  2014-04-11  7:38       ` jerome gaudichon
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Aring @ 2014-04-11  7:31 UTC (permalink / raw)
  To: ptxdist

On Fri, Apr 11, 2014 at 09:18:25AM +0200, jerome gaudichon wrote:
> Ok, I understand.
> But why qt4.make generate wrong argument in prepare process when
> PTXCONF_BROKEN is selected ?
> 

Maybe that is the reason why it's BROKEN. :-)

Look at [0]. There are some option which depends on BROKEN. Maybe you
have enable this. If you don't need these option try to disable these.

I don't know exaclty what you doing in your BSP, if you have some
special rules or something else... sry for my bad answers which doesn't
give you any new information about your problem.

- Alex

[0] http://git.pengutronix.de/?p=ptxdist.git;a=blob;f=rules/qt4.in;h=b690c832a763b89fef1dcfbf1c42f6bfab12dbc0;hb=HEAD

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] use ffmpeg set error in qt4 compilation
  2014-04-11  7:31     ` Alexander Aring
@ 2014-04-11  7:38       ` jerome gaudichon
  2014-04-11  7:40         ` Alexander Aring
  0 siblings, 1 reply; 6+ messages in thread
From: jerome gaudichon @ 2014-04-11  7:38 UTC (permalink / raw)
  To: ptxdist

OK, thank you. I hadn't had idea to look qt4.in.

I see why I have these errors. I need to patch this file.

jerome

Le 11/04/2014 09:31, Alexander Aring a écrit :
> On Fri, Apr 11, 2014 at 09:18:25AM +0200, jerome gaudichon wrote:
>> Ok, I understand.
>> But why qt4.make generate wrong argument in prepare process when
>> PTXCONF_BROKEN is selected ?
>>
> Maybe that is the reason why it's BROKEN. :-)
>
> Look at [0]. There are some option which depends on BROKEN. Maybe you
> have enable this. If you don't need these option try to disable these.
>
> I don't know exaclty what you doing in your BSP, if you have some
> special rules or something else... sry for my bad answers which doesn't
> give you any new information about your problem.
>
> - Alex
>
> [0] http://git.pengutronix.de/?p=ptxdist.git;a=blob;f=rules/qt4.in;h=b690c832a763b89fef1dcfbf1c42f6bfab12dbc0;hb=HEAD
>


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] use ffmpeg set error in qt4 compilation
  2014-04-11  7:38       ` jerome gaudichon
@ 2014-04-11  7:40         ` Alexander Aring
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Aring @ 2014-04-11  7:40 UTC (permalink / raw)
  To: ptxdist

On Fri, Apr 11, 2014 at 09:38:37AM +0200, jerome gaudichon wrote:
> OK, thank you. I hadn't had idea to look qt4.in.
> 
> I see why I have these errors. I need to patch this file.
> 

Yea, there is also a nice comment:

# libsvga is currently not in ptxdist
#	select LIBSVGA		if QT4_GFX_SVGA_PLUGIN

would make sense that pkgconfig don't find anything for libsvga.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-11  7:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-09 13:12 [ptxdist] use ffmpeg set error in qt4 compilation jerome gaudichon
2014-04-11  5:53 ` Alexander Aring
2014-04-11  7:18   ` jerome gaudichon
2014-04-11  7:31     ` Alexander Aring
2014-04-11  7:38       ` jerome gaudichon
2014-04-11  7:40         ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox