I was trying to install mysql on the buffalo linkstation and I encountered the error ‘c compiler cannot create executables’.
When checking the log file, it complains about cannot finding the file /lib/libc.so.6.
So I did a little bit search and finally resolved the problem thanks to this article.
http://forum.buffalo.nas-central.org/viewtopic.php?p=132772#p132772