I am on Section 6.7 trying to install the linux API headers.
I cd into the folder /sources/linux-4.12
in my chroot environment. However when I try to run the make mrproper
command, I get the error: Segmentation fault (core dumped)
. I redid everything from section 6.2 again, however I still get the same error.
I dont even see this when trying to troubleshoot.
Solution to my answer was this. Still do not know why.
It was replacing
mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
<-- (Book, does not work) to mount -v --bind /dev/pts $LFS/dev/pts -o gid=5,mode=620