Build From Source Succeeds, But No Makefile Generated



  • Hey all,

    I need to build Qt 5.2.1 from source and cross compile it for arm i.MX6 in order to deploy application to my Yocto board (Wandboard Dual). I am building to cross compile with the Yocto master branch. I'm running into an issue when trying to build the source with the cross compiler. I downloaded qt-everywhere-opensource-5.2.1 "here":http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/. I then ran this command to configure it:

    @./configure -v -dont-process -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=/opt/poky/1.5+snapshot/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-linux-gnueabi- -sysroot /home/jay/master-qt-yocto/build/tmp/sysroots/wandboard-dual -prefix ~/master-qt5arm -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-accessibility -no-dbus -no-icu -no-directfb -evdev -no-fontconfig -no-opengl -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib@

    This results in "this":http://pastebin.com/nzS9gZGP output.

    After running this command, It apparently succeeds, yet there is no makefile generated. So trying to run make: *** No targets specified and no makefile found. Stop.d and no makefile found. Stop.@

    As you can see, there are some errors compiling some of the files. Those errors occur when I try and build 5.1.1 as well, but it succeeds in generating a makefile and I am able to make the source and install successfully.

    Does anyone know why it isn't generating a makefile?

    Thank you!



  • Hello,
    Just remove the : -dont-process and you shall be fine.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.