#5152 closed defect (fixed)
Compilation error when compiling a23-rc2
Reported by: | ns | Owned by: | s0600204 |
---|---|---|---|
Priority: | Must Have | Milestone: | |
Component: | Build & Packages | Keywords: | |
Cc: | Patch: |
Description
THe following error occurs when compiling a23-rc2 on Arch Linux using gcc 7.3.1+20180406-1.
==== Building scriptinterface (release) ==== precompiled.h In file included from ../../../source/lib/sysdep/stl.h:32:0, from ../../../source/lib/precompiled.h:68, from ../../../source/pch/scriptinterface/precompiled.h:19: /usr/include/c++/7.3.1/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated. make[1]: *** [scriptinterface.make:121: obj/scriptinterface_Release/precompiled.h.gch] Error 1 make: *** [Makefile:105: scriptinterface] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Milestone: | Alpha 23 |
---|---|
Resolution: | → needsinfo |
Status: | new → closed |
Well apparently Hannibal got the same error and could compile after make clean and clean-workspaces.sh.
mapkoc stated it was a problem with gcc even:
and the problem with gcc was with gcc 7.3.1+20180312-2 try compiling int main(){} , I got the same errors
Try updating gcc, version 8 is available too on Arch I heard.
comment:4 by , 6 years ago
ns do you still have this issue?
Does this error occur the very first time when you tried to compile it?
As far as I see it occurs when compiling with --disable-atlas
and then not compiling with it anymore (or vice versa) and not cleaning workspaces in between.
https://wildfiregames.com/forum/index.php?/topic/24180-icu-and-stdlib-error-svn/