Skip to contentSkip to conversation

Compile failure related to iwlegacy

DISCUSSION Ben Greear 1 participant 2 messages Nov 22, 2011 Networking drivers (wireless)

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I just pulled wireless-testing and tried building:

BUILD arch/x86/boot/bzImage
Setup is 14908 bytes (padded to 15360 bytes).
System is 3555 kB
CRC 36c2015b
Kernel: arch/x86/boot/bzImage is ready (#28)
MODPOST 2828 modules
ERROR: "il_dbgfs_unregister" [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined!
ERROR: "il_dbgfs_register" [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined!
ERROR: "il_dbgfs_unregister" [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined!
ERROR: "il_dbgfs_register" [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined!
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 1 line · Ben Greear

I just pulled wireless-testing and tried building:

Well, this makes it compile..but I'll let the driver guys post a real patch in case they want to solve it differently.

[greearb@build-32 linux.wireless-testing]$ git diff

drivers/net/wireless/iwlegacy/debug.c +1 -0
index 928bdbb..c80fd57 100644
@@ -27,6 +27,7 @@
  *****************************************************************************/
 #include <linux/ieee80211.h>
 #include <net/mac80211.h>
+#include <linux/export.h>
 
 #include "common.h"
 
Quoted 18 lines

BUILD arch/x86/boot/bzImage
Setup is 14908 bytes (padded to 15360 bytes).
System is 3555 kB
CRC 36c2015b
Kernel: arch/x86/boot/bzImage is ready (#28)
MODPOST 2828 modules
ERROR: "il_dbgfs_unregister" [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined!
ERROR: "il_dbgfs_register" [drivers/net/wireless/iwlegacy/iwl4965.ko] undefined!
ERROR: "il_dbgfs_unregister" [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined!
ERROR: "il_dbgfs_register" [drivers/net/wireless/iwlegacy/iwl3945.ko] undefined!
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com