View: 4496|Reply: 0

Orange Pi plus2 problem with Install GCC 5.3

[Copy link]

4

threads

4

posts

21

credits

Novice

Rank: 1

credits
21
Published in 2016-11-3 16:31:24 | Show all floors |Read mode
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 ?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list