Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] cant find stdlib.h
Date: Wed, 28 Mar 2018 12:20:55
Message-Id: 7cd6810f-21e0-90e0-07c1-46330b116e7a@iinet.net.au
1 I have a compile problem qtgui I cant figure out:
2
3 compilation terminated.
4 make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
5 make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
6 In file included from
7 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
8                  from
9 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
10                  from
11 ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
12                  from ../../include/QtCore/qglobal.h:1,
13                  from
14 ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
15                  from ../../include/QtGui/qtguiglobal.h:1,
16                  from ../../include/QtGui/../../src/gui/image/qimage.h:43,
17                  from ../../include/QtGui/qimage.h:1,
18                  from image/qimage_sse4.cpp:40:
19 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
20 fatal error: stdlib.h: No such file or directory
21  #include_next <stdlib.h>
22
23
24 and of course /usr/include/stdlib.h exists
25
26
27 The actual code in
28 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
29
30 // Need to ensure this finds the C library's <stdlib.h> not a libstdc++
31 // wrapper that might already be installed later in the include search path.
32 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
33 #include_next <stdlib.h>
34 #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
35
36 Hints welcome!
37
38
39 BillK

Replies

Subject Author
Re: [gentoo-user] cant find stdlib.h Pengcheng Xu <i@××××××××.moe>
Re: [gentoo-user] cant find stdlib.h P Levine <plevine457@×××××.com>