January 6, 2012 3:21 AM updated: January 6, 2012 3:21 AM

You have to use toolchain to compile DD-WRT source code.

Hope following discussion will help you ...
http://www.myopenrouter.com/forum/thread/18384/Tutorial-to-compile-DD-WRT-for...