Win 10 make error liblto_plugin-0.dll
Posted: Fri Jul 21, 2017 10:33 am
Hi,
I tried to install the toolchain and IDF on a Win10 machine.
esp32_win32_msys2_environment_and_toolchain-20170330
ESP-IDF fresh download (21.07.2017)
set ESP-IDF path in msys
(Works fine on my Win 7 machine)
downloaded the hello world example
changed serial port in menuconfig
make from msys
*clean build
*build from eclipse (with my win7 settings) and with msys2
*Replace native PATH in eclipse with msys paths
*run msys as admin
*add msys to PATH
*remove all conflicting mingw installations from PATH
*reinstall toolchain and esp-idf
*try different projects
*restart the machine
*get coffee and think about the meaning of life
System PATH
clean build log
I tried to install the toolchain and IDF on a Win10 machine.
esp32_win32_msys2_environment_and_toolchain-20170330
ESP-IDF fresh download (21.07.2017)
set ESP-IDF path in msys
(Works fine on my Win 7 machine)
downloaded the hello world example
changed serial port in menuconfig
make from msys
I triedAR libbootloader_support.a
C:\msys32\opt\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc-ar.exe: Cannot find plugin 'liblto_plugin-0.dll'
make[2]: *** [/a/10_ESP32/00_ESP_IDF/esp-idf/make/component_wrapper.mk:169: libbootloader_support.a] Fehler 1
make[1]: *** [/a/10_ESP32/00_ESP_IDF/esp-idf/make/project.mk:391: component-bootloader_support-build] Fehler 2
make: *** [/a/10_ESP32/00_ESP_IDF/esp-idf/components/bootloader/Makefile.projbuild:39: /a/10_ESP32/test/hello_world/build/bootloader/bootloader.bin] Fehler 2
*clean build
*build from eclipse (with my win7 settings) and with msys2
*Replace native PATH in eclipse with msys paths
*run msys as admin
*add msys to PATH
*remove all conflicting mingw installations from PATH
*reinstall toolchain and esp-idf
*try different projects
*restart the machine
*get coffee and think about the meaning of life
System PATH
user PATHC:\HighTec/licensemanager;
C:\ProgramData\Oracle\Java\javapath;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
C:\Program Files\TortoiseSVN\bin;
A:\00_App\Git\cmd;
C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;
C:\Program Files\IVI Foundation\VISA\Win64\Bin\;
C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;
C:\msys32\usr\bin;
C:\msys32\mingw32\bin;
C:\msys32\opt\xtensa-esp32-elf\bin;
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
C:\Users\Thomas\AppData\Roaming\npm;
clean build log
$ make
make[1]: Verzeichnis „/a/10_ESP32/00_ESP_IDF/esp-idf/tools/kconfig“ wird betrete n
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o mconf.o mconf.c
flex -L -P zconf -o zconf.lex.c zconf.l
zconf.l:256: warning, „-s“-Option gegeben, aber Vorgabe-Regel kann nicht passen
bison -t -l -p zconf -o zconf.tab.c zconf.y
sed -E "s/\\x0D$//" zconf.gperf | gperf -t --output-file zconf.hash.c -a -C -E - g -k '1,3,$' -p -t
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o zconf.tab.o zconf.tab.c
lxdialog/check-lxdialog.sh -check cc -I/usr/include/ncursesw -DCURSES_LOC="<cur ses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -lncursesw -lintl
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o lxdialog/checklist.o lxdialog/checklist.c
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o lxdialog/util.o lxdialog/util.c
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o lxdialog/inputbox.o lxdialog/inputbox.c
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o lxdialog/textbox.o lxdialog/textbox.c
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o lxdialog/yesno.o lxdialog/yesno.c
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o lxdialog/menubox.o lxdialog/menubox.c
cc -o mconf mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/util.o lxdialog/in putbox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o -lncursesw -lint l
cc -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLO CALE -c -o conf.o conf.c
cc -o conf conf.o zconf.tab.o -lncursesw -lintl
make[1]: Verzeichnis „/a/10_ESP32/00_ESP_IDF/esp-idf/tools/kconfig“ wird verlass en
GENCONFIG
CC src/bootloader_random.o
CC src/flash_encrypt.o
CC src/bootloader_sha.o
CC src/esp_image_format.o
CC src/flash_partitions.o
CC src/secure_boot_signatures.o
CC src/secure_boot.o
CC src/efuse.o
CC src/bootloader_flash.o
AR libbootloader_support.a
C:\msys32\opt\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc-ar.exe: Cannot find plugin 'liblto_plugin-0.dll'
make[2]: *** [/a/10_ESP32/00_ESP_IDF/esp-idf/make/component_wrapper.mk:169: libbootloader_support.a] Fehler 1
make[1]: *** [/a/10_ESP32/00_ESP_IDF/esp-idf/make/project.mk:391: component-bootloader_support-build] Fehler 2
make: *** [/a/10_ESP32/00_ESP_IDF/esp-idf/components/bootloader/Makefile.projbuild:39: /a/10_ESP32/test/hello_world/build/bootloader/bootloader.bin] Fehler 2