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

A lot of compilation rules are missing when csmake linux kernel 2.6.34 #72

Open
jiayi0118 opened this issue Jun 26, 2021 · 1 comment
Open

Comments

@jiayi0118
Copy link

I have compiled linux kernel 2.6.34 with gcc 4.8 successfully.

I want to generate make.cs as input of cscout, so I run csmake to capture the compilation rules for each .c file.

However, I find a lot of Warning when running csmake, as following:
Warning: No compilation rule for /home/plus/linux/linux-2.6.34/lib/show_mem.o

These warnings indicate csmake fails to capture compilation rule for these compilation units, and when I use make.cs to run cscout, these files are not analyzed.

Is there any solution to deal with this problem?

@dspinellis
Copy link
Owner

Your understanding of the problem seems correct. From the compilation log, can you see how show_mem.o is generated? Maybe it's through a tool / method that we haven't foreseen.

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

No branches or pull requests

2 participants