Re: Kernel does not build on 10.0-CURRENT (amd64)

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Fri, 06 Jan 2012 19:19:07 +0100
On 06.01.2012 18:30 (UTC+1), Adrian Chadd wrote:
> i thought I had captured these.
>
> just add
>
> options AH_SUPPORT_AR5416
>
> to your kernel.

Ah, I indeed missed the new option in GENERIC, because I build with 
modified kernel config file.

I commented all wireless network drivers and their options out. But the 
error remains. Is it necessary to have this option uncommented even when 
the driver ath is commented out?

Many thanks for your fast response,
Rainer

> Adrian
>
> On 6 January 2012 09:14, Rainer Hurling<rhurlin_at_gwdg.de>  wrote:
>> I am getting the following error when trying to build recent 10.0-CURRENT
>> kernel (amd64)?
>>
>> [..snip..]
>> cc -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Werror -D_KERNEL
>> -DKLD_MODULE -nostdinc  -I. -I/usr/src/sys/modules/ath/../../dev/ath
>> -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal
>> -DHAVE_KERNEL_OPTION_HEADERS -include
>> /usr/obj/usr/src/sys/RHURLIN/opt_global.h -I. -I_at_ -I_at_/contrib/altq
>> -finline-limit=8000 --param inline-unit-growth=100 --param
>> large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
>> -I/usr/obj/usr/src/sys/RHURLIN  -mno-sse -mcmodel=kernel -mno-red-zone
>> -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
>> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall
>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
>> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
>> -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option    -c
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c: In function
>> 'ath_tx_aggr_comp_aggr':
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3136: error: 'struct
>> ath_tx_status' has no member named 'ts_flags'
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3139: error: 'struct
>> ath_tx_status' has no member named 'ts_ba_low'
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3140: error: 'struct
>> ath_tx_status' has no member named 'ts_ba_high'
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3156: error: 'struct
>> ath_tx_status' has no member named 'ts_tid'
>> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3158: error: 'struct
>> ath_tx_status' has no member named 'ts_tid'
>> *** Error code 1
>> Stop in /usr/src/sys/modules/ath.
>> *** Error code 1
>>
>>
>> I observe this behaviour on three boxes. Any help is really appreciated.
>>
>> Thanks in advance,
>> Rainer Hurling
Received on Fri Jan 06 2012 - 17:19:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC