GCC makefile give me an error: configure: error: cannot compute suffix of object files: cannot compile - LFS build
by George528 from LinuxQuestions.org on (#5HMTK)
I am building my LFS distro, currently at chapter 5, compiling GCC
i did the make command to build gcc, after half an hour i get this error:
Code:configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make[1]: *** [Makefile:12848: configure-target-libgcc] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/gcc-10.2.0/build'
make: *** [Makefile:945: all] Error 2the config.log:
it was too big so i posted it on drive:
https://drive.google.com/file/d/1epU...ew?usp=sharing
i have to mention that i once canceled the procces with Ctrl-C because i though that i was doing it as root, but the book clearly says that i have to do it as lfs user. But i was lfs user the whole time so i typed make again. I don't think this is relevant but i am giving you all the information i can find. Any help would be appreciated. Thanks
i did the make command to build gcc, after half an hour i get this error:
Code:configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make[1]: *** [Makefile:12848: configure-target-libgcc] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/gcc-10.2.0/build'
make: *** [Makefile:945: all] Error 2the config.log:
it was too big so i posted it on drive:
https://drive.google.com/file/d/1epU...ew?usp=sharing
i have to mention that i once canceled the procces with Ctrl-C because i though that i was doing it as root, but the book clearly says that i have to do it as lfs user. But i was lfs user the whole time so i typed make again. I don't think this is relevant but i am giving you all the information i can find. Any help would be appreciated. Thanks