On 10/10/18 11:55 PM, Michael Shell via blfs-support wrote:
Could you paste the gcc/g++ commands just before and after the
build failure occurred so we can see what command line options
gcc/g++ was invoked with when attempting to build gtk-test.cc?
I see two batches of Error 2 errors. I hope this is what you want:
------------------------------------------------------------------------
In file included from /usr/include/c++/8.2.0/ext/string_conversions.h:41,
from /usr/include/c++/8.2.0/bits/basic_string.h:6391,
from /usr/include/c++/8.2.0/string:52,
from /sources/poppler-0.67.0/goo/GooString.h:42,
from /sources/poppler-0.67.0/poppler/Object.h:45,
from /sources/poppler-0.67.0/poppler/GfxState.h:43,
from /sources/poppler-0.67.0/splash/SplashBitmap.h:39,
from /sources/poppler-0.67.0/test/gtk-test.cc:9:
/usr/include/c++/8.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or
directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[2]: *** [test/CMakeFiles/gtk-test.dir/build.make:63:
test/CMakeFiles/gtk-test.dir/gtk-test.cc.o] Error 1
make[2]: Leaving directory '/sources/poppler-0.67.0/build'
make[1]: *** [CMakeFiles/Makefile2:803: test/CMakeFiles/gtk-test.dir/all] Error
2
make[1]: Leaving directory '/sources/poppler-0.67.0/build'
make: *** [Makefile:141: all] Error 2
------------------------------------------------------------------------------------------------------------------------------------------
[ 89%] Building CXX object test/CMakeFiles/gtk-test.dir/gtk-test.cc.o
In file included from /usr/include/c++/8.2.0/ext/string_conversions.h:41,
from /usr/include/c++/8.2.0/bits/basic_string.h:6391,
from /usr/include/c++/8.2.0/string:52,
from /sources/poppler-0.67.0/goo/GooString.h:42,
from /sources/poppler-0.67.0/poppler/Object.h:45,
from /sources/poppler-0.67.0/poppler/GfxState.h:43,
from /sources/poppler-0.67.0/splash/SplashBitmap.h:39,
from /sources/poppler-0.67.0/test/gtk-test.cc:9:
/usr/include/c++/8.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or
directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[2]: *** [test/CMakeFiles/gtk-test.dir/build.make:63:
test/CMakeFiles/gtk-test.dir/gtk-test.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:803: test/CMakeFiles/gtk-test.dir/all] Error
2
make: *** [Makefile:141: all] Error 2
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page