Skip to contentSkip to conversation

compile error: compat-wireless-2009-06-03

DISCUSSION Bringfried Stecklum 3 participants 3 messages Jun 3, 2009

lore
Share & tools
lore
#0 lore raw

When trying to compile the latest compat-wireless package on an Ubuntu 8.10 64bit system running linux kernel 2.6.27-12 I get the following error

stecklum@extragalactix:~/System/src/compat-wireless-2009-06-03$ make
make -C /lib/modules/2.6.27-12-mygeneric/build M=/home/stecklum/System/src/compat-wireless-2009-06-03 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
  CC [M] 
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.o
In file included from /home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.c:20:
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/ath9k.h:469: error: field ‘ops’ has incomplete type
make[5]: *** [/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.o] Error 1
make[4]: *** [/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k] Error 2
make[3]: *** [/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath] Error 2
make[2]: *** [/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-06-03] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
make: *** [modules] Error 2

Regards,

Bringfried

#1 lore raw
Quoted 13 lines · Bringfried Stecklum

When trying to compile the latest compat-wireless package on an Ubuntu 8.10 64bit system running linux kernel 2.6.27-12 I get the following error

stecklum@extragalactix:~/System/src/compat-wireless-2009-06-03$ make
make -C /lib/modules/2.6.27-12-mygeneric/build 
M=/home/stecklum/System/src/compat-wireless-2009-06-03 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
   CC [M] 
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.o
In file included from 
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.c:20:
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/ath9k.h:469: 
error: field ‘ops’ has incomplete type

That's rfkill, not sure what to do about it.

johannes

#2 lore raw
Quoted 15 lines · Johannes Berg
Quoted 13 lines · Bringfried Stecklum

When trying to compile the latest compat-wireless package on an Ubuntu 8.10 64bit system running linux kernel 2.6.27-12 I get the following error

stecklum@extragalactix:~/System/src/compat-wireless-2009-06-03$ make
make -C /lib/modules/2.6.27-12-mygeneric/build
M=/home/stecklum/System/src/compat-wireless-2009-06-03 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
   CC [M]
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.o
In file included from
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.c:20:
/home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/ath9k.h:469:
error: field ‘ops’ has incomplete type
Quoted 3 lines

That's rfkill, not sure what to do about it.

johannes

Yes, i saw the error too - I just git-format-patch'ed the rfkill commit from wireless-testing and reverted it in compat-wireless. Then compat-wireless built and worked ok.

The rfkill commit changed a two files (an include/net/* and an Kconfig) which doesn't exist in compat-wireless (I just press return to skip during the revert). I suppose the include will need to go to the top of whatever files needing it, the Kconfig part will need to go to config.mk ... but I haven't looked in detail and other change may be needed.

The commit is this:

Quoted 1 line

From df1937eaa2b4f60ba9d8aedea1bd2e069ea31aae Mon Sep 17 00:00:00 2001

From: Johannes Berg <[email protected]>
Date: Tue, 2 Jun 2009 13:01:41 +0200
Subject: [PATCH] cfg80211: add rfkill support

Hin-Tak