Linux Visual Code‘设备上没有剩余空间’

Linux Visual Code‘设备上没有剩余空间’

我正在运行 Linux Mint 21.1,并且正在运行带有 PlatformIO 扩展的 VSCode。我的项目文件夹位于我使用 Samba 访问的服务器上。此设置在 Windows 上运行良好,只需更改一次注册表即可。

每当我尝试编译代码时,都会出现错误:

Compiling .pio/build/ESP32/lib1d9/WiFi/WiFiSTA.cpp.o
/tmp/ccE4gY8E.s: Assembler messages:
/tmp/ccE4gY8E.s:3187: Fatal error: can't write 4 bytes to section .literal._ZN11EEPROMClassC2Ev of .pio/build/ESP32/libed2/EEPROM/EEPROM.cpp.o: 'Operation not supported'
/tmp/ccE4gY8E.s:3187: Fatal error: can't close .pio/build/ESP32/libed2/EEPROM/EEPROM.cpp.o: No space left on device
*** [.pio/build/ESP32/libed2/EEPROM/EEPROM.cpp.o] Error 1
/tmp/cczanPYc.s: Assembler messages:
/tmp/cczanPYc.s:292: Fatal error: can't write 4 bytes to section .literal._ZN9WiFiClass9printDiagER5Print of .pio/build/ESP32/lib1d9/WiFi/WiFi.cpp.o: 'Operation not supported'
/tmp/cczanPYc.s:292: Fatal error: can't close .pio/build/ESP32/lib1d9/WiFi/WiFi.cpp.o: No space left on device
*** [.pio/build/ESP32/lib1d9/WiFi/WiFi.cpp.o] Error 1
/tmp/cc6b9P0Z.s: Assembler messages:
/tmp/cc6b9P0Z.s:1674: Fatal error: can't write 4 bytes to section .literal._Z18wifi_softap_configP13wifi_config_tPKcS2_h16wifi_auth_mode_thhbt of .pio/build/ESP32/lib1d9/WiFi/WiFiAP.cpp.o: 'Operation not supported'
/tmp/cc6b9P0Z.s:1674: Fatal error: can't close .pio/build/ESP32/lib1d9/WiFi/WiFiAP.cpp.o: No space left on device
*** [.pio/build/ESP32/lib1d9/WiFi/WiFiAP.cpp.o] Error 1
/tmp/cc5AEBw4.s: Assembler messages:
/tmp/cc5AEBw4.s:1583: Fatal error: can't write 4 bytes to section .literal._ZN9WiFiMultiD2Ev of .pio/build/ESP32/lib1d9/WiFi/WiFiMulti.cpp.o: 'Operation not supported'
/tmp/cc5AEBw4.s:1583: Fatal error: can't close .pio/build/ESP32/lib1d9/WiFi/WiFiMulti.cpp.o: No space left on device
*** [.pio/build/ESP32/lib1d9/WiFi/WiFiMulti.cpp.o] Error 1
/tmp/ccPCAQ20.s: Assembler messages:
/tmp/ccPCAQ20.s:5420: Fatal error: can't write 4 bytes to section .literal._ZN10WiFiClient7connectE9IPAddresst of .pio/build/ESP32/lib1d9/WiFi/WiFiClient.cpp.o: 'No space left on device'
/home/rj/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/as: BFD (crosstool-NG esp-2021r2-patch5) 2.35.1.20201223 assertion fail /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/binutils/bfd/elf.c:3163

服务器应该有足够的空间,我的笔记本电脑也应该有足够的空间。我不太清楚它说哪个目录缺少空间,也不知道如何解决这个问题。我对 Linux 和一般的编码也不太熟悉。有什么建议可以解决这个问题吗?


无驱动器使用率超过 75%的输出df -k
,终端输出:

rj@rj-ThinkPad-X1-Carbon-Gen-9:~$ df -k 
Filesystem      1K-blocks  Used       Available Use% Mounted on   
tmpfs           3258932    3804       3255128   1%   /run
/dev/nvme0n1p4  117670808  19689764   91957520  18%  /
tmpfs           16294652   635664     15658988  4%   /dev/shm
tmpfs           5120       4          5116      1%   /run/lock
/dev/nvme0n1p1  262144     39600      222544    16%  /boot/efi
tmpfs           3258928    1676       3257252   1%   /run/user/1000
/dev/nvme0n1p3  377632764  281552012  96080752  75%  /media/rj/Windows

相关内容