sparse error: unable to open 'stdarg.h'

From: Timur Tabi
Date: Tue May 17 2005 - 17:11:14 EST


I'm trying to run sparse on my external module, but sparse complains about not being able to find stdarg.h. I know this bug was supposed to have been fixed back in January, but I'm using the latest code, so I can't explain what's wrong. I've tried this on a couple different 2.6 kernels.

Here's the output I get:

make -C /lib/modules/2.6.8-24-smp/source SUBDIRS=/root/AMSO1100/software/host/linux/sys/devccil C=1 V=2
make[2]: Entering directory `/usr/src/linux-2.6.8-24'
CHECK /root/AMSO1100/software/host/linux/sys/devccil/devnet.c
include/linux/kernel.h:10:11: error: unable to open 'stdarg.h'
make[3]: *** [/root/AMSO1100/software/host/linux/sys/devccil/devnet.o] Error 1
make[2]: *** [_module_/root/AMSO1100/software/host/linux/sys/devccil] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-24'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/AMSO1100/software/host/linux/sys/devccil'
make: *** [build] Error 2

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

One thing a Southern boy will never say is,
"I don't think duct tape will fix it."
-- Ed Smylie, NASA engineer for Apollo 13
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/