Error compiling SDK
Posted: 2025-05-25 0:08
Hello, I'm trying to compile SDK on distribution different than Ubuntu and I am getting following error:
source-cache.c:37:10: fatal error: srchilite/sourcehighlight.h: No such file or directory
The error refers to file
./sysdrv/tools/board/gdb/gdb-10.2/gdb/source-cache.c
I have source-highlight package installed in version 3.1.9-15 on my system, but decided to disable it anyway.
I edited file ./sysdrv/source/buildroot/buildroot-2023.02.6/package/gdb/gdb.mk and found that --disable-source-highlight is already present in GDB_CONF_OPTS and HOST_GDB_CONF_OPTS. Can you tell me what am I missing?
Edit: Adding option directly in Makefile solved the issue, but I am still curious why .mk file changes wouldn't apply
source-cache.c:37:10: fatal error: srchilite/sourcehighlight.h: No such file or directory
The error refers to file
./sysdrv/tools/board/gdb/gdb-10.2/gdb/source-cache.c
I have source-highlight package installed in version 3.1.9-15 on my system, but decided to disable it anyway.
I edited file ./sysdrv/source/buildroot/buildroot-2023.02.6/package/gdb/gdb.mk and found that --disable-source-highlight is already present in GDB_CONF_OPTS and HOST_GDB_CONF_OPTS. Can you tell me what am I missing?
Edit: Adding option directly in Makefile solved the issue, but I am still curious why .mk file changes wouldn't apply