I think, you will have to rebuild the "mipsel-gcc" with headers
from the libc used on your target. And if some kernel
headers are required, when building gcc, then include
headers from the target kernel source.
Ref.:
http://www.gnuarm.com/ Please look for the word
'
here ' , which is a link.
cd [gcc-build]
[gcc-source]/configure --target=<mipsel..> --prefix=[toolchain-prefix] \
--enable-interwork --enable-multilib --enable-languages="c,c++" \
--with-headers=[libc-source]/libc/include
( .. .. and : --with-headers=[kernel-source]/linux-2.x.xx.x/include/ )
The option '--with-headers= ' excludes the system path,
no headers from /usr/include/, etc. will be used.
.....