Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Minor: The ESPIDF_CURHASH doesn't work if a submodule is out of date #184

@stestagg

Description

@stestagg

This is kinda minor, but posting for visibility:

I just had the build fail with this message:

.../components/esp32/lib/libnet80211.a(wl_cnx.o):(.text.cnx_start_handoff_cb+0x0): undefined reference to `wpa2_machine_start'

This is due to some issue with the esp-idf esp32 lib submodule on master.

As per the check in the makefile:

ESPIDF_SUPHASH := 9a26296a0e88a4c3ae27e9c848be970946fff87e
ESPIDF_CURHASH := $(shell git -C $(ESPIDF) show -s --pretty=format:'%H')
ifneq ($(ESPIDF_CURHASH),$(ESPIDF_SUPHASH))...

I checked out 9a26296a, and re-ran. This made the warning message go away, but the real problem was in a submodule, so without running git submodule update, it was still using the bad code, but the HASH check on the esp-idf repo didn't catch this.

The link completed once I'd updated the submodules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions