ESP32-DU1906编译失败!Error: missing binary operator before token "("
Posted: Sat Apr 02, 2022 4:51 am
xxx@ubuntu:~/esp/korvo_du1906$ make -j4 all
Toolchain path: /home/adrian/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
App "korvo_du1906" version: v1.4.0
Python requirements from /home/adrian/esp-idf/requirements.txt are satisfied.
BIN phy_init_data.bin
CC build/wifi_service/airkiss_config/airkiss_config.o
/home/adrian/esp/esp-adf/components/wifi_service/airkiss_config/airkiss_config.c:44:44: error: missing binary operator before token "("
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0))
按例程里的步骤一项项过,试过idf.py 也是一直过不了,有人说 Make可以过,就试了下还是出错
xxx@ubuntu:~/esp/korvo_du1906$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
高手帮忙查下这是什么错?
^
Toolchain path: /home/adrian/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
App "korvo_du1906" version: v1.4.0
Python requirements from /home/adrian/esp-idf/requirements.txt are satisfied.
BIN phy_init_data.bin
CC build/wifi_service/airkiss_config/airkiss_config.o
/home/adrian/esp/esp-adf/components/wifi_service/airkiss_config/airkiss_config.c:44:44: error: missing binary operator before token "("
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0))
按例程里的步骤一项项过,试过idf.py 也是一直过不了,有人说 Make可以过,就试了下还是出错
xxx@ubuntu:~/esp/korvo_du1906$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
高手帮忙查下这是什么错?
^