Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

Compiling Error During Using FreeRTOS-FAT-SL

Posted by paultsai111 on July 28, 2016

Hi FreeRTOS Forum Members:

Here is one problems that encountered during the usage of FreeRTOS-FAT-SL

I download the source codes from the official web stie and try to do the simple file operation in FreeRTOS system.

However, I have the following compiling errors, I think I do not have those definitions(such as gl_file,

glvolume,f_alloccluster........), so where I can find these definition files, does freeRTOS provided? Beacuse I can

not find on the google search engines !!

the Free RTOS Source Code File is from: https://github.com/jameswalmsley/FreeRTOS/tree/master/FreeRTOS-Plus/Source/FreeRTOS-Plus-FAT-SL

user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fstepnextsector+0x0): undefined reference to gl_volume' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text._f_stepnextsector+0x4): undefined reference toglfile' user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fstepnextsector+0xc): undefined reference to gl_file' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text._f_stepnextsector+0x14): undefined reference to_falloccluster' user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fstepnextsector+0x18): undefined reference to _f_getclustervalue' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text._f_stepnextsector+0x1c): undefined reference to_fclustertopos' user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fstepnextsector+0x20): undefined reference to _f_setclustervalue' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text._f_stepnextsector+0x24): undefined reference to_fwritefatsector' user/.output/eagle/debug/lib/libuser.a(usermain.o): In function _f_stepnextsector': /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_falloccluster' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getclustervalue' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fclustertopos' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setclustervalue' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetclustervalue' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_clustertopos' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fwritefatsector' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to gl_sector' user/.output/eagle/debug/lib/libuser.a(user_main.o): In function_fwriteglsector': /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getcurrsector' user/.output/eagle/debug/lib/libuser.a(user_main.o): In function_fextend': /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getcurrsector' user/.output/eagle/debug/lib/libuser.a(user_main.o): In function_ffseek': /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getclustervalue' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fclustertopos' user/.output/eagle/debug/lib/libuser.a(usermain.o): In function _f_readglsector': /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetdecluster' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setlong' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fremovechain' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to f_igettimedate' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetword' user/.output/eagle/debug/lib/libuser.a(usermain.o): In function _f_updatefileentry': /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetdecluster' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setlong' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fremovechain' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setdecluster' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetlong' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to f_igettimedate' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetword' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setword' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetword' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setfsname' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fchecknamewc' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getvolume' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_ffindpath' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_findfilewc' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fgetlong' user/.output/eagle/debug/lib/libuser.a(usermain.o): In function fn_filelength': /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetfsname' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_checknamewc' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fgetvolume' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_findpath' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_ffindfilewc' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getlong' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text.fn_open+0x0): undefined reference toglfile' user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fnopen+0xc): undefined reference to gl_file' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text.fn_open+0x10): undefined reference tofgetdecluster' user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fnopen+0x14): undefined reference to _f_createfullname' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text.fn_open+0x18): undefined reference tofaddentry' user/.output/eagle/debug/lib/libuser.a(usermain.o):(.text.fnopen+0x8a): undefined reference to _f_setfsname' user/.output/eagle/debug/lib/libuser.a(user_main.o):(.text.fn_open+0x99): undefined reference tofchecknamewc' user/.output/eagle/debug/lib/libuser.a(usermain.o): In function fn_open': /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fgetvolume' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_findpath' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_ffindfilewc' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getdecluster' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fclustertopos' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getlong' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fcreatefullname' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_findfilewc' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fgetdecluster' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getlong' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fclustertopos' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_clustertopos' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_faddentry' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_clustertopos' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_ffindfilewc' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getdecluster' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetlong' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setword' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetword' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to f_igettimedate' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetword' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_setword' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fsetword' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_removechain' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_faddentry' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to f_filechangedevent' user/.output/eagle/debug/lib/libuser.a(user_main.o): In functionfnclose': /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getvolume' user/.output/eagle/debug/lib/libuser.a(user_main.o): In functionfnread': /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to _f_getvolume' /home/esp8266/ESP8266_RTOS_SDK_V1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fat_sl/common/f_lock.c:642: undefined reference to_fgetcurrsector' /home/esp8266/ESP8266RTOSSDKV1.4.0//include/lwip/ipv4/../../freertos-fat-sl/fatsl/common/flock.c:642: undefined reference to `f_getcurrsector'


Compiling Error During Using FreeRTOS-FAT-SL

Posted by rtel on July 28, 2016

I'm afraid we cannot provide support for files or projects you have not obtained from us. If you are interested in FreeRTOS+FAT SL then we do have some pre-configured buildable examples in the main FreeRTOS download:

http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusFATSL/Demos/FileSystemWin32Simulator_demo.shtml

You might also be interested in the FreeRTOS+FAT (without the 'SL', and a completely different code base to the 'SL' product) pre-configured examples:

http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusTCP/TCPFATdemo_projects.html


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists