2008-03-21 22:15:36

by Rakesh Sinha

[permalink] [raw]
Subject: mac80211 - 10.0.4 - Kernel - 2.6.23.9-1mdv

Hi -
I am trying to build the mac80211 system on my Mandirva 2008 package.
Kernel -

# uname -a
Linux localhost 2.6.23.9-1mdv #1 Tue Nov 27 03:30:42 EST 2007 i686
Genuine Intel(R) CPU T2060 @ 1.60GHz GNU/Linux

I am looking at the instructions available here -

http://intellinuxwireless.org/?p=mac80211&n=HOWTO-mac80211 .

After running make on 10.0.4 version of mac80211 - this is what I get
on the console.

----patch failure output-----
patching file net/mac80211/ieee80211.c
Hunk #1 FAILED at 2817.
Hunk #2 FAILED at 2838.
Hunk #3 FAILED at 2890.
Hunk #4 FAILED at 2975.
Hunk #5 FAILED at 2990.
Hunk #6 FAILED at 3003.
Hunk #7 FAILED at 3019.
7 out of 7 hunks FAILED -- saving rejects to file net/mac80211/ieee80211.c.rej

pending/0033-mac80211-fix-a-msdu-header.patch failed. Terminating.
If patch or script failed, check pre/ and post/ for current stage.
make: *** [modified] Error 1


Can somebody let me know what I am missing here.
Thanks for the help.


2008-03-25 17:21:52

by Reinette Chatre

[permalink] [raw]
Subject: RE: mac80211 - 10.0.4 - Kernel - 2.6.23.9-1mdv

On Friday, March 21, 2008 3:16 PM, Rakesh Sinha wrote:

> Hi -
> I am trying to build the mac80211 system on my Mandirva 2008
> package. Kernel -
>
> # uname -a
> Linux localhost 2.6.23.9-1mdv #1 Tue Nov 27 03:30:42 EST 2007 i686
> Genuine Intel(R) CPU T2060 @ 1.60GHz GNU/Linux
>
> I am looking at the instructions available here -
>
> http://intellinuxwireless.org/?p=mac80211&n=HOWTO-mac80211 .
>
> After running make on 10.0.4 version of mac80211 - this is what I get
> on the console.
>
> ----patch failure output-----
> patching file net/mac80211/ieee80211.c
> Hunk #1 FAILED at 2817.
> Hunk #2 FAILED at 2838.
> Hunk #3 FAILED at 2890.
> Hunk #4 FAILED at 2975.
> Hunk #5 FAILED at 2990.
> Hunk #6 FAILED at 3003.
> Hunk #7 FAILED at 3019.
> 7 out of 7 hunks FAILED -- saving rejects to file
> net/mac80211/ieee80211.c.rej
>
> pending/0033-mac80211-fix-a-msdu-header.patch failed. Terminating.
> If patch or script failed, check pre/ and post/ for current stage.
> make: *** [modified] Error 1
>

Looks like the line endings in that patch may be wrong. Please run the
following:
$ make clean
$ dos2unix pending/0033-mac80211-fix-a-msdu-header.patch

Now try to build the mac80211 again.

Reinette