Le 04/02/2020 à 17:47, Furkan İnciroğlu a écrit : > Hi there, > > After my LFS-BLFS compilation, I delete all my tools and other build > directories. Now, I have to build some driver such as igb and mmc disk driver. > When I download igb tar.gz and extract,
Not sure I understand the above. Isn't the igb driver in the kernel tree? Do you need to download a separate tarball? If so, I think you should try rather the in-tree driver. For an out of tree driver, I think you need to have the kernel sources somewhere, compile them, then indicate to the out of tree driver where to find the sources (or sometimes /usr/src/linux-x-x-x is hardcoded). Look at the Makefile, or any file included by Makefile (looks like there is a common.mk according to the error messages below, although the "http" part looks suspicious). I run make install command but it says: > > common.mk:84 <http://common.mk:84>: *** Kernel header files not in any of the > expected locations. > common.mk:85 <http://common.mk:85>: *** Install the appropriate kernel > development package, e.g. > common.mk:86 <http://common.mk:86>: *** kernel-devel, for building kernel > modules and try again. Stop. > Note: I do not think you need to start again from scratch. Pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
