Hi,
I am trying to setup the Leaf application framework by following the instructions on the leaf setup page. Only the swi-wp76_1.0.0 successfully works. All other packages versions after this (3.0.0, 4.0.0 and so on) fail to setup properly and give the following error:
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
HOSTCC scripts/dtc/dtc-lexer.lex.o
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc’; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:402: scripts/dtc] Error 2
make: *** [Makefile:559: scripts] Error 2
“Failed to install driver build environment.”
Command ‘/home/mughees@entreng.com/.leaf/wp76-toolchain_SWI9X07Y_02.37.07.00-linux64/toolChainExtractor.sh -y -d /home/mughees@entreng.com/.leaf/wp76-toolchain_SWI9X07Y_02.37.07.00-linux64/’ exited with 1
Error during installation: Error during install step for wp76-toolchain_SWI9X07Y_02.37.07.00-linux64 (command returned 1)
My OS is Ubuntu 22.04.1 LTS. Kernel version is 5.15.0-53-generic. Does anyone has an idea, what maybe wrong here. Thanks.
Regards,
Mughees