It seems that the version inside sched/task/task_spawn.c need become a static function.
> -----Original Message----- > From: Yang Chung Fan <sonic.tw...@gmail.com> > Sent: Saturday, May 30, 2020 3:27 PM > To: dev@nuttx.apache.org > Subject: Duplicate task_spawn() > > Hi, > > Did anyone also noticed that when building with CONFIG_LIB_SYSCALL=y, the > linker is unhappy about the duplicated task_spawn() > symbols? > > One of them is in sched/ and other one is in libs/libc. > > -- > Yang