From 75548c95d1d8cf1ebeef42fb2ccff1902ca312c4 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sat, 21 Nov 2020 09:40:57 -0800 Subject: [PATCH] rtems5: fix linking of dependent modules, need -lCom after -lrtemsCom --- configure/os/CONFIG.Common.RTEMS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index 4b1701892..2f63b1508 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -96,11 +96,9 @@ OS_CLASS = RTEMS #-------------------------------------------------- # Operating system flags -#OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm ifeq ($(OS_API),posix) OP_SYS_CFLAGS += -D__LINUX_ERRNO_EXTENSIONS__ -#OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lrtemsbsp -ltftpfs -ltelnetd -lbsd -lz -lm -OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -ltftpfs -lbsd -lz -lm +OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -ltftpfs -lbsd -lz -lm else OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm endif