Forum Replies Created
-
AuthorPosts
-
opzetParticipant
Hi,
I have the same error, 🙁
Found some more info in output ‘clock_gettime@GLIBC_2.17′ issue
<h5> C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe -o Debug/DataLogger -Wl,-gc-sections -Wl,–start-group Debug/DataLogger.o Debug/Display.o Debug/PCD8544.o -lwiringPi -lpthread -Wl,–rpath=’$ORIGIN’ -Wl,–end-group
1> c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/lib/libstdc++.so: undefined reference to `clock_gettime@GLIBC_2.17′
1> 1>
1>collect2.exe : error : ld returned 1 exit status
1> make: *** [Debug/DataLogger] Error 1
1> ————————————————————-
1> Command exited with code 2
1> Executable: C:\Windows\System32\cmd.exe
1> Arguments: /c “C:\SysGCC\raspberry\bin\make.exe” CONFIG=Debug</h5>I suspect it to be an issue with libstdc++.so build chain version mismatch with Kernel version?
Problem is the Auto download of Binutils failed, so I did manual download.. I used 4.9.2 r2 with Jessie Kernel 4.1.15+, wrong guess?
Ill try again with 4.6.3 no sysroot and do a manual sysroot update
http://gnutoolchains.com/raspberry/
<table class=”neat_table”>
<tbody>
<tr>
<th>GCC</th>
<th>Compatible Raspbian ima<span class=”auto-style1″>ge</span></th>
<th>Toolchain download link</th>
</tr>
<tr>
<td>4.9.2</td>
<td> 2015-11-21-raspbian-jessie</td>
<td> raspberry-gcc-4.9.2-r2.exe (433 MB)</td>
</tr>
<tr>
<td>4.6.3</td>
<td>Universal (sysroot update required)</td>
<td>raspberry-gcc4.6.3-nosysroot.exe (18 MB)</td>
</tr>
<tr>
<td>4.6.3</td>
<td> 2013-07-26-wheezy-raspbian</td>
<td>raspberry-gcc4.6.3.exe (111 MB)</td>
</tr>
</tbody>
</table> -
AuthorPosts