參考資訊:
https://github.com/BPI-SINOVOIP/BPI-M4-bsp/issues/4
問題如下:
usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of 'yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
解法如下:
$ vim scripts/dtc/dtc-lexer.lex.c +640 extern YYLTYPE yylloc;