pfalcon / esp-open-sdk

Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
1.97k stars 623 forks source link

Does not work with Xcode 12 #382

Open NikDevx opened 3 years ago

NikDevx commented 3 years ago

[ALL ] ld: symbol(s) not found for architecture x86_64 [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)

DoNovae commented 3 years ago

Hello,

Type twice make to go further. It leads to next issue: ct-ng:118: /Volumes/case-sensitive/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6f/scripts/scripts.mk: No such file or directory

Then I try and add links: mkdir crosstool-NG/lib mkdir crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6f cd crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6f ln -s ../../../crosstool-NG/paths.mk paths.mk ln -s ../../../crosstool-NG/config config ln -s ../../../crosstool-NG/samples samples ln -s ../../../crosstool-NG/steps.mk steps.mk ln -s ../../../crosstool-NG/kconfig/ kconfig ln -s ../../../crosstool-NG/scripts scripts ln -s ../../../crosstool-NG/paths.sh paths.sh cd ../.. make It leads to another issue after 5 mn : _gmake[2]: Entering directory '/Volumes/case-sensitive/esp-open-sdk/crosstool-NG' [INFO ] Performing some trivial sanity checks [INFO ] Build started 20201123.124330 [INFO ] Building environment variables [INFO ] ================================================================= [INFO ] Retrieving needed toolchain components' tarballs [INFO ] Retrieving needed toolchain components' tarballs: done in 334.00s (at 05:36) [INFO ] ================================================================= [INFO ] Extracting and patching toolchain components [ERROR]
[ERROR] >> [ERROR] >> Build failed in step 'Extracting and patching toolchain components' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] [ERROR] >> called from: CT_Patch[scripts/functions@1120] [ERROR] >> called from: do_gcc_extract[scripts/build/cc/100-gcc.sh@58] [ERROR] >> called from: do_cc_extract[scripts/build/cc.sh@28] [ERROR] >> called from: main[scripts/crosstool-NG.sh@616] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6f/B - Known issues.txt' [ERROR]
[ERROR] (elapsed: 6:28.00) [06:28] / gmake[2]: [ct-ng:152: build] Error 1 gmake[2]: Leaving directory '/Volumes/case-sensitive/esp-open-sdk/crosstool-NG' make[1]: [toolchain] Error 2 make: *** [crosstool-NG/.built] Error 2

+