#1787: Problem compiling trunk version of madwifi in kernel 2.4
------------------------------------------+---------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:       
          Type:  defect                   |      Status:  new  
      Priority:  minor                    |   Milestone:       
     Component:  madwifi: other           |     Version:  trunk
    Resolution:                           |    Keywords:       
Patch_attached:  0                        |  
------------------------------------------+---------------------------------
Old description:

> There is a problem compiling trunk for kernel 2.4
>
> The file ieee80211_scan_ap.c (inside net80211) includes a file that do
> not exist for older kernel versions.
>
> 50 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
> 51 #include "sort.c"
> 52 #else
> 53 #include <linux/sort.h>
> 54 #endif
>
> As this file was not sent with madwifi, it is necessary to copy form a
> newer version of the kernel this file, sort.c, and the header file
> sort.h, put these files in the appropriate places in the 2.4 kernel (lib
> folder and include/linux folder inside the kernel sources) and recompile
> madwifi.
>
> Doing this the problem is solved, i.e, madwifi compiles again for older
> kernels. But it wasnt tested if this solution brings some other effects.
>
> svn version 3353.

New description:

 There is a problem compiling trunk for kernel 2.4

 The file ieee80211_scan_ap.c (inside net80211) includes a file that do not
 exist for older kernel versions.

 {{{
 50 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
 51 #include "sort.c"
 52 #else
 53 #include <linux/sort.h>
 54 #endif
 }}}

 As this file was not sent with madwifi, it is necessary to copy form a
 newer version of the kernel this file, sort.c, and the header file sort.h,
 put these files in the appropriate places in the 2.4 kernel (lib folder
 and include/linux folder inside the kernel sources) and recompile madwifi.

 Doing this the problem is solved, i.e, madwifi compiles again for older
 kernels. But it wasnt tested if this solution brings some other effects.

 svn version 3353.

Comment (by mrenzmann):

 Which kernel version are you exactly talking about?

-- 
Ticket URL: <http://madwifi.org/ticket/1787#comment:1>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to