#1989: Trunk builds fail
----------------------------+-----------------------------------------------
Reporter: anonymous | Type: defect
Status: new | Priority: minor
Component: madwifi: other | Version:
Keywords: | Patch_attached: 0
----------------------------+-----------------------------------------------
SVN revisions after 3653 fail to build into the kernel:
{{{
drivers/built-in.o: In function `ath_reset':
if_ath.c:(.text+0x8fb73): undefined reference to `ath_set_ack_bitrate'
drivers/built-in.o: In function `ath_sysctl_halparam':
if_ath.c:(.text+0x90b80): undefined reference to `ath_set_ack_bitrate'
drivers/built-in.o: In function `ath_init':
if_ath.c:(.text+0x94314): undefined reference to `ath_set_ack_bitrate'
drivers/built-in.o: In function `txcont_on':
if_ath.c:(.text+0x96384): undefined reference to `ath_set_ack_bitrate'
if_ath.c:(.text+0x963a9): undefined reference to `ar_device'
if_ath.c:(.text+0x963c3): undefined reference to `ar_device'
drivers/built-in.o: In function `ath_attach':
(.text+0x9c7d8): undefined reference to `ath5k_chip_name'
drivers/built-in.o: In function `ath_attach':
(.text+0x9c82f): undefined reference to `ath5k_chip_name'
drivers/built-in.o: In function `ath_radar_is_enabled':
(.text+0xa4e85): undefined reference to `ar_device'
drivers/built-in.o: In function `ath_radar_update':
(.text+0xa5111): undefined reference to `ar_device'
make: *** [.tmp_vmlinux1] Error 1
}}}
The problem is a missing file from the make file (this is the same problem
that occurred with if_ath_radar, btw). The following fixes the problem:
{{{
--- linux-2.6.25.5/drivers/net/wireless/madwifi/ath/Makefile.orig
2008-06-10 14:44:16.000000000 -0400
+++ linux-2.6.25.5/drivers/net/wireless/madwifi/ath/Makefile 2008-06-10
14:28:39.000000000 -0400
@@ -37,7 +37,7 @@
ifneq ($(VERSION).$(PATCHLEVEL),2.4)
obj-$(CONFIG_ATHEROS) += ath_$(BUSNAME).o
-ath_$(BUSNAME)-objs := if_ath.o if_ath_radar.o if_ath_$(BUSNAME).o
+ath_$(BUSNAME)-objs := if_ath.o if_ath_radar.o if_ath_hal_extensions.o
if_ath_$(BUSNAME).o
endif
ifeq ($(VERSION).$(PATCHLEVEL),2.4)
}}}
--
Ticket URL: <http://madwifi.org/ticket/1989>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets