Build failure - error: bits/c++config.h: No such file or directory
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Oct 30 10:21:00 GMT 2018
Hi Rob,
On Tue, 30 Oct 2018 at 10:19, Robert Jones wrote:
>
> I've built various versions of Gcc many times on different machines, with
> no problems. I have a script to record my learnings, so I'm pretty sure
> I'm doing what I always do, but this time round I've hit a problem.
>
> This happens building Gcc 8.2 and 6.4, so it's not anything specific to
> latest
> version(s)
>
> My native C++ compiler reports
>
> g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23.0.1)
>
> Operating system is
>
> Linux [...] 4.1.12-124.19.7.el6uek.x86_64 #2 SMP Sat Sep 29 17:30:15 PDT
> 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> And the machine is a VM.
>
> My first error are
>
> error: bits/c++config.h: No such file or directory
Something went very wrong. There must be an earlier error that says
why it didn't create this file.
Without knowing how you configured it I can't say more.
> error: ‘_GLIBCXX_END_NAMESPACE’ does not name a type
That's just a consequence of <bits/c++config.h> not being found.
More information about the Gcc-help
mailing list