Hello,

I am currently in the process of a Linux From Scratch build as a school 
project, mainly following the development book. Everything went well thus far 
until I had to compile and install libstdc++. Upon running the "make" command 
after creating the build directory and config file, it throws this error:

In file included from 
/mnt/lfs/sources/gcc-7.3.0/build-std/include/x86_64-lfs-linux-gnu/bits/c++config.h:533:0,

                 from 
/mnt/lfs/sources/gcc-7.3.0/libstdc++-v3/libsupc++/cxxabi.h:49,

                 from ../../libstdc++-v3/libsupc++/atexit_thread.cc:24:

/mnt/lfs/sources/gcc-7.3.0/build-std/include/x86_64-lfs-linux-gnu/bits/os_defines.h:44:19:
 error: missing binary operator before token "("

#if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)

This is one of 4 similar errors thrown up at compile time, I assume at other 
places in the package where os_defines.h is referenced. Has anyone ran into 
this error and/or knows how to fix it? A quick response would be greatly 
appreciated, made some pretty stupid mistakes in previous attempts at this and 
deadline is approaching very soon. 😟

Thanks,
David
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to