Re: 5.6.1. Installation of Linux API Headers
Flareon Zulu <[email protected]> Sat, 9 May 2020 08:32:39 -0600
| Newsgroups | gmane.linux.lfs.general |
|---|---|
| Message-ID | <CAGPVyKvvnk4PYWF6FQcCZ2Rqmu=M-o127YKtcpaitP0URQSKEA@mail.gmail.com> |
--===============0690113367246506192== Content-Type: multipart/alternative; boundary="0000000000001e679205a537fdde" --0000000000001e679205a537fdde Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 9, 2020, 08:27 jcarlos <[email protected]> wrote: > Hello friends > I would like someone to help me with the compilation of "Linux API > Headers", it is giving me a problem in copying a file. > I am in this step: > 5.6.1. Installation of Linux API Headers > The Linux kernel needs to expose an Application Programming Interface > (API) for the system's C library (Glibc in LFS) to use. This is done by > way of sanitizing various C header files that are shipped in the Linux > kernel source tarball. > > Make sure there are no stale files embedded in the package: > > make mrproper > Now extract the user-visible kernel headers from the source. The > recommended make target =E2=80=9Cheaders_install=E2=80=9D cannot be used,= because it > requires rsync, which may not be available. The headers are first placed > in ./usr, then copied to the needed location. > > make headers > cp -rv usr / include / * / tools / include > And it tells me the following: > lfs @ Dbase: /mnt/lfs/sources/linux-5.6.11$ cp -rv usr / include / * / > tools / include > cp: target '/ tools / include' is not a directory > Can somebody help me? > > -- > http://lists.linuxfromscratch.org/listinfo/lfs-chat > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > You should be able to verify that the directory exists by looking inside /tools. After that, if it's really not there, something happened in your previous two builds of Binutils and GCC. It would be early enough to simply start completely over, if needed. Flareon Zulu > --0000000000001e679205a537fdde Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><div class=3D"gmail_quote"><div dir=3D"ltr">On Sat, = May 9, 2020, 08:27 jcarlos <<a href=3D"mailto:[email protected]">jca= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote= " style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">H= ello friends<br> I would like someone to help me with the compilation of "Linux API <br= > Headers", it is giving me a problem in copying a file.<br> I am in this step:<br> 5.6.1. Installation of Linux API Headers<br> The Linux kernel needs to expose an Application Programming Interface <br> (API) for the system's C library (Glibc in LFS) to use. This is done by= <br> way of sanitizing various C header files that are shipped in the Linux <br> kernel source tarball.<br> <br> Make sure there are no stale files embedded in the package:<br> <br> make mrproper<br> Now extract the user-visible kernel headers from the source. The <br> recommended make target =E2=80=9Cheaders_install=E2=80=9D cannot be used, b= ecause it <br> requires rsync, which may not be available. The headers are first placed <b= r> in ./usr, then copied to the needed location.<br> <br> make headers<br> cp -rv usr / include / * / tools / include<br> And it tells me the following:<br> lfs @ Dbase: /mnt/lfs/sources/linux-5.6.11$ cp -rv usr / include / * / <br> tools / include<br> cp: target '/ tools / include' is not a directory<br> Can somebody help me?<br> <br> -- <br> <a href=3D"http://lists.linuxfromscratch.org/listinfo/lfs-chat" rel=3D"nore= ferrer noreferrer" target=3D"_blank">http://lists.linuxfromscratch.org/list= info/lfs-chat</a><br> FAQ: <a href=3D"http://www.linuxfromscratch.org/blfs/faq.html" rel=3D"noref= errer noreferrer" target=3D"_blank">http://www.linuxfromscratch.org/blfs/fa= q.html</a><br> Unsubscribe: See the above information page<br></blockquote></div></div><di= v dir=3D"auto"><br></div><div dir=3D"auto">You should be able to verify tha= t the directory exists by looking inside /tools. After that, if it's re= ally not there, something happened in your previous two builds of Binutils = and GCC. It would be early enough to simply start completely over, if neede= d.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Flareon Zulu</div><di= v dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"= style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote></div></div></div> --0000000000001e679205a537fdde-- --===============0690113367246506192== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCmh0dHA6Ly9saXN0cy5saW51eGZyb21zY3JhdGNoLm9yZy9saXN0aW5mby9sZnMtY2hhdApG QVE6IGh0dHA6Ly93d3cubGludXhmcm9tc2NyYXRjaC5vcmcvYmxmcy9mYXEuaHRtbApVbnN1YnNj cmliZTogU2VlIHRoZSBhYm92ZSBpbmZvcm1hdGlvbiBwYWdlCg== --===============0690113367246506192==--