Hello Sebastian, I'm using rtems5.
My stm32l4.cfg include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU = arm CPU_CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard CFLAGS_OPTIMIZE_V = -O2 -g CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections LDFLAGS = -Wl,--gc-sections -ljffs2 -lz Output during linking -Wl,--gc-sections -ljffs2 -lz -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard o-optimize/main.o /home/midnight/rtems/toolchain/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: o-optimize/main.o:(.rodata.rtems_filesystem_table+0xc): undefined reference to `rtems_jffs2_initialize' Also header #include <rtems/jffs2.h> was used and defined #define CONFIGURE_FILESYSTEM_JFFS2 Thanks. On Tue, 3 Sep 2019 at 07:00, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > On 02/09/2019 21:31, Ярослав Лещинский wrote: > > I would like to use jffs2. Linker flags have been added (-ljffs2 -lz) > > but I still getting UD to rtems_jffs2_initialize. > > which RTEMS version? What linker command line and exact error message? > > -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > -- -- Kind regards, *Yaroslav Leshchinsky*
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users