Description
I am working on nuttx-12.13 for a MIPS SOC, I just want to try module in nuttx, so I enable the module example in menuconfig and make it.
Finally, I got an error as follows,
LD: nuttx
/home/t/develop/nuttx/staging/libc.a(elf_bind.o): In function `libelf_relocate':
elf/elf_bind.c:(.text+0x898): undefined reference to `up_relocate'
/home/t/develop/nuttx/staging/libc.a(elf_bind.o): In function `libelf_relocateadd':
elf/elf_bind.c:(.text+0xee4): undefined reference to `up_relocateadd'
/home/t/develop/nuttx/staging/libc.a(elf_bind.o): In function `libelf_relocatedyn':
elf/elf_bind.c:(.text+0x187c): undefined reference to `up_relocate'
/home/t/develop/nuttx/staging/libc.a(elf_verify.o): In function `libelf_verifyheader':
elf/elf_verify.c:(.text+0xb4): undefined reference to `up_checkarch'
make[1]: *** [Makefile:109: nuttx] Error 1
The toolchain of mips-linux-gnu does NOT include libraries for ELF, so I am wondering how to fix it and make module example be built well.
And I did NOT find any definition of up_checkarch() in arch/, what is this function??
Thanks,
Verification
Description
I am working on nuttx-12.13 for a MIPS SOC, I just want to try module in nuttx, so I enable the
moduleexample in menuconfig and make it.Finally, I got an error as follows,
The toolchain of mips-linux-gnu does NOT include libraries for ELF, so I am wondering how to fix it and make module example be built well.
And I did NOT find any definition of
up_checkarch()in arch/, what is this function??Thanks,
Verification