Re: [beagleboard] Cross compiling for Ubuntu 14.04
On 05/28/2014 08:46 PM, Andrew Core wrote: dpkg -i *.deb In general, not specific to this case, using dpkg -i is usually not recommended, you could try gdebi (from gdebi-core) to check the dependencies for you. regards, Nuno -- http://aeminium.org/nuno/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Cross compiling for Ubuntu 14.04
Hi, I can't seem to find a cross compiler for debian BBB that works (consistently) on Ubuntu 14.04 I'm using the latest debian image for BBB from beagleboard.org/latest-imageshttps://groups.google.com/forum/#%21category-topic/beagleboard/debian/mdd-Y7QsE8M . I'm running 64 bit Ubuntu 14.04. I've managed to make my programs run on Angstrom, but I've been failing for about a week trying to port to Debian. I tried the Linaro gcc at http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-uEnv.txtbasedbootscript and arm-linux-gnueabihf-g++ worked for most of my files. However, two of my files will compile and fail to run on the BBB. I enter: arm-linux-gnueabihf-g++ -Wall -Wno-unused-parameter -W -Wshadow -DARM_COMPILE -pthread -lstdc++ -lrt -o fileName $(SRCS) and when I run the file on the BBB (./fileName, like I did for the other programs that worked), I get: ./fileName: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by ./fileName) What did I do wrong? Alternatively, is there a different cross tool chain? Sorry to take up your time, and thanks in advance for the help. Best, Andrew -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Cross compiling for Ubuntu 14.04
On Wed, May 28, 2014 at 3:47 PM, Andrew Core andrewcore...@gmail.com wrote: Hi, I can't seem to find a cross compiler for debian BBB that works (consistently) on Ubuntu 14.04 I'm using the latest debian image for BBB from beagleboard.org/latest-images. I'm running 64 bit Ubuntu 14.04. I've managed to make my programs run on Angstrom, but I've been failing for about a week trying to port to Debian. I tried the Linaro gcc at http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-uEnv.txtbasedbootscript and arm-linux-gnueabihf-g++ worked for most of my files. However, two of my files will compile and fail to run on the BBB. I enter: arm-linux-gnueabihf-g++ -Wall -Wno-unused-parameter -W -Wshadow -DARM_COMPILE -pthread -lstdc++ -lrt -o fileName $(SRCS) and when I run the file on the BBB (./fileName, like I did for the other programs that worked), I get: ./fileName: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by ./fileName) Debian wheezy only has GLIBC_2.13.. What did I do wrong? Alternatively, is there a different cross tool chain? Sorry to take up your time, and thanks in advance for the help. These *.deb match Debian Wheezy, not sure if they'll install in 14.04: http://rcn-ee.net/deb/cross/test/ built with: https://github.com/RobertCNelson/cross-compiler in a Wheezy VM. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Cross compiling for Ubuntu 14.04
Robert, Yeah I was noticing that your build scripts pull in an additional Linaro GCC compiler when compiling the kernel. Last time I built, I seemed to recall that it was a different version too. So, we use one version to build u-boot, and another to build the kernel. However with any GCC, we should be able to specify which LIBC we use . . . not that I know for sure offhand exactly how, as it is something I need to brush up on myself. On Wed, May 28, 2014 at 1:50 PM, Robert Nelson robertcnel...@gmail.comwrote: On Wed, May 28, 2014 at 3:47 PM, Andrew Core andrewcore...@gmail.com wrote: Hi, I can't seem to find a cross compiler for debian BBB that works (consistently) on Ubuntu 14.04 I'm using the latest debian image for BBB from beagleboard.org/latest-images. I'm running 64 bit Ubuntu 14.04. I've managed to make my programs run on Angstrom, but I've been failing for about a week trying to port to Debian. I tried the Linaro gcc at http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-uEnv.txtbasedbootscript and arm-linux-gnueabihf-g++ worked for most of my files. However, two of my files will compile and fail to run on the BBB. I enter: arm-linux-gnueabihf-g++ -Wall -Wno-unused-parameter -W -Wshadow -DARM_COMPILE -pthread -lstdc++ -lrt -o fileName $(SRCS) and when I run the file on the BBB (./fileName, like I did for the other programs that worked), I get: ./fileName: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by ./fileName) Debian wheezy only has GLIBC_2.13.. What did I do wrong? Alternatively, is there a different cross tool chain? Sorry to take up your time, and thanks in advance for the help. These *.deb match Debian Wheezy, not sure if they'll install in 14.04: http://rcn-ee.net/deb/cross/test/ built with: https://github.com/RobertCNelson/cross-compiler in a Wheezy VM. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Cross compiling for Ubuntu 14.04
err, *Linaro GCC toolchain* but you get the idea. On Wed, May 28, 2014 at 4:40 PM, William Hermans yyrk...@gmail.com wrote: Robert, Yeah I was noticing that your build scripts pull in an additional Linaro GCC compiler when compiling the kernel. Last time I built, I seemed to recall that it was a different version too. So, we use one version to build u-boot, and another to build the kernel. However with any GCC, we should be able to specify which LIBC we use . . . not that I know for sure offhand exactly how, as it is something I need to brush up on myself. On Wed, May 28, 2014 at 1:50 PM, Robert Nelson robertcnel...@gmail.comwrote: On Wed, May 28, 2014 at 3:47 PM, Andrew Core andrewcore...@gmail.com wrote: Hi, I can't seem to find a cross compiler for debian BBB that works (consistently) on Ubuntu 14.04 I'm using the latest debian image for BBB from beagleboard.org/latest-images. I'm running 64 bit Ubuntu 14.04. I've managed to make my programs run on Angstrom, but I've been failing for about a week trying to port to Debian. I tried the Linaro gcc at http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-uEnv.txtbasedbootscript and arm-linux-gnueabihf-g++ worked for most of my files. However, two of my files will compile and fail to run on the BBB. I enter: arm-linux-gnueabihf-g++ -Wall -Wno-unused-parameter -W -Wshadow -DARM_COMPILE -pthread -lstdc++ -lrt -o fileName $(SRCS) and when I run the file on the BBB (./fileName, like I did for the other programs that worked), I get: ./fileName: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by ./fileName) Debian wheezy only has GLIBC_2.13.. What did I do wrong? Alternatively, is there a different cross tool chain? Sorry to take up your time, and thanks in advance for the help. These *.deb match Debian Wheezy, not sure if they'll install in 14.04: http://rcn-ee.net/deb/cross/test/ built with: https://github.com/RobertCNelson/cross-compiler in a Wheezy VM. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Cross compiling for Ubuntu 14.04
After messing with a couple lines of the .sh file (removed every instance of apt-get update, updated aliases to the newest version), it downloaded. I did sudo dpkg -i *.deb in output And it broke 40~ dependencies. Software center is mad, Synaptic package manager can't fix it, things are generally not ok. Haha, it's been a long day :p It looks like your compiler would work, but the problem is Ubuntu doesn't like it when you mess with dependencies. The dpkg command replaced some of my newer packages with older ones (the ones on the BBB), which apparently causes 80% of my third party programs to fail to open. And now it's telling me that one of the packages I install is unremovable, meaning I can't install the correct one. Not really asking for help, just warning you that someone with only a couple months of Linux experience messed things up trying to put that tool chain on Ubuntu. On Wednesday, May 28, 2014 3:51:00 PM UTC-5, RobertCNelson wrote: On Wed, May 28, 2014 at 3:47 PM, Andrew Core andrew...@gmail.comjavascript: wrote: Hi, I can't seem to find a cross compiler for debian BBB that works (consistently) on Ubuntu 14.04 I'm using the latest debian image for BBB from beagleboard.org/latest-images. I'm running 64 bit Ubuntu 14.04. I've managed to make my programs run on Angstrom, but I've been failing for about a week trying to port to Debian. I tried the Linaro gcc at http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-uEnv.txtbasedbootscript and arm-linux-gnueabihf-g++ worked for most of my files. However, two of my files will compile and fail to run on the BBB. I enter: arm-linux-gnueabihf-g++ -Wall -Wno-unused-parameter -W -Wshadow -DARM_COMPILE -pthread -lstdc++ -lrt -o fileName $(SRCS) and when I run the file on the BBB (./fileName, like I did for the other programs that worked), I get: ./fileName: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not found (required by ./fileName) Debian wheezy only has GLIBC_2.13.. What did I do wrong? Alternatively, is there a different cross tool chain? Sorry to take up your time, and thanks in advance for the help. These *.deb match Debian Wheezy, not sure if they'll install in 14.04: http://rcn-ee.net/deb/cross/test/ built with: https://github.com/RobertCNelson/cross-compiler in a Wheezy VM. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.