/usr/lib/gcc/arm-linux-gnueabi/4.5.1/../../../../arm-linux-gnueabi/bin/ld: warning: librt.so.1, needed by /usr/lib/gcc/arm-linux-gnueabi/4.5.1/libgomp.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/arm-linux-gnueabi/4.5.1/../../../../arm-linux-gnueabi/bin/ld: warning: libc.so, needed by /usr/lib/gcc/arm-linux-gnueabi/4.5.1/libgcc_s.so.1, not found (try using -rpath or -rpath-link) /usr/lib/gcc/arm-linux-gnueabi/4.5.1/libgomp.so: undefined reference to `clock_getres@GLIBC_2.4' /usr/lib/gcc/arm-linux-gnueabi/4.5.1/libgomp.so: undefined reference to `clock_gettime@GLIBC_2.4'
於是乎,把 librt.so.1, libc.so找出來,原來是在/usr/arm-linux-gnueabi/lib/所以就把這個路徑加到/etc/ld.so.conf在ldconfig一下就搞定了~
# echo "/usr/arm-linux-gnueabi/lib/" >>/etc/ld.so.conf # ldconfig
沒有留言:
張貼留言