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
Hi Harshal,
--- हषà¥à¤² (Harshal) p.harshal@gmail.com wrote:
i am trying to upgrade the driver e1000. for
which i have to rpmbuild the driver to make an rpm.
Why not just compile it from sources?
i am runnig kernel version, 2.6.14 (installed via rpm running on FC4)
Did you install the kernel sources?
make: Entering directory `/usr/src/redhat/BUILD/e1000-6.2.15/src'
This is your e1000 driver source.
SK
-- Shakthi Kannan, MS Software Engineer, Specsoft (Hexaware Technologies) [E]: shakthimaan@yahoo.com [M]: (91) 98407-87007 [W]: http://www.shakthimaan.com [L]: Chennai, India
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 12/15/05, Shakthi Kannan shakthimaan@yahoo.com wrote:
Hi Harshal,
--- हष॑ल (Harshal) p.harshal@gmail.com wrote:
i am trying to upgrade the driver e1000. for
which i have to rpmbuild the driver to make an rpm.
Why not just compile it from sources?
my boss told me to make an rpm, so that, he can use it in future with other machines without much technical know how, even if i leave the job ;)
Did you install the kernel sources?
yes
make: Entering directory `/usr/src/redhat/BUILD/e1000-6.2.15/src'
This is your e1000 driver source.
ok. may be i am missing something in makefile. it should not use that source, i have a different newer copy which i want to use, will check that out, got ignored by me.
SK
-- Shakthi Kannan, MS Software Engineer, Specsoft (Hexaware Technologies) [E]: shakthimaan@yahoo.com [M]: (91) 98407-87007 [W]: http://www.shakthimaan.com [L]: Chennai, India
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Thursday 15 December 2005 07:59, हष॑ल (Harshal) wrote:
I tried searching for what this missing config.h is. but in vein and hence this post.
any help is badly needed. Thanks
Its prolly a hidden file. I have mine at: /lib/modules/2.6.10-1.12_FC2smp/build/.config