however my project now no longer builds. it compiled ok, but when linking i get the following errors:
Code: Select all
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(c004_timers.o): in function `operator|=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator|='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(c004_timers.o): in function `operator&=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator&='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(c004_timers.o): in function `operator^=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator^='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(c004_timers.o): in function `operator>>=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator>>='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(c004_timers.o): in function `operator<<=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator<<='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(p015_dimmer.o): in function `operator|=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator|='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(p015_dimmer.o): in function `operator&=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator&='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(p015_dimmer.o): in function `operator^=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator^='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(p015_dimmer.o): in function `operator>>=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator>>='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(p015_dimmer.o): in function `operator<<=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator<<='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(rule_engine.o): in function `operator|=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator|='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here
/home/user/.espressif/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp32ctrl/build/main/libmain.a(rule_engine.o): in function `operator&=':
/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: multiple definition of `operator&='; /home/user/esp/esp32ctrl/build/main/libmain.a(main.o):/home/user/esp/esp-idf/components/soc/include/hal/timer_types.h:52: first defined here