The newer version of nuttx has implemented fdopendir, and the compiler reports multiple definitions of it.