This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Qt cross compilation error

Part Number: AM5728

Tool/software: Linux

Hi ,

I am trying to cross compile qt-everywhere-opensource-src-5.7.1.

I am using ti-processor-sdk-linux-am57xx-evm-04.02.00.09 SDK

I am using gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf Tool Chain.

While Cross compiling the qt i am getting error like:

/home/antriksh/ti-processor-sdk-linux-am57xx-evm-04.02.00.09/targetNFS/usr/lib/crt1.o: In function `_start':

/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/snapshots/glibc.git~linaro~2.23~master/csu/../sysdeps/arm/start.S:119: undefined reference to `main'
collect2: error: ld returned 1 exit status
Makefile:1314: recipe for target '../../lib/libQt5Core..5.7.1' failed.

I couldnt understand from where tcwg-buildslave user came.

If you crosscheck the current user:

antriksh@antriksh:~$ whoami
antriksh

Please let me know the root cause for the undefined reference error.

Regards,

Biswajit