I had ran into this before (but on Gentoo FreeBSD); maybe the compile command 
line
had stray -isystem in it, thus disturbing the include search path.

Pengcheng Xu
i...@jsteward.moe



> H30/03/28 20:18、Bill Kenworthy <bi...@iinet.net.au>のメール:
> 
> I have a compile problem qtgui I cant figure out:
> 
> compilation terminated.
> make: *** [Makefile:12443: .obj/qaccessible.o] Error 1
> make: *** [Makefile:12612: .obj/qaccessiblecache.o] Error 1
> In file included from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_algo.h:59:0,
>                  from
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/algorithm:62,
>                  from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:109,
>                  from ../../include/QtCore/qglobal.h:1,
>                  from
> ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
>                  from ../../include/QtGui/qtguiglobal.h:1,
>                  from ../../include/QtGui/../../src/gui/image/qimage.h:43,
>                  from ../../include/QtGui/qimage.h:1,
>                  from image/qimage_sse4.cpp:40:
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25:
> fatal error: stdlib.h: No such file or directory
>  #include_next <stdlib.h>
> 
> 
> and of course /usr/include/stdlib.h exists
> 
> 
> The actual code in
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib is:
> 
> // Need to ensure this finds the C library's <stdlib.h> not a libstdc++
> // wrapper that might already be installed later in the include search path.
> #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> #include_next <stdlib.h>
> #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS
> 
> Hints welcome!
> 
> 
> BillK
> 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to