FAILED: espiot.elf
cmd.exe /C "cd . && C:Userslufei.espressiftoolsxtensa-esp32-elfesp-12.2.0_20230208xtensa-esp32-elfbinxtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -Wl,--cref -Wl,--defsym=IDF_TARGET_ESP32=0 -Wl,--Map=D:/BaiduNetdiskWorkspace/WORK/smart_sell/zhican_lijin/build/espiot.map -Wl,--no-warn-rwx-segments -fno-rt
ti -fno-lto -Wl,--gc-sections -Wl,--warn-common -T esp32.peripherals.ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-funcs.ld -T memory.ld -T sections.ld @CMakeFilesespiot.elf.rsp -o espiot.elf && cd ."
c:/users/lufei/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/user/libuser.a(mass_algorith.c.obj):D:/BaiduNetdiskWorkspace/WORK/smart_sell/zhican_lijin/user/mass_detect/include/mass_calbication.h:35: multiple definition of `calibrate_data'; esp-idf/user/libuser.a(mass_detect.c.obj):D:/BaiduNetdiskWorkspace/WORK/smart_sell/zhican_lijin/user/mass_detect/include/mass_calbication.h:35: first defined here
c:/users/lufei/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/user/libuser.a(mass_calbication.c.obj):D:/BaiduNetdiskWorkspace/WORK/smart_sell/zhican_lijin/user/mass_detect/include/mass_calbication.h:35: multiple definition of `calibrate_data'; esp-idf/user/libuser.a(mass_detect.c.obj):D:/BaiduNetdiskWorkspace/WORK/smart_sell/zhican_lijin/user/mass_detect/include/mass_calbication.h:35: first defined here
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.