Opened 6 years ago
Closed 6 years ago
#5176 closed defect (duplicate)
Compile fails on preprocessor. stdlib.h is not found. Parabola GNU/Linux.
Reported by: | Andreas Nilsson | Owned by: | |
---|---|---|---|
Priority: | Release Blocker | Milestone: | |
Component: | Build & Packages | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Linking simulation2 ==== Building scriptinterface (release) ==== precompiled.h In file included from ../../../source/lib/sysdep/stl.h:32, from ../../../source/lib/precompiled.h:68, from ../../../source/pch/scriptinterface/precompiled.h:19: /usr/include/c++/8.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated.
Change History (5)
comment:2 by , 6 years ago
Hello, and thanks for the report,
If you look on the forums, there has been some report about latest gcc versions being broken. Can you try to compile a simple hello world test project and tell us if it works ? People experiencing the same crash as you said even that was broken.
comment:3 by , 6 years ago
Description: | modified (diff) |
---|---|
Keywords: | make removed |
comment:4 by , 6 years ago
[andreas@penguin 0ad]$ vim helloworld.cpp [andreas@penguin 0ad]$ g++ helloworld.cpp [andreas@penguin 0ad]$ ./a.out hello [andreas@penguin 0ad]$ cat helloworld.cpp #include <stdlib.h> #include <stdio.h>
int main() {
printf("hello\n"); return 0;
}
comment:5 by , 6 years ago
Milestone: | Alpha 24 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #5157