Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lavaInitTool Error: Compile command not found #39

Open
felicro opened this issue Nov 7, 2019 · 1 comment · May be fixed by #70
Open

lavaInitTool Error: Compile command not found #39

felicro opened this issue Nov 7, 2019 · 1 comment · May be fixed by #70

Comments

@felicro
Copy link

felicro commented Nov 7, 2019

Error occurs when performing tutorial step 2.54:

run path-to-lava/tools/install/bin/lavaInitTool src/*-pre.c where the arguments are all the preprocessed c files.

I noticed that the commands in the compile_commands.json file used the original .c files and not the -pre.c files. Modifying the compile_commands.json file using -pre.c files as the source file eliminates the error. However, the ={0} initializers were placed in the original .c files (Not the src/*-pre.c versions).

@AndrewFasano
Copy link
Member

Hm, the compile_commands.json file should capture the commands used to generate the preprocessed files and, if that were the case your other issues would go away. Did you modify your target's makefile to generate the -pre.c files and compile the target from them before you ran sw-btrace make?

@AndrewQuijano AndrewQuijano linked a pull request Jul 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants