Hi,

I get the following compile error:

make[4]: Entering directory '/xc/mesa-17.3.4/src/compiler'
  CXX      glsl_types.lo
In file included from ../../include/c99_math.h:194:0,
                 from ../../src/gallium/auxiliary/util/u_math.h:44,
                 from ../../src/mesa/main/macros.h:35,
                 from glsl_types.cpp:25:
/usr/include/c++/7.2.0/cmath:45:15: fatal error: math.h: No such file
or directory
 #include_next <math.h>
               ^~~~~~~~

I'm not really familiar with the C++ #include_next functionality but
have understood that the problem here is include search path related.
Taking a closer look at config.log I noticed several errors, even
though the configure step appeared to work:
llvm-config: error: missing: /usr/lib/libLLVMDemangle.so
:       :       :

So I tried installing llvm (with Clang and Compiler RT). Then I got a
similar error compiling llvm (stdlib.h could not be found). It seems
like my build environment no longer supports C++. Any ideas, I'm really
quite stuck.

Thanks
Graham

p.s. Incidentally I had to install libdrm, wayland and wayland-protocol 
before the configure step for mesa succeeded. I have a back up my LFS
system rootfs prior to attempting the Xorg installation.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to