[Qt-creator] [Interest] qt giving the ld error
Nilesh Kokane
nilesh.kokane at mindastoneridge.com
Tue Aug 12 11:06:54 CEST 2014
Hi Tobias, Thanks for your valuable suggestions first of all.
I just tried feeding the override make : /usr/bin/make
with this its giving the following error.
14:36:43: Running steps for project clocks...
14:36:43: Configuration unchanged, skipping qmake step.
14:36:43: Starting: "/usr/bin/make"
arm-linux-gnueabi-g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIE
-DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB
-DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-arm-gnueabi-g++
-I/home/minda/Qt5.3.1/Examples/Qt-5.3/quick/demos/clocks
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtQuick
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtQml
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtNetwork
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtGui
-I/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtCore
-I.
-I/home/minda/bin/fsl-community-bsp/build/tmp/sysroots/wandboard-solo/usr/include/libdrm
-I. -o main.o
/home/minda/Qt5.3.1/Examples/Qt-5.3/quick/demos/clocks/main.cpp
make: arm-linux-gnueabi-g++: Command not found
make: *** [main.o] Error 127
14:36:43: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project clocks (kit: wandboard)
When executing step 'Make'
14:36:43: Elapsed time: 00:0
Can you please suggest for the error.
Thanks
Nilesh Kokane
On Tue, Aug 12, 2014 at 1:07 PM, Tobias Hunger <tobias.hunger at gmail.com>
wrote:
> Hi there,
>
> Your Sep id's wrong in that it should use make for your host, *not* the
> one from the sysroot.
>
> Your sysroot contains binaries build for your target machine (most likely
> ARM), which your build machine (most likely Intel) does not understand.
>
> Hope this helps to get you on the right track,
> Tobias
> On Aug 11, 2014 2:35 PM, "Nilesh Kokane" <
> nilesh.kokane at mindastoneridge.com> wrote:
>
>> Hi Ch'Gans,
>>
>>
>> I have a final setup of Qt-creator as follows.I ran the script in the
>> /opt/poky/1.6.1/ and opened the qt-creator from the concole. with this
>> settings as below i'm trying to cross-compile the sample clock code
>>
>>
>> 1. General http://picpaste.com/1-gAmJsS3o.png
>> 2. Kits http://picpaste.com/2-Y3kFvHIG.png
>> 3. Qt version http://picpaste.com/3-lwZngysy.png
>> 4 compiler http://picpaste.com/4-M4y6gJYb.png
>> 5. Debugger http://picpaste.com/5-DQhrxi6t.png6. CMake
>> http://picpaste.com/6-l3FhICDq.png
>> 7. Build Settings http://picpaste.com/7-4myooBgL.png
>>
>> With the settings ,clock code is giving me error[8].
>>
>> 8. http://picpaste.com/8-kGmTWy3P.png
>>
>> 14:32:34: Running steps for project clocks...
>>
>> 14:32:34: Could not start process
>> "/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/bin/make"
>> clean
>>
>> Error while building/deploying project clocks (kit: wandboard)
>>
>> When executing step 'Make'
>>
>> 14:32:34: Elapsed time: 00:00.
>>
>>
>> Please if you can assist.
>>
>>
>>
>> Thanks
>>
>> Nilesh Kokane
>>
>>
>>
>>
>>
>> “The contents of this e-mail message and any attachments are confidential
>> and are intended solely for addressee. The information may also be legally
>> privileged. This transmission is sent in trust, for the sole purpose of
>> delivery to the intended recipient. If you have received this transmission
>> in error, any use, reproduction or dissemination of this transmission is
>> strictly prohibited. If you are not the intended recipient, please
>> immediately notify the sender by reply e-mail or phone and delete this
>> message and its attachments, if any.”
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>
>>
--
Thanks
Nilesh Kokane
--
“The contents of this e-mail message and any attachments are confidential
and are intended solely for addressee. The information may also be legally
privileged. This transmission is sent in trust, for the sole purpose of
delivery to the intended recipient. If you have received this transmission
in error, any use, reproduction or dissemination of this transmission is
strictly prohibited. If you are not the intended recipient, please
immediately notify the sender by reply e-mail or phone and delete this
message and its attachments, if any.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140812/ed7d399f/attachment.html>
More information about the Qt-creator
mailing list