On Fri, Apr 16, 2010 at 01:49:12PM -0700, Lei Sun wrote: > Attached is the log with command: > > make CROSS_COMPILE=mipsel-linux- ARCH=mips KBUILD_VERBOSE=1 /usr/klibc/../include/sys/socket.h:146: error: redefinition of typedef 'sa_family_t' your linux-2.6 version that you are building against is too old. did you try 2.6.32?