Re: [Madwifi-devel] error: #warning Including config.h is deprecated.
Status: Beta
Brought to you by:
otaku
From: Kel M. <ke...@tp...> - 2006-08-21 22:59:44
|
On Tuesday 22 August 2006 08:36, Axel Thimm wrote: > On Tue, Aug 22, 2006 at 08:13:41AM +1000, Kel Modderman wrote: > > On Tuesday 22 August 2006 03:11, Axel Thimm wrote: > > > Hi, > > > > > > this is on a recent FC6 kernel. I am a bit surprised that the warning > > > becomes and error. Does the madwifi build turn warnings to errors? > > > > Yeah it does: COPTS+= -Werror > > Probably not a real fix to remove it then :) > > > > CC [M] /builddir/madwifi-0.9.2/ath/ah_osdep.o > > > In file included from > > > /builddir/madwifi-0.9.2/ath/../hal/linux/ah_osdep.c:44, from > > > /builddir/madwifi-0.9.2/ath/ah_osdep.c:2: > > > include/linux/config.h:6:2: error: #warning Including config.h is > > > deprecated. > > > > I think there is a trac ticket for this, and every other FC kernel that > > says it is 2.6.17, but is really 2.6.18-(rc|mm). > > Unless I borked it up somewhere that should have been taken care of in > my builds, e.g. LINUX_VERSION_CODE == KERNEL_VERSION(2,6,18). Does > this error indicate otherwise? No, I don't think it indicates errors in your packaging. It seems to be caused by a change this is used by the FC kernel, but is not in 2.6.18-rc4. Kel. |