cscout icon indicating copy to clipboard operation
cscout copied to clipboard

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

Open jiayi0118 opened this issue 4 years ago • 1 comments

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?

jiayi0118 avatar Jun 26 '21 15:06 jiayi0118

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.

dspinellis avatar Jun 26 '21 16:06 dspinellis