Good afternoon,
I have been trying to get Qt5 compiled, with a mkspec that will allow cross-compilation for beaglebone from Ubuntu 13.04. After a day of work, I am able to get Qt to accept the mkspecs (was using a tutorial for Qt4), however, the following error is thrown during ./configure :
qt-everywhere-opensource-src-5.1.0/qtbase/configure: 1269: shift: can't shift that many
qt-everywhere-opensource-src-5.1.0/qtbase/configure: 1269: shift: can't shift that many
To copy to clipboard, switch view to plain text mode
This is my configuration command:
./configure -developer-build -opensource -confirm-license -xplatform angstrom-arm-gnueabi-g++ -little-endian -prefix /usr/local/beaglebone/qt4.8-arm -c++11 -nomake
./configure -developer-build -opensource -confirm-license -xplatform angstrom-arm-gnueabi-g++ -little-endian -prefix /usr/local/beaglebone/qt4.8-arm -c++11 -nomake
To copy to clipboard, switch view to plain text mode
This is my mkspec file (named angstrom-arm-gnueabi-g++)
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
# modifications to g++.conf
QMAKE_CC = arm-angstrom-linux-gnueabi-gcc
QMAKE_CXX = arm-angstrom-linux-gnueabi-g++
QMAKE_LINK = arm-angstrom-linux-gnueabi-g++
QMAKE_LINK_SHLIB = arm-angstrom-linux-gnueabi-g++
# modifications to linux.conf
QMAKE_AR = arm-angstrom-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = arm-angstrom-linux-gnueabi-objcopy
QMAKE_STRIP = arm-angstrom-linux-gnueabi-strip
load(qt_config)
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
# modifications to g++.conf
QMAKE_CC = arm-angstrom-linux-gnueabi-gcc
QMAKE_CXX = arm-angstrom-linux-gnueabi-g++
QMAKE_LINK = arm-angstrom-linux-gnueabi-g++
QMAKE_LINK_SHLIB = arm-angstrom-linux-gnueabi-g++
# modifications to linux.conf
QMAKE_AR = arm-angstrom-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = arm-angstrom-linux-gnueabi-objcopy
QMAKE_STRIP = arm-angstrom-linux-gnueabi-strip
load(qt_config)
To copy to clipboard, switch view to plain text mode
All environments (i.e. angstrom toolchain) are installed and verified. Also, removal of the -nomake option will do nothing but display a help section with details on each of the configuration options. Any help would be greatly appreciated.
Bookmarks