Changes between Version 6 and Version 7 of Internal/UbiquitiDrivers
- Timestamp:
- Oct 23, 2008, 8:06:43 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/UbiquitiDrivers
v6 v7 47 47 This is however of no consequence, because unbt hal (the ubiquiti hal) comes with it's own version of mad-wifi which it patches. Previously I hunted the documentation to find what version of mad-wifi was the one that should be patched with this ubnt hal, but could find it documented any where. It does however list it in the make file, and retains a copy of it in the src directory. For reference the version it comes with is madwifi-dfs-r3319-20080201. 48 48 49 ---- 50 49 51 It says I should be able to run make from the "main package directory" which I guess means the top level directory as there is a make file there, and it has patch targets for the included version of madwifi. It looks like there are targets to downlad the src from www.madwifi.org. However the download target does nothing. 50 52 … … 70 72 71 73 however if I just unpack and build (i.e. Don't patch), the build happens just fine. 74 75 ---- 76 77 I've figured out where the problem in. In the Makefile of the failing cc call, this is the build command: 78 79 {{{ 80 $(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules 81 82 when expanded this should look something like 83 84 make -C /usr/src/linux-headers-... SUBDIRS=~/ubnt-hal-0.6.280/src/madwifi-dfs-r3319-20080201/net80211 moudles 85 }}} 86 87 so the make command is calling the modules target of the Makefile in the headers directory. Apparently there is some macro named for_each_netdev that was modified between versions of the kernel. Its documented here (http://forum.tuxx-home.at/viewtopic.php?f=15&t=461) but in the context of installing a cisco vpn client. This error is specfic to the 2.6.24 flavor of the kernel. 88 89