> On 27/10/2017 18:15, Nickolay Sosnitsky wrote: >>> On 10/27/17 11:32 AM, Nickolay Sosnitsky wrote: >>>> Hello all! >>>> >>>> I build my LFS in VMware and after boot into it I haven't >>>> network. "ip link" show me two interfaces: loopback (lo0) and sit0, >>>> but sit0 has strange attributes (no MAC assigned): >>>> >>>> [/source/1inux-4.4.2]# ip link >>>> 1: lo: <L00PBACK,UP,L0WER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode >>>> DEFAULT group default >>>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 >>>> 2: sit0@NONE: <N0ARP,UP,L0WER_UP> mtu 1480 qdisc noqueue state UNKNOWN >>>> mode DEFAULT group default >>>> link/sit 0.0.0.0 brd 0.0.0.0 >>>> >>>> [/source/linux-4.4.2]# make menuconfig >>>> HOSTCC scripts/basic/fixdep >>>> In file included from scripts/basic/fixdep.c:106:0: >>>> /usr/include/sys/types.h:146:20: fatal error: stddef.h: No such file or >>>> directory >>>> compilation terminated. >>>> scripts/Makefile.host:91: recipe for target 'scripts/basic/fixdep' failed >>>> make[1]: *** [scripts/basic/fixdep] Error 1 >>>> Makefile:439: recipe for target 'scripts_basic' failed >>>> make: *** [scripts_basic] Error 2 >>>> [/source/linux-4.4.2]# >>> Hi Nickolay, >>> You could try to clean out the Kernel Source Tree: (Backup .config if >>> you have configured the kernel before) >>> make mrproper >>> make distclean >>> make defconfig >>> make menuconfig >> >>> To see which Network Interface you need to enable, run this command: >>> lspci | grep -i eth >> >>> Configuring the Kernel, you'll find the Network Drivers here: >> Device Drivers ->> Network Device Support -> Ethernet Driver Support -> >> >> >>> ./Michael >> >> Oh, Michael! >> >> 1. >> make mrproper - OK >> make distclean - OK >> make defconfig - The same error (sse above in "make menuconfig") >> >> 2. There is no lspci in LFS 7.9. >>
> Use lspci from the host you used to build lfs. You may also try to build > the kernel in chroot, to see whether it makes a difference. If it does > not, you'll have to understand what has changed since you first compiled > the kernel in chroot. > Pierre 1. lspci on host system show me PCnet32 Ethernet Controller. But I know it without lspci. My problem is not in recognising eternet adapter, but in kernel without driver for that adapetr! 2. As I wrote in start message, I have same error in chroot. I didn't do any changes in my LFS between two kernel compilations. Have you more ideas? Nickolay. -- 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
