On 10/5/06, Caerie Houchins <cdhouch(a)gmail.com> wrote:
I was attempting to build some drivers against the new kernel-devel
for
2.6.18-1.2741 and kept getting complaints that linux/config.h was missing.
I did some package file checking and it looks like it was missed in this
particular rpm build as you can see it was in the 2726 package. Do we
generally bugzilla files missed in packaging?
# rpm -q --filesbypkg kernel-devel |grep -P \/config\.h$
kernel-devel
/usr/src/kernels/2.6.18-1.2726.fc6-i686/include/config/i2o/config.h
kernel-devel /usr/src/kernels/2.6.18-1.2726.fc6-i686
/include/config/x86/find/smp/config.h
kernel-devel
/usr/src/kernels/2.6.18-1.2726.fc6-i686/include/linux/config.h
kernel-devel
/usr/src/kernels/2.6.18-1.2741.fc6-i686/include/config/i2o/config.h
kernel-devel
/usr/src/kernels/2.6.18-1.2741.fc6-i686/include/config/x86/find/smp/config.h
Caerie Houchins
There have been 'deprecated' warning messages about the use of
<linux/config.h> for a while. I guess upstream decided to finally
remove it.
I noticed this when compiling modules for ipw3945. I just 'removed'
the '#include <linux/config.h>' line and the make succeeded.
[I believe the build mechanism now 'automagically' includes the right stuff.]
tom
--
Tom London