Linux编译程序,出问题:hidden symbol `fstat'libc_nonshared.a(fstat.oS) is referenced by DSO

编译代码遇到了这样的问题:
“hidden symbol `fstat' in /CodeSourcery-master/bin/../arm-xilinx-linux-gnueabi/libc/usr/lib/libc_nonshared.a(fstat.oS) is referenced by DSO”
困扰很久,没找到具体的解决办法!

参考
https://stackoverflow.com/questions/23696585/what-does-exactly-the-warning-mean-about-hidden-symbol-being-referenced-by-dso