mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Report bug : Qt , Xorg
@ 2012-01-24 11:22 barhoumi mohtadi
  2012-01-24 19:33 ` Juergen Beisert
  0 siblings, 1 reply; 6+ messages in thread
From: barhoumi mohtadi @ 2012-01-24 11:22 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2198 bytes --]


Hello, 

I'm trying to re-build an embedded kernel with this time adding Xorg and Qt as new libraries ( i have succeded to run a minimal kernel before)
But the problem, is that i have received this error when running PTXdist images 

last lines from the logfile

g++ -o "/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-target/qt-everywhere-opensource-src-4.7.4-build/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o qfsfileengine_unix.o qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o  
make[1]: Leaving directory `/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-target/qt-everywhere-opensource-src-4.7.4-build/qmake'
Basic XLib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-target/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-ptx-g++.
make: *** [/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/state/qt4.prepare] Error 1

}}} 2012-01-24T12:06:54+0100 /usr/local/lib/ptxdist-2011.11.0/bin/ptxdist images; (exit value: 2)


I must also precise that there is no such folder ( qt-everywhere....) in the build target folder.

Can you see the cause of the problem.?

Thnaks a lot 


 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 2515 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Report bug : Qt , Xorg
  2012-01-24 11:22 [ptxdist] Report bug : Qt , Xorg barhoumi mohtadi
@ 2012-01-24 19:33 ` Juergen Beisert
  2012-01-25  8:39   ` barhoumi mohtadi
  2012-01-25 13:07   ` Michael Olbrich
  0 siblings, 2 replies; 6+ messages in thread
From: Juergen Beisert @ 2012-01-24 19:33 UTC (permalink / raw)
  To: ptxdist; +Cc: barhoumi mohtadi

Hi Barhoumi,

barhoumi mohtadi wrote:
> I'm trying to re-build an embedded kernel with this time adding Xorg and Qt
> as new libraries ( i have succeded to run a minimal kernel before) But the
> problem, is that i have received this error when running PTXdist images
>
> last lines from the logfile
>
> g++ -o
> "/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
>-target/qt-everywhere-opensource-src-4.7.4-build/bin/qmake" project.o
> property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o
> winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o
> xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o
> msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o
> initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o
> registry.o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o
> qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o
> qdatastream.o qbuffer.o qlist.o qfile.o qfsfileengine_unix.o
> qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o
> qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o
> qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o
> qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o
> qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o
> qxmlstream.o qxmlutils.o make[1]: Leaving directory
> `/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
>-target/qt-everywhere-opensource-src-4.7.4-build/qmake' Basic XLib
> functionality test failed!
>  You might need to modify the include and library search paths by editing
>  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> /home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-
>target/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-ptx-g++. make: ***
> [/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/state
>/qt4.prepare] Error 1
>
> }}} 2012-01-24T12:06:54+0100 /usr/local/lib/ptxdist-2011.11.0/bin/ptxdist
> images; (exit value: 2)
>
>
> I must also precise that there is no such folder ( qt-everywhere....) in
> the build target folder.
>
> Can you see the cause of the problem.?

You last comment on the IRC was: "it works" after enabling Qt's X support???

Did you configure your Qt to use the X environment instead of the plain 
framebuffer?

$ ptxdist menuconfig
    Graphics & Multimedia --->
       qt ---> 
          <*> qt --->
             build options --->
                platform (X11     )  --->

This should do the job.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Report bug : Qt , Xorg
  2012-01-24 19:33 ` Juergen Beisert
@ 2012-01-25  8:39   ` barhoumi mohtadi
  2012-01-25  9:09     ` Juergen Beisert
  2012-01-25 13:07   ` Michael Olbrich
  1 sibling, 1 reply; 6+ messages in thread
From: barhoumi mohtadi @ 2012-01-25  8:39 UTC (permalink / raw)
  To: jbe, ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3312 bytes --]


Hi,

Nope , in fact , that was the problem
I had to check embedded and not X11 as platform to get this error solved.

Regards,


> From: jbe@pengutronix.de
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Report bug : Qt , Xorg
> Date: Tue, 24 Jan 2012 20:33:35 +0100
> CC: mohtadi_barhoumi@hotmail.fr
> 
> Hi Barhoumi,
> 
> barhoumi mohtadi wrote:
> > I'm trying to re-build an embedded kernel with this time adding Xorg and Qt
> > as new libraries ( i have succeded to run a minimal kernel before) But the
> > problem, is that i have received this error when running PTXdist images
> >
> > last lines from the logfile
> >
> > g++ -o
> > "/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
> >-target/qt-everywhere-opensource-src-4.7.4-build/bin/qmake" project.o
> > property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o
> > winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o
> > xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o
> > msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o
> > initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o
> > registry.o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o
> > qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o
> > qdatastream.o qbuffer.o qlist.o qfile.o qfsfileengine_unix.o
> > qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o
> > qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o
> > qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o
> > qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o
> > qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o
> > qxmlstream.o qxmlutils.o make[1]: Leaving directory
> > `/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
> >-target/qt-everywhere-opensource-src-4.7.4-build/qmake' Basic XLib
> > functionality test failed!
> >  You might need to modify the include and library search paths by editing
> >  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> > /home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-
> >target/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-ptx-g++. make: ***
> > [/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/state
> >/qt4.prepare] Error 1
> >
> > }}} 2012-01-24T12:06:54+0100 /usr/local/lib/ptxdist-2011.11.0/bin/ptxdist
> > images; (exit value: 2)
> >
> >
> > I must also precise that there is no such folder ( qt-everywhere....) in
> > the build target folder.
> >
> > Can you see the cause of the problem.?
> 
> You last comment on the IRC was: "it works" after enabling Qt's X support???
> 
> Did you configure your Qt to use the X environment instead of the plain 
> framebuffer?
> 
> $ ptxdist menuconfig
>     Graphics & Multimedia --->
>        qt ---> 
>           <*> qt --->
>              build options --->
>                 platform (X11     )  --->
> 
> This should do the job.
> 
> Regards,
> Juergen
> 
> -- 
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4094 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Report bug : Qt , Xorg
  2012-01-25  8:39   ` barhoumi mohtadi
