Hi! On Die, 2012-03-20 at 14:30 +0530, Shakthi Kannan wrote: [...] > I would like to run c2xml on the Linux kernel sources. Is there a > recommended way of using the tool on kernel code? > > I tried running it directly on a source file, but, get the > 'header-file "unable to open" error. > > $ c2xml linux-3.0.4/net/ethernet/eth.c > > ../linux-3.0.4/net/ethernet/eth.c:40:11: error: unable to open > 'linux/module.h' > > I have built sparse from git sources (v0.4.4) on Fedora 15 x86_64. Someone probably have to tell c2xml where to look for the .h files similar to gcc's "-I" parameters. Bernd -- Bernd Petrovitsch Email : bernd@xxxxxxxxxxxxxxxxxxx LUGA : http://www.luga.at -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html