Hi,
I tried Configuring Cross Compiling for Nvidia Jetson TX2 on Ubuntu 64 bit as per your link above https://www.innovative-dsp.com/ftp/jetson/Configure%20Cross%20Compiling%20for%20Nvidia%20Jetson%20TX2%20on%20Ubuntu%2064%20bit.pdf
However, I ran into the following issues. Could you let know how you resolved these issues?
- Jetpack 3.0 can be installed only Ubuntu 14.04 and so my host is a Ubuntu 14.04.
While executing the command below in Section 1 for the host, I got the message “Unable to locate package gcc-5-arm-linux-gnueabi”
, “Unable to locate package g+±5-arm-linux-gnueabi”
Could You let know how you resolved this issue?
[b]#Install the GCC ARM toolset Linaro **VERSION 5
Run the following command,
sudo apt-get install -y gcc-5-arm-linux-gnueabi g+±5-arm-linux-gnueabi [/b]
2)In Section 2 - Compile Qt, while trying to install Qt by the command ‘sudo make install’, the following undefined reference errors were observed.
Any pointers as to the cause of the error and how you resolved it?
_tx2/rootfs/usr/lib/aarch64-linux-gnu -L/usr/lib/aarch64-linux-gnu -L/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib -lQt5SerialBus -L/opt/qt-everywhere-opensource-src-5.9.0/qtbase/lib -lQt5Core -lpthread
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QTcpServer::newConnection()@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QTcpServer::QTcpServer(QObject*)@Qt_5’
/home/Downloads/64_TX2/Linux_for_Tegra_tx2/rootfs/usr/lib/aarch64-linux-gnu/libQt5Network.so.5: undefined reference to qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*)' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QTcpServer::acceptError(QAbstractSocket::SocketError)@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to `QTcpServer::close()@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QHostAddress::~QHostAddress()@Qt_5' /home/Downloads/64_TX2/Linux_for_Tegra_tx2/rootfs/usr/lib/aarch64-linux-gnu/libQt5Network.so.5: undefined reference to
qIsEffectiveTLD(QString const&)’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QAbstractSocket::connected()@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QAbstractSocket::peerName() const@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QAbstractSocket::state() const@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QAbstractSocket::staticMetaObject@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QAbstractSocket::error(QAbstractSocket::SocketError)@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QTcpServer::isListening() const@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QAbstractSocket::peerAddress() const@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QAbstractSocket::disconnected()@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QTcpServer::errorString() const@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QTcpSocket::QTcpSocket(QObject*)@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QHostAddress::QHostAddress(QString const&)@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QAbstractSocket::peerPort() const@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to QTcpServer::staticMetaObject@Qt_5' /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to
QTcpServer::listen(QHostAddress const&, unsigned short)@Qt_5’
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/lib/libQt5SerialBus.so: undefined reference to operator<<(QDebug, QHostAddress const&)@Qt_5' collect2: error: ld returned 1 exit status make[4]: *** [../../../bin/canbusutil] Error 1 make[4]: Leaving directory
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/src/tools/canbusutil’
make[3]: *** [sub-canbusutil-install_subtargets] Error 2
make[3]: Leaving directory /opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/src/tools' make[2]: *** [sub-tools-install_subtargets] Error 2 make[2]: Leaving directory
/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus/src’
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory `/opt/qt-everywhere-opensource-src-5.9.0/qtserialbus’
make: *** [module-qtserialbus-install_subtargets] Error 2
vm@vm-VirtualBox:/opt/qt-everywhere-opensource-src-5.9.0$
- After successful creation and deployment of a Qt app exe to the target Jetson TX2 device, should an attempt to execute in the target Jetson TX2 board be successful?
After the Section 2 - sudo make install on the host, when doing the resync operation under #Copy Qt5 to the Jetson Device, does the host and the device get synced with the environment required for executing Qt app exe on the target board? Does rsync’ng along the ‘qt5’ folder from the host to the target device suffice for this case? Please advise.
Thanks
M