Closed nikomaxi closed 3 years ago
Try doing clean rebuild. I've seen such errors, but I do not remember what fixes that. Make sure you do not overwrite LDFLAGS anywhere.
I have done a clean rebuild but it does show the exact same error. I am using your docker version. So I deleted my docker container and cache from docker.
Heres the new error message:
LD build/button.out
./build/open_esplibs_libwpa.a(wpa_main.o): In function `no symbol':
:(.text.sdk_dhcp_bind_check+0x4): multiple definition of `no symbol'
./build/open_esplibs_libwpa.a(wpa_main.o)::(.text.sdk_wpa_config_assoc_ie+0x4): first defined here
./build/open_esplibs_libwpa.a(wpa_main.o): In function `no symbol':
:(.text.sdk_wpa_config_profile+0x8): multiple definition of `no symbol'
./build/open_esplibs_libwpa.a(wpa_main.o)::(.text.sdk_wpa_config_assoc_ie+0x4): first defined here
./build/open_esplibs_libwpa.a(wpa_main.o): In function `no symbol':
:(.text.sdk_wpa_config_bss+0x4): multiple definition of `no symbol'
./build/open_esplibs_libwpa.a(wpa_main.o)::(.text.sdk_wpa_config_assoc_ie+0x4): first defined here
./build/open_esplibs_libwpa.a(wpa_main.o): In function `no symbol':
:(.text.sdk_eagle_auth_done+0x78): multiple definition of `no symbol'
./build/open_esplibs_libwpa.a(wpa_main.o)::(.text.sdk_wpa_config_assoc_ie+0x4): first defined here
./build/open_esplibs_libwpa.a(wpa_main.o): In function `no symbol':
:(.text.sdk_wpa_neg_complete+0x4): multiple definition of `no symbol'
./build/open_esplibs_libwpa.a(wpa_main.o)::(.text.sdk_wpa_config_assoc_ie+0x4): first defined here
./build/open_esplibs_libwpa.a(wpa_main.o): In function `no symbol':
:(.text.sdk_wpa_attach+0x20): multiple definition of `no symbol'
./build/open_esplibs_libwpa.a(wpa_main.o)::(.text.sdk_wpa_config_assoc_ie+0x4): first defined here
./build/wolfssl.a: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
/opt/esp-open-rtos/common.mk:232: recipe for target 'build/button.out' failed
make[1]: *** [build/button.out] Error 1
make[1]: Leaving directory '/project/examples/button'
/opt/esp-open-rtos/common.mk:266: recipe for target 'rebuild' failed
make: *** [rebuild] Error 2
make: Leaving directory '/project/examples/button'
My Docker Container shows now LD Flags exported
That's not what I meant. Do make clean
first, then rebuild the firmware.
I could only solve this problem by reinstalling my OS. So I can close this issue.
Following error while compiling the example button.
./build/wolfssl.a: file not recognized: File format not recognized collect2: error: ld returned 1 exit status /opt/esp-open-rtos/common.mk:232: recipe for target 'build/button.out' failed make: *** [build/button.out] Error 1 make: Leaving directory '/project/examples/button'
I used the Docker version.