| 
 | 
 
Hello Guys, 
I have Orange Pi Plus 2 and want to install GCC 5.3 from source for Qt pre requaire porposes but 
in compilation process every time i had received this error: 
 
In file included from /usr/include/stdio.h:27:0, 
                 from ../.././libgcc/../gcc/tsystem.h:87, 
                 from ../.././libgcc/libgcc2.c:27: 
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory 
compilation terminated. 
Makefile:466: recipe for target '_muldi3.o' failed 
make[3]: *** [_muldi3.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
In file included from /usr/include/stdio.h:27:0, 
                 from ../.././libgcc/../gcc/tsystem.h:87, 
                 from ../.././libgcc/libgcc2.c:27: 
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory 
compilation terminated. 
Makefile:466: recipe for target '_negdi2.o' failed 
make[3]: *** [_negdi2.o] Error 1 
In file included from /usr/include/stdio.h:27:0, 
                 from ../.././libgcc/../gcc/tsystem.h:87, 
                 from ../.././libgcc/libgcc2.c:27: 
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory 
compilation terminated. 
Makefile:466: recipe for target '_cmpdi2.o' failed 
make[3]: *** [_cmpdi2.o] Error 1 
In file included from /usr/include/stdio.h:27:0, 
                 from ../.././libgcc/../gcc/tsystem.h:87, 
                 from ../.././libgcc/libgcc2.c:27: 
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory 
compilation terminated. 
Makefile:466: recipe for target '_ucmpdi2.o' failed 
make[3]: *** [_ucmpdi2.o] Error 1 
make[3]: Leaving directory '/opt/gcc-5.3.0/armv7l-unknown-linux-gnueabihf/libgcc' 
Makefile:15812: recipe for target 'all-stage1-target-libgcc' failed 
make[2]: *** [all-stage1-target-libgcc] Error 2 
make[2]: Leaving directory '/opt/gcc-5.3.0' 
Makefile:19686: recipe for target 'stage1-bubble' failed 
make[1]: *** [stage1-bubble] Error 2 
make[1]: Leaving directory '/opt/gcc-5.3.0' 
Makefile:900: recipe for target 'all' failed 
make: *** [all] Error 2 
 
 
I dont understand what is  sys/cdefs.h file and how install this header? 
 
ps. i installed libc-dev and many library according Ubuntu same problem. 
 
Any idea ? 
 |   
 
 
 
 |