Ok;
We have something weird going on here (?) I started with a fresh VM and just installed the tool chain, from the file I had previously downloaded. I then gave myself root access and went to the “/usr/local/angstrom/bin” directory. Here’s what happened: root@ubuntu:/usr/local/angstrom/arm/bin# arm-angstrom-linux-gnueabi-g++ arm-angstrom-linux-gnueabi-g++: command not found root@ubuntu:/usr/local/angstrom/arm/bin# arm-angstrom-linux-gnueabi-g++ --version arm-angstrom-linux-gnueabi-g++: command not found root@ubuntu:/usr/local/angstrom/arm/bin# ./arm-angstrom-linux-gnueabi-g++ --version bash: ./arm-angstrom-linux-gnueabi-g++: No such file or directory When I type “ls –l” I get: -rwxr-xr-x 1 root root 483996 Mar 16 2011 arm-angstrom-linux-gnueabi-addr2line -rwxr-xr-x 1 root root 503544 Mar 16 2011 arm-angstrom-linux-gnueabi-ar -rwxr-xr-x 1 root root 853272 Mar 16 2011 arm-angstrom-linux-gnueabi-as -rwxr-xr-x 1 root root 483800 Mar 16 2011 arm-angstrom-linux-gnueabi-c++filt -rwxr-xr-x 1 root root 436563 Mar 16 2011 arm-angstrom-linux-gnueabi-cpp -rwxr-xr-x 1 root root 438687 Mar 16 2011 arm-angstrom-linux-gnueabi-g++ -rwxr-xr-x 1 root root 434700 Mar 16 2011 arm-angstrom-linux-gnueabi-gcc -rwxr-xr-x 1 root root 17422 Mar 16 2011 arm-angstrom-linux-gnueabi-gccbug -rwxr-xr-x 1 root root 75976 Mar 16 2011 arm-angstrom-linux-gnueabi-gcov -rwxr-xr-x 1 root root 3184888 Mar 16 2011 arm-angstrom-linux-gnueabi-gdb -rwxr-xr-x 1 root root 3184892 Mar 16 2011 arm-angstrom-linux-gnueabi-gdbtui -rwxr-xr-x 1 root root 442039 Mar 16 2011 arm-angstrom-linux-gnueabi-gfortran -rwxr-xr-x 1 root root 538904 Mar 16 2011 arm-angstrom-linux-gnueabi-gprof -rwxr-xr-x 1 root root 873752 Mar 16 2011 arm-angstrom-linux-gnueabi-ld -rwxr-xr-x 1 root root 490292 Mar 16 2011 arm-angstrom-linux-gnueabi-nm -rwxr-xr-x 1 root root 629144 Mar 16 2011 arm-angstrom-linux-gnueabi-objcopy -rwxr-xr-x 1 root root 759480 Mar 16 2011 arm-angstrom-linux-gnueabi-objdump -rwxr-xr-x 1 root root 503548 Mar 16 2011 arm-angstrom-linux-gnueabi-ranlib -rwxr-xr-x 1 root root 261868 Mar 16 2011 arm-angstrom-linux-gnueabi-readelf -rwxr-xr-x 1 root root 748476 Mar 16 2011 arm-angstrom-linux-gnueabi-run -rwxr-xr-x 1 root root 483988 Mar 16 2011 arm-angstrom-linux-gnueabi-size -rwxr-xr-x 1 root root 483960 Mar 16 2011 arm-angstrom-linux-gnueabi-strings -rwxr-xr-x 1 root root 629144 Mar 16 2011 arm-angstrom-linux-gnueabi-strip -rwxr-xr-x 1 root root 281569 Mar 16 2011 i686-linux-libtool -rwxr-xr-x 1 root root 281569 Mar 16 2011 libtool -rwxr-xr-x 1 root root 68311 Mar 16 2011 libtoolize . . . Looks to me like the program is executable. Could it be damaged or am I doing something wrong ? Bill From: [email protected] [mailto:[email protected]] On Behalf Of Louis McCarthy Sent: Wednesday, January 15, 2014 2:42 PM To: [email protected] Subject: Re: [beagleboard] Re: Build a QT/11 application for beagleboard black by cross compiling from ubuntu I guess I wasn't clear, you need to type 'arm-angstrom-linux-gnueabi-g++ --version'. Just typing g++ will use your regular host compiler (not toolchain cross compiler) If that gives a valid response, you then need to modify your qmake.conf files or configure command line options (depending on Qt version and how you configured it) to point to the full binary name, not just g++. >From the error message, I doubt the error is in qabstractanimation.cpp, but >you can look around for a local qmake.conf file, for that module, that may be >pointing to the wrong g++. Louis On Tuesday, January 14, 2014 5:30:22 PM UTC-6, William Pretty Security wrote: From: [email protected] <javascript:> [mailto:[email protected] <javascript:> ] On Behalf Of Louis McCarthy Sent: Tuesday, January 14, 2014 12:23 PM To: [email protected] <javascript:> Subject: Re: [beagleboard] Re: Build a QT/11 application for beagleboard black by cross compiling from ubuntu Correction, export PATH=$PATH:/usr/local/angstrom/arm/bin I forgot the last bin..... On Tuesday, January 14, 2014 11:20:46 AM UTC-6, Louis McCarthy wrote: Did you install the right toolchain for your host, 32 bit or 64 bit. If 64 bit you need to include the ia32-libs (apt-get install). I would also add /usr/local/angstrom/arm/ to your path: export PATH=$PATH:/usr/local/angstrom/arm Then try the arm-[tab][tab] again. Here is the result of that: beaglebone@ubuntu:~$ export PATH=$PATH:/usr/local/angstrom/arm/bin beaglebone@ubuntu:~$ g++ --version g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Also I put a dash before the “check” by mistake, however the info may be of use: beaglebone@ubuntu:~/qt-4.8.5-beagle$ make -check make: invalid option -- 'c' make: invalid option -- 'c' Usage: make [options] [target] ... This program built for x86_64-pc-linux-gnu Report bugs to [email protected] <javascript:> I think there must be a syntax error in qabstractanimation.cpp ? It is the only code that fails “make check” cd src/corelib/ && make -f Makefile check make[1]: Entering directory `/home/beaglebone/qt-4.8.5-beagle/src/corelib' /home/beaglebone/qt-4.8.5-beagle/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm animation/qabstractanimation.h -o .moc/release-shared-emb-arm/moc_qabstractanimation.cpp /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -fno-exceptions -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-am335x-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qabstractanimation.o animation/qabstractanimation.cpp make[1]: /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++: Command not found make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 127 make[1]: Leaving directory `/home/beaglebone/qt-4.8.5-beagle/src/corelib' make: *** [sub-corelib-check_ordered] Error 2 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4259 / Virus Database: 3681/7004 - Release Date: 01/15/14 _____ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4259 / Virus Database: 3658/6910 - Release Date: 12/11/13 Internal Virus Database is out of date. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
