Opened on 10/29/21 at 06:27:19
Closed on 11/10/22 at 00:42:49
#4539 closed defect (invalid)
rtems_filesystem_table compile
Reported by: | chenjin_zhong | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | admin | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Hi, when the macro CONFIGURE_APPLICATION_DISABLE_FILESYSTEM is defined, rtems_filesystem_table is undefined during linking process.
Change History (3)
comment:1 Changed on 10/29/21 at 13:34:40 by Joel Sherrill
comment:2 Changed on 11/02/21 at 06:38:37 by chenjin_zhong
I just compile sp01 with CONFIGURE_APPLICATION_DISABLE_FILESYSTEM. I rechecked the source code in RTEMS5.1. I found that rtems_filesystem_table is only be defined in confdefs/libio.h. the global variable rtems_filesystem_table is used by rtems_filesystem_iterate in libcsupport/src/mount-mgr.c. Therefore, the undefined error may bu caused by CONFIGURE_APPLICATION_DISABLE_FILESYSTEM.
comment:3 Changed on 11/10/22 at 00:42:49 by Chris Johns
Resolution: | → invalid |
---|---|
Status: | new → closed |
If you have referenced a function that pulls in the file system this will happen.
Note: See
TracTickets for help on using
tickets.
Do you have a simple test case to let us see what is happening for you? There are 6 tests in the RTEMS Test Suite which use CONFIGURE_APPLICATION_DISABLE_FILESYSTEM so I suspect you have used something which implicitly requires a file system. Perhaps your application needs a minimal file system for device nodes.