LFS11.3 Chapter5.2 Getting an error compiling the Binutils package
Hello folks,
I'm a relative beginner when it comes to Linux. In the course of my training, I was given the task of carrying out the LFS project in order to gain a better understanding of what is behind the system and how it works. So far I've made it to Chapter 5.2, but I'm currently encountering the problem that the "Make" command, which is responsible for compiling the package, outputs the following error: https://paste.pics/807fe07802032c44e416b1836e23eb30 |
Hello, raptor & welcome to LQ.
The segment you sent was too short to really be diagnostic with. But included header files usually end in .h, whereas .c files are code. I suspect something odd. I'd try 'rm-rf' on the binutils directory. Explode the archive and start again. When the compile crashes, hit up-arrow & return, and paste the second output here. You can also do Code:
make >compile.txt 2>&1 It's important to mention what's your host system, as some are unsuitable. |
Did you go through the list of tools and tool versions that LFS needs? For example, Debian-based distros use mawk and dash where LFS needs gawk and bash. Fedora isn't a suitable build host either for some reason.
|
Quote:
|
All times are GMT -5. The time now is 10:24 PM. |