Does ESP32 provide samba support at IDF?
Posted: Tue Sep 24, 2019 6:45 am
Hi Sir/Madam/Miss,
From old source code of a old project, I found IDF library components has samba source code. There is compilation error has for this samba source code, other code is able to compile. The unknown samba source code is at file name smbserver.tar.gz and be attached to this email.
The error is below:
1. Does ESP32 provide samba source code support at IDF?
2. If yes, please advise to solve the compilation.
3. If no, do you suspect where is the source code come from?
I search through internet, can not find the resource of this source code. Free RTOS and https://github.com/samba-team/samba also do not have.
Thank you.
Regards,
HL Ang
From old source code of a old project, I found IDF library components has samba source code. There is compilation error has for this samba source code, other code is able to compile. The unknown samba source code is at file name smbserver.tar.gz and be attached to this email.
The error is below:
Questions:CXX build/smbserver/src/SystemFreeRTOS.o
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp: In function 'unsigned char* SysOpenEx(const char*, unsigned int, int*)':
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp:1715:13: warning: unused variable 'sStat' [-Wunused-variable]
FILINFO sStat;
^
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp: In function 'SysPos SysSeekEx(SysFile, SysPos, int)':
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp:1866:9: warning: unused variable 'iPos' [-Wunused-variable]
SysPos iPos;
^
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp: In function 'SysPos SysTellEx(SysFile)':
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp:1909:9: warning: unused variable 'iPos' [-Wunused-variable]
SysPos iPos;
^
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp: In function 'unsigned int* SysFindFirstEx(const char*, SysFindStruct*, int*)':
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp:2511:48: error: 'struct FILINFO' has no member named 'altname'
strcpy(pFind->cShortName,(const char*)sEntry.altname);
^
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp: In function 'int SysFindNext(SysFind, SysFindStruct*)':
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp:2574:47: error: 'struct FILINFO' has no member named 'altname'
strcpy(pFind->cShortName,(const char*)sEntry.altname);
^
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp: In function 'int SysGetVolumeInfo(const char*, SysVolumeInfo*, int)':
/home/ubuntu/esp_3.3/esp-idf/components/smbserver/src/SystemFreeRTOS.cpp:2890:31: error: '_MAX_SS' was not declared in this scope
pInfo->dwBytesPerSector = _MAX_SS;
^
make[1]: *** [src/SystemFreeRTOS.o] Error 1
make: *** [component-smbserver-build] Error 2
1. Does ESP32 provide samba source code support at IDF?
2. If yes, please advise to solve the compilation.
3. If no, do you suspect where is the source code come from?
I search through internet, can not find the resource of this source code. Free RTOS and https://github.com/samba-team/samba also do not have.
Thank you.
Regards,
HL Ang