mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-10 18:56:33 +00:00
system/uORB: fix orb_subscribe_multi undefined
Fix `orb_subscribe_multi` undefined error. /workspace/prebuilts/gcc/linux/arm64/bin/../lib/gcc/aarch64-none-elf/13.2.1/../../../../aarch64-none-elf/bin/ld: apps/system/uorb/libapps_uorb_listener.a(listener.c.o): in function `listener_monitor': /workspace/apps/system/uorb/listener.c:803:(.text.listener_monitor.constprop.0+0xe4): undefined reference to `orb_subscribe_multi' /workspace/apps/system/uorb/listener.c:803:(.text.listener_monitor.constprop.0+0xe4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `orb_subscribe_multi' Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
a03ed46947
commit
4b8b96f060
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ if(CONFIG_UORB)
|
|||
file(GLOB_RECURSE CSRCS "sensor/*.c" "uORB/uORB.c")
|
||||
|
||||
if(CONFIG_UORB_LOOP_MAX_EVENTS)
|
||||
file(GLOB_RECURSE CSRCS "uORB/loop.c" "uORB/epoll.c")
|
||||
list(APPEND CSRCS "uORB/loop.c" "uORB/epoll.c")
|
||||
endif()
|
||||
|
||||
if(CONFIG_UORB_LISTENER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue