On Sat, May 9, 2020, 08:27 jcarlos <jcarlosf...@gmail.com> 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 “headers_install” 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

>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to