linux-next: wireless/kbuild tree build failure

From: Stephen Rothwell
Date: Tue Oct 06 2009 - 01:18:07 EST


Hi John,

Today's linux-next build (i386 defconfig) failed like this:

net/wireless/ethtool.c:1:30: error: linux/utsrelease.h: No such file or directory
net/wireless/ethtool.c: In function 'cfg80211_get_drvinfo':
net/wireless/ethtool.c:13: error: 'UTS_RELEASE' undeclared (first use in this function)

Caused by commit fdd4b63be177e74b9346a557b75f4b48f3a42ee1 ("wireless:
implement basic ethtool support for cfg80211 devices").

utsrelease.h is now in include/generated after commit
bbae701f7f258b051ed199ef71c5e85e683c0fb8 ("kbuild: move utsrelease.h to
include/generated") from the kbuild tree. (My other builds only worked
because utsrelease.h was left over in include/linux from previous builds.)

I have reverted the kbuild commit for today. Sam, we need to come up
with a better solution ... maybe for one release we could have the old
files including the new files ... maybe remove the old files after
2.6.33-rc2 ...

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature