Re: sparse error: unable to open 'stdarg.h'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 17, 2005 at 05:39:26PM -0500, Timur Tabi wrote:
> Timur Tabi wrote:
> 
> >make -C /lib/modules/2.6.8-24-smp/source 
> >SUBDIRS=/root/AMSO1100/software/host/linux/sys/devccil  C=1 V=2
> 
> When I replace V=2 with V=1 (don't know how that happened), I get this 
> output:
> 
> sparse  -D__i386__=1 
> -Wp,-MD,/root/AMSO1100/software/host/linux/sys/devccil/.devnet.o.d 
> -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall 

Newer kbuild's do not use the -nostdinc -iwithprefix include trick.
Instead they use -nostdinc -isystem `gcc --print-file-name=include`

Wich is a more reliable way to find stdarg.h. Newer sparse understands
this too.

Please post make V=1 output with a newer kernel.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux