<http://engine.adzerk.net/r?e=eyJhdiI6NDE0LCJhdCI6NCwiYnQiOjAsImNtIjoxODY2MjQsImNoIjoxMTc4LCJjayI6e30sImNyIjo2ODQyODIsImRpIjoiY2M1NjhlMTM5ODI3NDVmOWFiZTg2M2RkZDM4ODIxZWIiLCJkbSI6MSwiZmMiOjcwODQzNiwiZmwiOjQzMTc4MCwiaXAiOiIxLjE4Ni45Ni41NCIsImt3IjoiYysrLGVjbGlwc2UsY3VybCxiZWFnbGVib25lYmxhY2sseC11c2VyLXJlZ2lzdGVyZWQiLCJudyI6MjIsInBjIjowLCJwciI6MTYwNCwicnQiOjEsInJmIjoiaHR0cDovL3N0YWNrb3ZlcmZsb3cuY29tL3VzZXJzLzUzMTYyMDcvc2hyYWJhbmktZGFzIiwic3QiOjgyNzcsInVrIjoidWUxLTdlZGRiZGMwMWYzYjQzN2JhMzkxYzZhYTk2NTBkZTljIiwiem4iOjQzLCJ0cyI6MTQ0MzYxOTkzNDI3MiwiYmYiOnRydWUsInBuIjoiYWR6ZXJrMTc1MDUxODk4NiIsInVyIjoiaHR0cDovL2NhcmVlcnMuc3RhY2tvdmVyZmxvdy5jb20vcHJvZHVjdHM_dXRtX3NvdXJjZT1zdGFja292ZXJmbG93LmNvbSZ1dG1fbWVkaXVtPWFkJnV0bV9jYW1wYWlnbj1lbXBsb3llcnMtc3VwZXJoZXJvZXMmdXRtX2NvbnRlbnQ9bGItc3VwZXJoZXJvZXMifQ&s=7_o3xfS-x7Mpumg1eVtTzb637lE> up vote 0 down vote favorite <http://stackoverflow.com/questions/32866914/cross-compiled-glibc-causing-build-error-in-beaglebone-black#>
The host is BBB running the Angstrom distribution Angstrom Distribution (BeagleBone Black - 2GB eMMC) 2013-09-04.I am trying to cross compile curl code for the host. I am running the GCC cross compiler (arm-linux-gnueabi) inside Eclipse under Ubuntu 14.04 on Intel 32 bit machine. It seems that the BBB comes with glibc-2.17 It seems that my eclipse project running with GCC cross tool chain comes with glibc-2.19 As long as I compile simple programs, things compile and run. As soon as I start to do curl programming for HTTP post I get run time errors. "/lib/libc.so.6: version `GLIBC_2.17' not found (required by /usr/lib/libcurl.so.4)" Can I update the BeagleBone black glibc-2.19 without breaking other things in the distribution? Kindly guide me to solve glibc build. On Thursday, 10 April 2014 18:07:31 UTC+5:30, A P wrote: > > I hope someone out there can help. > > I have a BBB just updated to the latest firmware. My version on the BBB of > LIBC6 is v2.16. I am compiling a project in Eclipse which if I include the > line > > clkerr=clock_gettime(CLOCK_REALTIME,&UDPstartTime); > //CLOCK_MONOTONIC CLOCK_REALTIM _POSIX_MONOTONIC_CLOCK > > Builds successfully. When however I launch via the GDB debugger I get the > error : > > Remote debugging from host 192.168.1.8 > /home/root/test/test: /lib/libc.so.6: version `GLIBC_2.17' not found > (required by /home/root/test/test) > > Child exited with status 1 > GDBserver exiting > > > If I comment out the clock_gettime function the program runs and I can > debug. > > I cannot find a later version of LIBC6 (2.17 or greater) for Angstrom > distribution. Or is there another solution or am I barking up the wrong > tree. > > I am running Eclipse from a Windows 7 PC. The Cross compiler is > gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_win32 > > > -- 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.