[FUG-BR] Erro compilando o FreeBSD 8.0
Joao Rocha Braga Filho
goffredo em gmail.com
Sexta Novembro 27 18:13:11 BRST 2009
2009/11/27 Thiago J. Ruiz <thiagojruiz at gmail.com>:
> vc usou o arquivo antigo? experimente compilar o generico... ou editar o
> generico de acordo com a sua necessidade e compilar novamente.
Ainda não.
Pensei nisto quando estava terminando de escrever o e-mail. Mas não
pude testar. Fui interrompido.
Vou testar daqui a pouco. De qualquer forma, achei a mensagem
estranha por parecer que tem alguma estrutura de dados errada.
João Rocha.
>
> 2009/11/27 Joao Rocha Braga Filho <goffredo at gmail.com>
>
>> Depois de um cvsup, estou tentando compilar o FreeBSD 8.0. O
>> make buildworld foi bem. O problema foi compilar o kernel com o
>> arquivo de configuração antigo. Depois de uma erros, algumas
>> opções e alguns devices não foram aceitos, consegui fazer um
>> make buildkernel, que terminou mal:
>>
>> "
>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing
>> -march=athlon64 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
>> -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc
>> -I. -I../../.. -I../../../contrib/altq -D_KERNEL
>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
>> -finline-limit=8000 --param inline-unit-growth=100 --param
>> large-function-growth=1000 -mcmodel=kernel -mno-red-zone
>> -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
>> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
>> -fstack-protector -Werror ../../../kern/sysv_msg.c
>> ../../../kern/sysv_msg.c:1263: error: invalid application of 'sizeof'
>> to incomplete type 'struct freebsd7_msgctl_args'
>> ../../../kern/sysv_msg.c:1263: error: 'freebsd7_msgctl' undeclared
>> here (not in a function)
>> cc1: warnings being treated as errors
>> ../../../kern/sysv_msg.c:1309: warning: function declaration isn't a
>> prototype
>> ../../../kern/sysv_msg.c: In function 'freebsd7_msgctl':
>> ../../../kern/sysv_msg.c:1318: error: dereferencing pointer to incomplete
>> type
>> ../../../kern/sysv_msg.c:1318: error: request for member 'cmd' in
>> something not a structure or union
>> ../../../kern/sysv_msg.c:1318: warning: comparison between pointer and
>> integer
>> ../../../kern/sysv_msg.c:1319: error: dereferencing pointer to incomplete
>> type
>> ../../../kern/sysv_msg.c:1319: error: request for member 'buf' in
>> something not a structure or union
>> ../../../kern/sysv_msg.c:1334: error: dereferencing pointer to incomplete
>> type
>> ../../../kern/sysv_msg.c:1334: error: request for member 'msqid' in
>> something not a structure or union
>> ../../../kern/sysv_msg.c:1334: error: dereferencing pointer to incomplete
>> type
>> ../../../kern/sysv_msg.c:1334: error: request for member 'cmd' in
>> something not a structure or union
>> ../../../kern/sysv_msg.c:1334: warning: passing argument 2 of
>> 'kern_msgctl' makes integer from pointer without a cast
>> ../../../kern/sysv_msg.c:1334: warning: passing argument 3 of
>> 'kern_msgctl' makes integer from pointer without a cast
>> ../../../kern/sysv_msg.c:1337: error: dereferencing pointer to incomplete
>> type
>> ../../../kern/sysv_msg.c:1337: error: request for member 'cmd' in
>> something not a structure or union
>> ../../../kern/sysv_msg.c:1337: warning: comparison between pointer and
>> integer
>> ../../../kern/sysv_msg.c:1350: error: dereferencing pointer to incomplete
>> type
>> ../../../kern/sysv_msg.c:1350: error: request for member 'buf' in
>> something not a structure or union
>> *** Error code 1
>>
>> Stop in /usr/src/sys/amd64/compile/SUPER.
>> "
>>
>> O engraçado que aparece freebsd7 na mensagem de erro.
>>
>>
>> João Rocha.
>>
>>
>> --
>> "Sempre se apanha mais com as menores besteiras. Experiência própria."
>>
>> goffredo at gmail.com
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>
>
>
> --
> Thiago J. Ruiz
> SysAdmin/NetAdmin
> Cisco CCNA - Loading.
> http://thiagoruiz.blogspot.com
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
--
"Sempre se apanha mais com as menores besteiras. Experiência própria."
goffredo at gmail.com
Mais detalhes sobre a lista de discussão freebsd