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/PROCESSOR-SDK-AM335X: Linux/PROCESSOR-SDK-AM335X

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi I tried to compile the Qt Program. I hit the followign error.

/ti-sdk-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory

I tried with following SDK kits.

AM335x 03.03.00.04 

AM335x 03.02.00.05

AM335x 04.00.00.04 

I know this issue has been raised earlier also. Looking at the solution, my issue is not resolved. 

Is there any solution to solve this problem without downgrading SDK version. 

  • Hi,

    Can you share your environment? Maybe you've missed some exports.
    Try executing the following before make:
    export SDK_PATH=/opt/sdk/ti-processor-sdk-linux-am335x-evm-03.02.00.05/linux-devkit
    export PATH=$SDK_PATH/sysroots/x86_64-arago-linux/usr/bin:$PATH
    export ARCH=arm
    export CFLAGS=" -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard"
    export CPPFLAGS=" -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard"

    ./configure \
    --host=arm-linux-gnueabihf \
    --build=x86_64-linux \
    --with-sysroot=$SDK_PATH/sysroots/armv7ahf-neon-linux-gnueabi \
    --with-png=no

    Best Regards,
    Yordan
  • I have downloaded the following one-by-one
    1. AM335x 03.03.00.04
    2. AM335x 03.02.00.05
    3. AM335x 04.00.00.04

    Tried the following setup for each of the above kits. Evertying failed.
    1. source environment-setup
    2. Starting the Qt creator from command line.
    3. Configured the Qt Kits
    4. Created new project & tried compiling.

    All the above steps failed for all the above kits.

    Now
    1. I downloaded ti-processor-sdk-linux-am335x-evm-03.01.00.06. (This is my fourth download).
    2. I did the same above steps.
    3. It works.

    It is issue with Qmake Spec supplied with earlier versions of SDK.

    Now

    1. I used the qmake & compilers from ti-processor-sdk-linux-am335x-evm-03.01.00.06
    2. Linked against higher versions of ti SDK kit which are listed above.
    3. It all works fine.

    So it is clearly issue with Qmake supplied with earlier version of SDK kit. All the earlier SDK kits dont show the appropriate qmake spec. I can see this issue on the command line on outputs. Some how those qmakes are taking the g++ spec for desktop. Hence it fails.

    My input on this issue if you are working with Qt.
    1. ti-processor-sdk-linux-am335x-evm-03.01.00.06 works.
    2. Higher versions of SDK kits above this don't work for Qt.
    3. It is not issue with Qt libraries in those SDK kits. I have worked with those library using Raspi kit. They wll work.
    4. It clearly as issue with qmake supplied with above kits.

    TI should fix this issue in Qmake.

    Hope this helps others as well.
  • Thanks for the update.

    Best Regards,
    Yordan