hi, i am trying to upgrade the driver e1000. for which i have to rpmbuild the driver to make an rpm. this is what i did,
i am runnig kernel version, 2.6.14 (installed via rpm running on FC4) then i downloaded latest e1000 drivers sources from intel's website.
then i did,
rpmbuild -tb e1000-6.2.15.tar.gz
gave me an error that version.h is missing, googled for it, and got the answer, had to do, make include/linux/version.h in kernel sources dir.
but after that if i again give that, rpmbuild -tb e1000-6.2.15.tar.gz gives me following error,
make: Entering directory `/usr/src/redhat/BUILD/e1000-6.2.15/src' Makefile:101: *** Linux kernel source not configured - missing config.h. Stop. make: Leaving directory `/usr/src/redhat/BUILD/e1000-6.2.15/src' error: Bad exit status from /var/tmp/rpm-tmp.39817 (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.39817 (%build)
I tried searching for what this missing config.h is. but in vein and hence this post.
any help is badly needed. Thanks