[FUG-BR] ERRO KERNEL 64Bits

Rodrigo Mosconi freebsd em mosconi.mat.br
Quarta Julho 21 15:01:31 BRT 2010


Em 21 de julho de 2010 14:56, Danton Dorati <urisso em fug.com.br> escreveu:
> Faz o seguinte Alex, apaga todo o /usr/obj e /usr/src, atualiza o source
> novamente através do cvsup, faça um buildworld, recompila e instala o
> kernel GENERIC dessa versão. Se estiver tudo OK, vá adicionando ou
> removendo as opções do arquivo de configuração do kernel customizado uma
> a uma até identificar onde é gerado o erro.
>
>
> On 07/21/10 14:22, Enio Marconcini # www.Enio.Pro.Br wrote:
>> 2010/7/21 Alex de A. Souza<alex_a_souza em msn.com>
>>
>>
>>> Sempre compilei o kernel para server de 32Bits, agora estou instalado em um
>>> server HP 64 Bits e ta dando esses erros.
>>>
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:225: error: 'struct pcpu' has no member
>>> named 'pc_ldt'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:226: error: 'struct pcpu' has no member
>>> named 'pc_commontssp'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:227: error: 'struct pcpu' has no member
>>> named 'pc_tss'
>>> ../../../amd64/amd64/genassym.c:241: error: 'GUCODE32_SEL' undeclared here
>>> (not in a function)
>>> ../../../amd64/amd64/genassym.c:242: error: 'GUFS32_SEL' undeclared here
>>> (not in a function)
>>> ../../../amd64/amd64/genassym.c:243: error: 'GUGS32_SEL' undeclared here
>>> (not in a function)
>>> ../../../amd64/amd64/genassym.c:246: error: 'SEL_RPL_MASK' undeclared here
>>> (not in a function)
>>> *** Error code 1
>>>
>>> Como posso resolver isso?

Caso esteja fazendo um cross-compiling, lembrar de setar ARCH e
TARGET_ARCH no make


Mais detalhes sobre a lista de discussão freebsd