@ 2012-01-25  9:09     ` Juergen Beisert
  2012-01-25  9:14       ` barhoumi mohtadi
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Beisert @ 2012-01-25  9:09 UTC (permalink / raw)
  To: ptxdist; +Cc: barhoumi mohtadi

Hi Barhoumi,

barhoumi mohtadi wrote:
> Nope , in fact , that was the problem
> I had to check embedded and not X11 as platform to get this error solved.

Hmm, strange. Then you will end up with a Qt library which does not use X.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Report bug : Qt , Xorg
  2012-01-25  9:09     ` Juergen Beisert
@ 2012-01-25  9:14       ` barhoumi mohtadi
  0 siblings, 0 replies; 6+ messages in thread
From: barhoumi mohtadi @ 2012-01-25  9:14 UTC (permalink / raw)
  To: jbe, ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 939 bytes --]


Is this abnormal ( to get an error when checking X11 and to not use  X11 as well???) ( still compiling here and waiting for the result)
Cause, first of all, after testing the application on Poseidon, I won't need the GUI anymore...

Will let you know if it will work ( or not :D )

> From: jbe@pengutronix.de
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Report bug : Qt , Xorg
> Date: Wed, 25 Jan 2012 10:09:11 +0100
> CC: mohtadi_barhoumi@hotmail.fr
> 
> Hi Barhoumi,
> 
> barhoumi mohtadi wrote:
> > Nope , in fact , that was the problem
> > I had to check embedded and not X11 as platform to get this error solved.
> 
> Hmm, strange. Then you will end up with a Qt library which does not use X.
> 
> Regards,
> Juergen
> 
> -- 
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1323 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Report bug : Qt , Xorg
  2012-01-24 19:33 ` Juergen Beisert
  2012-01-25  8:39   ` barhoumi mohtadi
@ 2012-01-25 13:07   ` Michael Olbrich
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2012-01-25 13:07 UTC (permalink / raw)
  To: ptxdist

On Tue, Jan 24, 2012 at 08:33:35PM +0100, Juergen Beisert wrote:
> Hi Barhoumi,
> 
> barhoumi mohtadi wrote:
> > I'm trying to re-build an embedded kernel with this time adding Xorg and Qt
> > as new libraries ( i have succeded to run a minimal kernel before) But the
> > problem, is that i have received this error when running PTXdist images
> >
> > last lines from the logfile
> >
> > g++ -o
> > "/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
> >-target/qt-everywhere-opensource-src-4.7.4-build/bin/qmake" project.o
> > property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o
> > winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o
> > xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o
> > msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o
> > initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o
> > registry.o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o
> > qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o
> > qdatastream.o qbuffer.o qlist.o qfile.o qfsfileengine_unix.o
> > qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o
> > qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o
> > qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o
> > qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o
> > qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o
> > qxmlstream.o qxmlutils.o make[1]: Leaving directory
> > `/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
> >-target/qt-everywhere-opensource-src-4.7.4-build/qmake' Basic XLib
> > functionality test failed!
> >  You might need to modify the include and library search paths by editing
> >  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> > /home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-
> >target/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-ptx-g++. make: ***
> > [/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/state
> >/qt4.prepare] Error 1
> >
> > }}} 2012-01-24T12:06:54+0100 /usr/local/lib/ptxdist-2011.11.0/bin/ptxdist
> > images; (exit value: 2)
> >
> >
> > I must also precise that there is no such folder ( qt-everywhere....) in
> > the build target folder.
> >
> > Can you see the cause of the problem.?
> 
> You last comment on the IRC was: "it works" after enabling Qt's X support???
> 
> Did you configure your Qt to use the X environment instead of the plain 
> framebuffer?
> 
> $ ptxdist menuconfig
>     Graphics & Multimedia --->

make sure that "xorg" ist selected as well in this menu. Otherwise you'll
get some "unmet direct dependencies" warnings, and the BSP will no build.

Michael

>        qt ---> 
>           <*> qt --->
>              build options --->
>                 platform (X11     )  --->

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-01-25 13:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-24 11:22 [ptxdist] Report bug : Qt , Xorg barhoumi mohtadi
2012-01-24 19:33 ` Juergen Beisert
2012-01-25  8:39   ` barhoumi mohtadi
2012-01-25  9:09     ` Juergen Beisert
2012-01-25  9:14       ` barhoumi mohtadi
2012-01-25 13:07   ` Michael Olbrich

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