Skip to content

Instantly share code, notes, and snippets.

@meganetaaan
Created April 12, 2023 09:50
Show Gist options
  • Save meganetaaan/b05153a7a0e9267980dc5e4abaac17b0 to your computer and use it in GitHub Desktop.
Save meganetaaan/b05153a7a0e9267980dc5e4abaac17b0 to your computer and use it in GitHub Desktop.
idf-v5でスタックチャン(Core2)のビルドに失敗する
[sskw]$ npm run build
> stack-chan@0.2.1 build /work/ghq/github.com/meganetaaan/stack-chan/firmware
> cross-env npm_config_target?=esp32/m5stack cross-env-shell mcconfig -d -m -p \$npm_config_target -t build ./stackchan/manifest_local.json
/home/sskw/.local/share/esp32/esp-idf/tools/idf.py
/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/makefile:2109: 警告: ターゲット '/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/ftimage.h.xsi' のためのレシピを置き換えます
/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/makefile:2040: 警告: ターゲット '/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/ftimage.h.xsi' のための古いレシピは無視されます
# xsc pins/digital.xsb
# xsc ili9341.xsb
# xsc m5button.xsb
# xsc time.xsb
# xsc timer.xsb
# xsc Resource.xsb
# xsc wifi.xsb
# xsc socket.xsb
# xsc net.xsb
# xsc sntp.xsb
# xsc resourcestreamer.xsb
# xsc ec.xsb
# xsc ecp.xsb
# xsc modular.xsb
# xsc mont.xsb
# xsc bin.xsb
# xsc crypt.xsb
# xsc securesocket.xsb
# xsc base64.xsb
# xsc hex.xsb
# xsc tlssocket.xsb
# xsc fetch.xsb
# xsc config.xsb
# xsc logical.xsb
# xsc WebSocket.xsb
# xsc modules.xsb
# xsc deepEqual.xsb
# xsc structuredClone.xsb
# xsc file.xsb
# xsc bleserver.xsb
# xsc btutils.xsb
# xsc gap.xsb
# xsc gapwhitelist.xsb
# xsc sm.xsb
# xsc bleclient.xsb
# xsc connection.xsb
# xsc gatt.xsb
# xsc mdns.xsb
# xsc dns.xsb
# xsc wavstreamer.xsb
# xsc sbcstreamer.xsb
# xsc calculate-power.xsb
# xsc stk-server.xsb
# xsc commodetto/Bitmap.xsb
# xsc pins/digital/monitor.xsb
# xsc pins/audioout.xsb
# xsc setup/target.xsb
# xsc m5stack/screen.xsb
# xsc setup/network.xsb
# xsc commodetto/parseBMF.xsb
# xsc commodetto/parseBMP.xsb
# xsc commodetto/parseRLE.xsb
# xsc commodetto/Poco.xsb
# xsc setup/commodetto.xsb
# xsc ~.embedded/io/analog.xsb
# xsc ~.embedded/io/digital.xsb
# xsc ~.embedded/io/digitalbank.xsb
# xsc ~.embedded/io/i2c.xsb
# xsc ~.embedded/implementation/i2csync.xsb
# xsc ~.embedded/io/smbus.xsb
# xsc ~.embedded/implementation/smbussync.xsb
# xsc ~.embedded/io/pwm.xsb
# xsc ~.embedded/io/serial.xsb
# xsc ~.embedded/io/spi.xsb
# xsc ~.embedded/io/provider/MCP23017.xsb
# xsc ~.embedded/io/socket/tcp.xsb
# xsc ~.embedded/io/socket/udp.xsb
# xsc ~.embedded/io/socket/listener.xsb
# xsc system.xsb
# xsc ~.embedded/provider/builtin.xsb
# xsc ~.embedded/io/pulsecount.xsb
# xsc ~.embedded/io/pulsewidth.xsb
# xsc url.xsb
# xsc ~.embedded/network/dns/resolver/udp.xsb
# xsc dns/parser.xsb
# xsc dns/serializer.xsb
# xsc httpclient/config.xsb
# xsc ~.embedded/network/http/client.xsb
# xsc ssl/alert.xsb
# xsc ssl/cache.xsb
# xsc ssl/cert.xsb
# xsc ssl/changecipher.xsb
# xsc ssl/ciphersuites.xsb
# xsc ssl/constants.xsb
# xsc ssl/error.xsb
# xsc ssl/handshake.xsb
# xsc ssl/prf.xsb
# xsc ssl/record.xsb
# xsc ssl/setup.xsb
# xsc ssl/stream.xsb
# xsc ber.xsb
# xsc curve.xsb
# xsc dsa.xsb
# xsc ecdsa.xsb
# xsc gcm.xsb
# xsc hmac.xsb
# xsc pkcs1_5.xsb
# xsc pkcs1.xsb
# xsc pkcs8.xsb
# xsc rng.xsb
# xsc rsa.xsb
# xsc x509.xsb
# xsc ssl/session.xsb
# xsc httpsclient/config.xsb
# xsc text/decoder.xsb
# xsc ~.embedded/network/websocket/client.xsb
# xsc commodetto/outline.xsb
# xsc commodetto/pocoOutline.xsb
# xsc pins/servo.xsb
# xsc data/wavreader.xsb
# xsc mc/config.xsb
# tsc tsconfig.json
# xsid digital.c.xsi
# xsid modGPIO.c.xsi
# xsid modSPI.c.xsi
# xsid modIli9341.c.xsi
# xsid modMonitor.c.xsi
# xsid modTime.c.xsi
# xsid modTimer.c.xsi
# xsid timer.c.xsi
# xsid modPreference.c.xsi
# xsid Resource.c.xsi
# xsid modInstrumentation.c.xsi
# xsid modLwipSafe.c.xsi
# xsid xs6wifi.c.xsi
# xsid modSocket.c.xsi
# xsid modNet.c.xsi
# xsid modResolve.c.xsi
# xsid modsntp.c.xsi
# xsid builtinCommon.c.xsi
# xsid digitalbank.c.xsi
# xsid _i2c.c.xsi
# xsid spi.c.xsi
# xsid moddnsparser.c.xsi
# xsid ec.c.xsi
# xsid modular.c.xsi
# xsid mont.c.xsi
# xsid xsBigIntEx.c.xsi
# xsid bin.c.xsi
# xsid modCrypt.c.xsi
# xsid chacha.c.xsi
# xsid fips180.c.xsi
# xsid fips197.c.xsi
# xsid fips46.c.xsi
# xsid ghash.c.xsi
# xsid rc.c.xsi
# xsid rfc1321.c.xsi
# xsid modsecuresocket.c.xsi
# xsid modBase64.c.xsi
# xsid modHex.c.xsi
# xsid modLogical.c.xsi
# xsid modules.c.xsi
# xsid deepEqual.c.xsi
# xsid structuredClone.c.xsi
# xsid ftcalc.c.xsi
# xsid ftgrays.c.xsi
# xsid ftraster.c.xsi
# xsid ftstroke.c.xsi
# xsid fttrigon.c.xsi
# xsid ftutil.c.xsi
# xsid modFile.c.xsi
# xsid btutils.c.xsi
# xsid gap.c.xsi
# xsid modBLEServer.c.xsi
# xsid modBLESM.c.xsi
# xsid modBLEGAP.c.xsi
# xsid modBLECommon.c.xsi
# xsid modBLEClient.c.xsi
# xsid modServo.c.xsi
# xsid sbc_decoder.c.xsi
# xsid dvi_adpcm_decode.c.xsi
# xsid wavstreamer.c.xsi
# xsid calculatePower.c.xsi
# xsid commodettoBitmap.c.xsi
# xsid audioout.c.xsi
# xsid commodettoPocoBlit.c.xsi
# xsid commodettoParseBMF.c.xsi
# xsid commodettoParseBMP.c.xsi
# xsid commodettoParseRLE.c.xsi
# xsid commodettoPoco.c.xsi
# xsid cfeBMF.c.xsi
# xsid _analog.c.xsi
# xsid _pwm.c.xsi
# xsid serial.c.xsi
# xsid tcp.c.xsi
# xsid udp.c.xsi
# xsid system.c.xsi
# xsid _pulsecount.c.xsi
# xsid _pulsewidth.c.xsi
# xsid url.c.xsi
# xsid rng.c.xsi
# xsid x509.c.xsi
# xsid textdecoder.c.xsi
# xsid commodettoOutline.c.xsi
# xsid commodettoPocoOutline.c.xsi
# xsid modGPIO.h.xsi
# xsid modSPI.h.xsi
# xsid modTimer.h.xsi
# xsid modInstrumentation.h.xsi
# xsid modPreference.h.xsi
# xsid modLwipSafe.h.xsi
# xsid modSocket.h.xsi
# xsid builtinCommon.h.xsi
# xsid xsBigIntEx.h.xsi
# xsid chacha.h.xsi
# xsid fips180.h.xsi
# xsid fips197.h.xsi
# xsid fips46.h.xsi
# xsid ghash.h.xsi
# xsid kcl.h.xsi
# xsid kcl_symmetric.h.xsi
# xsid rc.h.xsi
# xsid rfc1321.h.xsi
# xsid ftgrays.h.xsi
# xsid ftimage.h.xsi
# xsid ftmisc.h.xsi
# xsid ftraster.h.xsi
# xsid rasterrs.h.xsi
# xsid ft2build.h.xsi
# xsid freetype.h.xsi
# xsid ftadvanc.h.xsi
# xsid ftbbox.h.xsi
# xsid ftbdf.h.xsi
# xsid ftbitmap.h.xsi
# xsid ftbzip2.h.xsi
# xsid ftcache.h.xsi
# xsid ftchapters.h.xsi
# xsid ftcid.h.xsi
# xsid ftcolor.h.xsi
# xsid ftdriver.h.xsi
# xsid fterrdef.h.xsi
# xsid fterrors.h.xsi
# xsid ftfntfmt.h.xsi
# xsid ftgasp.h.xsi
# xsid ftglyph.h.xsi
# xsid ftgxval.h.xsi
# xsid ftgzip.h.xsi
# xsid ftincrem.h.xsi
# xsid ftlcdfil.h.xsi
# xsid ftlist.h.xsi
# xsid ftlogging.h.xsi
# xsid ftlzw.h.xsi
# xsid ftmac.h.xsi
# xsid ftmm.h.xsi
# xsid ftmodapi.h.xsi
# xsid ftmoderr.h.xsi
# xsid ftotval.h.xsi
# xsid ftoutln.h.xsi
# xsid ftparams.h.xsi
# xsid ftpfr.h.xsi
# xsid ftrender.h.xsi
# xsid ftsizes.h.xsi
# xsid ftsnames.h.xsi
# xsid ftstroke.h.xsi
# xsid ftsynth.h.xsi
# xsid ftsystem.h.xsi
# xsid fttrigon.h.xsi
# xsid fttypes.h.xsi
# xsid ftwinfnt.h.xsi
# xsid t1tables.h.xsi
# xsid ttnameid.h.xsi
# xsid tttables.h.xsi
# xsid tttags.h.xsi
# xsid autohint.h.xsi
# xsid cffotypes.h.xsi
# xsid cfftypes.h.xsi
# xsid compiler-macros.h.xsi
# xsid ftcalc.h.xsi
# xsid ftdebug.h.xsi
# xsid ftdrv.h.xsi
# xsid ftgloadr.h.xsi
# xsid fthash.h.xsi
# xsid ftmemory.h.xsi
# xsid ftobjs.h.xsi
# xsid ftpsprop.h.xsi
# xsid ftrfork.h.xsi
# xsid ftserv.h.xsi
# xsid ftstream.h.xsi
# xsid fttrace.h.xsi
# xsid ftvalid.h.xsi
# xsid modBLE.h.xsi
# xsid modBLECommon.h.xsi
# xsid sbc_decoder.h.xsi
# xsid commodettoBitmap.h.xsi
# xsid commodettoPocoBlit.h.xsi
# xsid commodettoPoco.h.xsi
# xsid commodettoPocoOutline.h.xsi
# copy ca.ski
# wav2maud bflatmajor.maud
# Reconfiguring ESP-IDF...
Executing action: reconfigure
Running cmake in directory /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DSDKCONFIG_DEFAULTS=/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/sdkconfig.mc -DSDKCONFIG_HEADER=/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/build/config/sdkconfig.h -DCMAKE_MESSAGE_LOG_LEVEL=ERROR -DDEBUGGER_SPEED=460800 -DIDF_TARGET=esp32 -DESP32_SUBCLASS=esp32 -DCCACHE_ENABLE=0 /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32"...
-- Found Git: /usr/bin/git (found version "2.25.1")
# xsc scservo.xsb
# xsc rs30x.xsb
# xsc beacon-packet.xsb
# xsc stackchan-mod.xsb
# xsc main.xsb
# xsc robot.xsb
# xsc cat-face-renderer.xsb
# xsc face-renderer.xsb
# xsc none-driver.xsb
# xsc rs30x-driver.xsb
# xsc scservo-driver.xsb
# xsc sg90-driver.xsb
# xsc tts-local.xsb
# xsc tts-remote.xsb
# xsc tts-voicevox.xsb
# xsc dialogue-chatgpt.xsb
# xsc stackchan-util.xsb
# xsc touch.xsb
# xsc commodetto/PixelsOut.xsb
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/sskw/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/sskw/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/sskw/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/sskw/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/sskw/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/sdkconfig
Loading defaults file /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/sdkconfig.mc...
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: /home/sskw/.espressif/python_env/idf5.0_py3.8_env/bin/python (found version "3.8.10") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "xs_esp32" version: 3.8.0-58-gb042dc87-dirty
-- Adding linker script /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script /home/sskw/.local/share/esp32/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/sskw/.local/share/esp32/esp-idf/components/app_trace /home/sskw/.local/share/esp32/esp-idf/components/app_update /home/sskw/.local/share/esp32/esp-idf/components/bootloader /home/sskw/.local/share/esp32/esp-idf/components/bootloader_support /home/sskw/.local/share/esp32/esp-idf/components/bt /home/sskw/.local/share/esp32/esp-idf/components/cmock /home/sskw/.local/share/esp32/esp-idf/components/console /home/sskw/.local/share/esp32/esp-idf/components/cxx /home/sskw/.local/share/esp32/esp-idf/components/driver /home/sskw/.local/share/esp32/esp-idf/components/efuse /home/sskw/.local/share/esp32/esp-idf/components/esp-tls /home/sskw/.local/share/esp32/esp-idf/components/esp_adc /home/sskw/.local/share/esp32/esp-idf/components/esp_app_format /home/sskw/.local/share/esp32/esp-idf/components/esp_common /home/sskw/.local/share/esp32/esp-idf/components/esp_eth /home/sskw/.local/share/esp32/esp-idf/components/esp_event /home/sskw/.local/share/esp32/esp-idf/components/esp_gdbstub /home/sskw/.local/share/esp32/esp-idf/components/esp_hid /home/sskw/.local/share/esp32/esp-idf/components/esp_http_client /home/sskw/.local/share/esp32/esp-idf/components/esp_http_server /home/sskw/.local/share/esp32/esp-idf/components/esp_https_ota /home/sskw/.local/share/esp32/esp-idf/components/esp_https_server /home/sskw/.local/share/esp32/esp-idf/components/esp_hw_support /home/sskw/.local/share/esp32/esp-idf/components/esp_lcd /home/sskw/.local/share/esp32/esp-idf/components/esp_local_ctrl /home/sskw/.local/share/esp32/esp-idf/components/esp_netif /home/sskw/.local/share/esp32/esp-idf/components/esp_partition /home/sskw/.local/share/esp32/esp-idf/components/esp_phy /home/sskw/.local/share/esp32/esp-idf/components/esp_pm /home/sskw/.local/share/esp32/esp-idf/components/esp_psram /home/sskw/.local/share/esp32/esp-idf/components/esp_ringbuf /home/sskw/.local/share/esp32/esp-idf/components/esp_rom /home/sskw/.local/share/esp32/esp-idf/components/esp_system /home/sskw/.local/share/esp32/esp-idf/components/esp_timer /home/sskw/.local/share/esp32/esp-idf/components/esp_wifi /home/sskw/.local/share/esp32/esp-idf/components/espcoredump /home/sskw/.local/share/esp32/esp-idf/components/esptool_py /home/sskw/.local/share/esp32/esp-idf/components/fatfs /home/sskw/.local/share/esp32/esp-idf/components/freertos /home/sskw/.local/share/esp32/esp-idf/components/hal /home/sskw/.local/share/esp32/esp-idf/components/heap /home/sskw/.local/share/esp32/esp-idf/components/http_parser /home/sskw/.local/share/esp32/esp-idf/components/idf_test /home/sskw/.local/share/esp32/esp-idf/components/ieee802154 /home/sskw/.local/share/esp32/esp-idf/components/json /home/sskw/.local/share/esp32/esp-idf/components/log /home/sskw/.local/share/esp32/esp-idf/components/lwip /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/main /home/sskw/.local/share/esp32/esp-idf/components/mbedtls /home/sskw/.local/share/esp32/esp-idf/components/mqtt /home/sskw/.local/share/esp32/esp-idf/components/newlib /home/sskw/.local/share/esp32/esp-idf/components/nvs_flash /home/sskw/.local/share/esp32/esp-idf/components/openthread /home/sskw/.local/share/esp32/esp-idf/components/partition_table /home/sskw/.local/share/esp32/esp-idf/components/perfmon /home/sskw/.local/share/esp32/esp-idf/components/protobuf-c /home/sskw/.local/share/esp32/esp-idf/components/protocomm /home/sskw/.local/share/esp32/esp-idf/components/pthread /home/sskw/.local/share/esp32/esp-idf/components/sdmmc /home/sskw/.local/share/esp32/esp-idf/components/soc /home/sskw/.local/share/esp32/esp-idf/components/spi_flash /home/sskw/.local/share/esp32/esp-idf/components/spiffs /home/sskw/.local/share/esp32/esp-idf/components/tcp_transport /home/sskw/.local/share/esp32/esp-idf/components/ulp /home/sskw/.local/share/esp32/esp-idf/components/unity /home/sskw/.local/share/esp32/esp-idf/components/usb /home/sskw/.local/share/esp32/esp-idf/components/vfs /home/sskw/.local/share/esp32/esp-idf/components/wear_levelling /home/sskw/.local/share/esp32/esp-idf/components/wifi_provisioning /home/sskw/.local/share/esp32/esp-idf/components/wpa_supplicant /home/sskw/.local/share/esp32/esp-idf/components/xtensa
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_MESSAGE_LOG_LEVEL
-- Build files have been written to: /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsProj-esp32/build
# cc xsAll.c (strings in flash)
# cc xsAPI.c (strings in flash)
# cc xsArguments.c (strings in flash)
# cc xsArray.c (strings in flash)
# cc xsAtomics.c (strings in flash)
# cc xsBigInt.c (strings in flash)
# cc xsBoolean.c (strings in flash)
# cc xsCode.c (strings in flash)
# cc xsCommon.c (strings in flash)
# cc xsDataView.c (strings in flash)
# cc xsDate.c (strings in flash)
# cc xsDebug.c (strings in flash)
# cc xsError.c (strings in flash)
# cc xsFunction.c (strings in flash)
# cc xsGenerator.c (strings in flash)
# cc xsGlobal.c (strings in flash)
# cc xsJSON.c (strings in flash)
# cc xsLexical.c (strings in flash)
# cc xsMapSet.c (strings in flash)
# cc xsMarshall.c (strings in flash)
# cc xsMath.c (strings in flash)
# cc xsMemory.c (strings in flash)
# cc xsModule.c (strings in flash)
# cc xsNumber.c (strings in flash)
# cc xsObject.c (strings in flash)
# cc xsPromise.c (strings in flash)
# cc xsProperty.c (strings in flash)
# cc xsProxy.c (strings in flash)
# cc xsRegExp.c (strings in flash)
# cc xsRun.c (strings in flash)
# cc xsScope.c (strings in flash)
# cc xsScript.c (strings in flash)
# cc xsSourceMap.c (strings in flash)
# cc xsString.c (strings in flash)
# cc xsSymbol.c (strings in flash)
# cc xsSyntaxical.c (strings in flash)
# cc xsTree.c (strings in flash)
# cc xsType.c (strings in flash)
# cc xsdtoa.c (strings in flash)
# cc xsre.c (strings in flash)
# cc xsmc.c (strings in flash)
# cc e_pow.c (strings in flash)
# cc xsPlatform.c (strings in flash)
# cc xsHost.c (strings in flash)
# cc xsHosts.c (strings in flash)
# xsl modules
# mcrez resources
/home/sskw/.local/share/moddable/xs/platforms/esp/xsPlatform.c: In function 'doRemoteCommand':
/home/sskw/.local/share/moddable/xs/platforms/esp/xsPlatform.c:1050:60: error: 'SPI_FLASH_SEC_SIZE' undeclared (first use in this function)
1050 | int firstSector = offset / SPI_FLASH_SEC_SIZE, lastSector = (offset + cmdLen) / SPI_FLASH_SEC_SIZE;
| ^~~~~~~~~~~~~~~~~~
/home/sskw/.local/share/moddable/xs/platforms/esp/xsPlatform.c:1050:60: note: each undeclared identifier is reported only once for each function it appears in
/home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.c: In function 'modInstallMods':
/home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.c:1335:9: error: unknown type name 'spi_flash_mmap_handle_t'
1335 | spi_flash_mmap_handle_t handle;
| ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/makefile:1306: /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsPlatform.c.o] エラー 1
make: *** 未完了のジョブを待っています....
/home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.c:1340:83: error: 'SPI_FLASH_MMAP_DATA' undeclared (first use in this function)
1340 | _partition_mmap(gPartition, 0, gPartition->size, SPI_FLASH_MMAP_DATA, (const void **)&gPartitionAddress, &handle)) {
| ^~~~~~~~~~~~~~~~~~~
/home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.c:1340:83: note: each undeclared identifier is reported only once for each function it appears in
/home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.c:1340:139: warning: passing argument 6 of 'esp_partition_mmap' from incompatible pointer type [-Wincompatible-pointer-types]
1340 | SH_MMAP_DATA, (const void **)&gPartitionAddress, &handle)) {
| ^~~~~~~
| |
| int *
In file included from /home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.h:515,
from /home/sskw/.local/share/moddable/xs/platforms/esp/xsPlatform.h:116,
from /home/sskw/.local/share/moddable/xs/sources/xsCommon.h:41,
from /home/sskw/.local/share/moddable/xs/sources/xsAll.h:41,
from /home/sskw/.local/share/moddable/xs/platforms/esp/xsHost.c:38:
/home/sskw/.local/share/esp32/esp-idf/components/esp_partition/include/esp_partition.h:375:81: note: expected 'esp_partition_mmap_handle_t *' {aka 'long unsigned int *'} but argument is of type 'int *'
375 | nst void** out_ptr, esp_partition_mmap_handle_t* out_handle);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
Total resource size: 25838 bytes
make: *** [/home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/makefile:1310: /home/sskw/.local/share/moddable/build/tmp/esp32/m5stack/debug/stackchan/xsHost.c.o] エラー 1
### 2495 instances, 2499 keys, 116 colors, 0 holes
### warning: securesocket: default() Session() cacheManager: not frozen
### warning: fetch: fetch() Client() clients: no const
### warning: WebSocket: default() URLParts() urlRegExp: no const
### warning: WebSocket: default() URLParts() authorityRegExp: no const
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! stack-chan@0.2.1 build: `cross-env npm_config_target?=esp32/m5stack cross-env-shell mcconfig -d -m -p \$npm_config_target -t build ./stackchan/manifest_local.json`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the stack-chan@0.2.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/sskw/.npm/_logs/2023-04-12T09_47_53_626Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment