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: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h>

Part Number: AM5728

Tool/software: Linux

I have this error during compile simple program from Qt/

In file included from /home/ilya/Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/features.h:389:0,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426,
from /usr/include/c++/4.8/cstddef:41,
from ../../../Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/qt5/QtCore/qglobal.h:39,
from ../../../Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/qt5/QtGui/qwindowdefs.h:37,
from ../../../Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/qt5/QtWidgets/qwidget.h:37,
from ../../../Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/qt5/QtWidgets/qmainwindow.h:37,
from ../../../Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/qt5/QtWidgets/QMainWindow:1,
from mainwindow.h:4,
from main.cpp:1:
/home/ilya/Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/include/gnu/stubs.h:6:29: fatal error: gnu/stubs-soft.h: No such file or directory
# include <gnu/stubs-soft.h>
^
compilation terminated.
make: *** [main.o] Error 1
16:57:24: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project test (kit: linaro-toolchain)
When executing step "Make"

My environment is:

Debugger - /gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gdb
Compilers - /gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
Qt Version - /ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qt5/qmake
For run Qt i use my script:
cd /home/ilya/Desktop/sitara/sdk/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/linux-devkit
source environment-setup
qtcreator  
In my file .pro :

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = test
TEMPLATE = app


SOURCES += main.cpp\
mainwindow.cpp

HEADERS += mainwindow.h

FORMS += mainwindow.ui

target.path += /home/root
INSTALLS += target

Some time ago, I ran a program with similar settings and it worked, but when I added some files (most likely because of #include <features.h>...), this error occurs.
What is the reason for this error?