dspinellis/cscout

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

jiayi0118 opened this issue · 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?

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.