Subject: problem compiling kernel with cardbus "ath" support
To: None <netbsd-users@NetBSD.org>
From: Henry Nelson <netb@yuba.ne.jp>
List: netbsd-users
Date: 11/21/2006 22:10:35
I was hoping to use a Buffalo AG54 AirStation WLI-CB-AMG54 wireless lan
card, but there seems to be some problem with the cardbus "ath" driver.

Trying to compile a kernel (NetBSD 3.0.0_STABLE) with "ath" support
stops with the errors below.  Any help or pointers much appreciated.

-- 
henry nelson
  WWW_HOME=http://yuba(dot)ne(dot)jp/(tilde)home/

../../../../dev/ic/ath.c:3686: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3687: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3687: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3688: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c: In function `ath_printtxbuf':
../../../../dev/ic/ath.c:3698: error: increment of pointer to unknown structure
../../../../dev/ic/ath.c:3698: error: arithmetic on pointer to an incomplete type
../../../../dev/ic/ath.c:3700: error: invalid use of undefined type `struct ath_desc'
../../../../dev/ic/ath.c:3701: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3701: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3702: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3702: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3703: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3703: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3703: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3703: error: dereferencing pointer to incomplete type
../../../../dev/ic/ath.c:3704: error: dereferencing pointer to incomplete type
*** Error code 1

Stop.