Hi
I am trying to do Linux From Scratch first time using the LFS 7.4 book.
I am doing it on a Debian 7.1.0 host in a VMware virtual machine.
I followed the instructions here
http://www.linuxquestions.org/questi...for-lfs-34994/ to make the Debian host suitable for LFS.
I followed the book and everything seemed to be working fine until I got to Chapter 5.7.1 at "An upstream change needs to be reverted:"
I entered the command
Code:
sed -i -e 's/static __m128i/inline &/' sysdeps/x86_64/multiarch/strstr.c
but I got an error
Code:
sed: can't read sysdeps/x86_64/multiarch/strstr.c: No such file or directory
The output of version-check.sh is
Code:
./version-check.sh
bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Debian) 2.22
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Debian 4.7.2-5) 4.7.2
g++ (Debian 4.7.2-5) 4.7.2
(Debian EGLIBC 2.13-38) 2.13
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1+deb7u1
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
g++ compilation OK
Please help me solve this.