[Nestedvm] Still have one error on the build

C.F.Scheidecker Antunes cf.antunes at gmail.com
Tue Jan 3 17:26:15 EST 2012


It went much further now, but I still have:

gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.3.6/gcc
-I../../gcc-3.3.6/gcc/. -I../../gcc-3.3.6/gcc/config
-I../../gcc-3.3.6/gcc/../include  \
	-DTARGET_MACHINE=\"mips-unknown-elf\" \
	-c ../../gcc-3.3.6/gcc/collect2.c -o collect2.o
../../gcc-3.3.6/gcc/collect2.c: Na função ‘notice’:
../../gcc-3.3.6/gcc/collect2.c:362:1: aviso: traditional C rejects ISO
C style function definitions [-Wtraditional]
../../gcc-3.3.6/gcc/collect2.c: Na função ‘fatal_perror’:
../../gcc-3.3.6/gcc/collect2.c:374:1: aviso: traditional C rejects ISO
C style function definitions [-Wtraditional]
../../gcc-3.3.6/gcc/collect2.c: Na função ‘fatal’:
../../gcc-3.3.6/gcc/collect2.c:392:1: aviso: traditional C rejects ISO
C style function definitions [-Wtraditional]
../../gcc-3.3.6/gcc/collect2.c: Na função ‘error’:
../../gcc-3.3.6/gcc/collect2.c:408:1: aviso: traditional C rejects ISO
C style function definitions [-Wtraditional]
In file included from /usr/include/fcntl.h:252:0,
                 from ../../gcc-3.3.6/gcc/system.h:208,
                 from ../../gcc-3.3.6/gcc/collect2.c:30:
Na função ‘open’,
    forma inlined ‘collect_execute’ em ../../gcc-3.3.6/gcc/collect2.c:1575:20:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:24: erro: call to
‘__open_missing_mode’ declared with attribute error: open with O_CREAT
in second argument needs 3 arguments
make[3]: ** [collect2.o] Erro 1
make[3]: Saindo do diretório
`/home/antunes/nestedvm/nestedvm/upstream/build/gcc-obj/gcc'
make[2]: ** [all-gcc] Erro 2
make[2]: Saindo do diretório
`/home/antunes/nestedvm/nestedvm/upstream/build/gcc-obj'
make[1]: ** [tasks/build_gcc] Erro 2
make[1]: Saindo do diretório `/home/antunes/nestedvm/nestedvm/upstream'
make: ** [upstream/tasks/build_gcc] Erro 2



More information about the Nestedvm mailing list