[Libwebsockets] make error

Andy Green andy at warmcat.com
Sat May 5 00:47:40 CEST 2018



On 05/05/2018 05:55 AM, Charles Glasser wrote:
> running make produces the following

Did you read the readme

https://github.com/warmcat/lws-esp32-factory

and follow what it says there about

https://github.com/warmcat/lws-esp32-factory#step-3-general-build-and-flash

?

-Andy


> /home/flash/opt/esp/esp32/esp-idf/make/project.mk:386: warning: 
> overriding recipe for target 'bootloader-clean'
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/Makefile.projbuild:123: 
> warning: ignoring old recipe for target 'bootloader-clean'
> make[1]: *** No rule to make target 
> '/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin'. 
> Stop.
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/Makefile.projbuild:40: 
> recipe for target 
> '/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin' 
> failed
> make: *** 
> [/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin] 
> Error 2
> 
> make erase_flash worked
> 
> 
> running make all from within eclipse produced
> 
> make all
> including 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/Makefile.projbuild... 
> 
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/bootloader_support/Makefile.projbuild... 
> 
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/coap/Makefile.projbuild...
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/esp32/Makefile.projbuild...
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/esptool_py/Makefile.projbuild... 
> 
> including 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/libwebsockets/Makefile.projbuild... 
> 
> including 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/mbedtls/Makefile.projbuild... 
> 
> /home/flash/opt/esp/esp32/esp-idf/make/project.mk:386: warning: 
> overriding recipe for target 'bootloader-clean'
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/nghttp/Makefile.projbuild...
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/Makefile.projbuild:123: 
> warning: ignoring old recipe for target 'bootloader-clean'
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/partition_table/Makefile.projbuild... 
> 
> make[1]: *** No rule to make target 
> '/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin'. 
> Stop.
> including 
> /home/flash/opt/esp/esp32/esp-idf/components/ulp/Makefile.projbuild...
> make: *** 
> [/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin] 
> Error 2
> PROJECT_PATH= COMPONENT_DIRS= make -C 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/subproject 
> V=1 
> BUILD_DIR_BASE=/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader 
> TEST_COMPONENTS= TESTS_ALL= 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin 
> 
> make[1]: Entering directory 
> '/home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/subproject' 
> 
> including 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/subproject/main/Makefile.projbuild... 
> 
> make[1]: Leaving directory 
> '/home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/subproject' 
> 
> /home/flash/cyb/esp32Projects/lws-esp32-factory/components/bootloader/Makefile.projbuild:40: 
> recipe for target 
> '/home/flash/cyb/esp32Projects/lws-esp32-factory/build/bootloader/bootloader.bin' 
> failed
> 
> Is there a user required entry when running "make menuconfig" that 
> caused the errors above?
> 
> Many thanks for what I'm sure is going to be a Very powerful bit of code!
> 
> Regards,
> 
> Chuck Glasser aka Flash Packets
> 
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> https://libwebsockets.org/mailman/listinfo/libwebsockets



More information about the Libwebsockets mailing list