> 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. 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
