Sorry to bother you guys again, but please take a look and help me solve this
My source Code versions:
gcc-6.2.0
texinfo-6.3
binutils-2.27
gmp-6.1.2
mpc-1.0.3
isl-0.18
mpfr-3.1.5
(
http://wiki.osdev.org/Building_GCC)
After calling make command and waiting for hours it break down with the following errors:
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:35:
error: 'vkid' does not name a type extern size_t ggc_get_size (const vkid *);
^~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'void* ggc_realloc(void*, size_t)':
../../gcc-6.2.0/gcc/ggc-common.c:131:29:
error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
old_size = ggc_get_size (x); ^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'int gt_pch_note_object(void*, void*, gt_note_pointers)':
../../gcc-6.2.0/gcc/ggc-common.c:287:38:
error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
(*slot)->size = ggc_get_size (obj); ^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
Makefile:1085: recipe for target 'ggc-common.o' failed
make[3]: ***
[ggc-common.o] Error 1make[3]: Leaving directory '/home/lokesh/src/build-gcc/gcc'
Makefile:4476: recipe for target 'all-stage3-gcc' failed
make[2]: ***
[all-stage3-gcc] Error 2make[2]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile:23633: recipe for target 'stage3-bubble' failed
make[1]: ***
[stage3-bubble] Error 2make[1]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile:919: recipe for target 'all' failed
make: ***
[all] Error 2In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:35:
error: 'vkid' does not name a type
extern size_t ggc_get_size (const vkid *); ^~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'void* ggc_realloc(void*, size_t)':
../../gcc-6.2.0/gcc/ggc-common.c:131:29:
error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
old_size = ggc_get_size (x); ^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'int gt_pch_note_object(void*, void*, gt_note_pointers)':
../../gcc-6.2.0/gcc/ggc-common.c:287:38:
error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
(*slot)->size = ggc_get_size (obj); ^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
Makefile:1085: recipe for target 'ggc-common.o' failed
make[3]: *** [ggc-common.o] Error 1make[3]: Leaving directory '/home/lokesh/src/build-gcc/gcc'
Makefile:4476: recipe for target 'all-stage3-gcc' failed
make[2]: *** [all-stage3-gcc] Error 2make[2]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile:23633: recipe for target 'stage3-bubble' failed
make[1]: *** [stage3-bubble] Error 2make[1]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile:919: recipe for target 'all' failed
make: *** [all] Error 2