linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: Alfonso Fiore <alfonso.fiore@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: can't compile latest compat-wireless under kernel 3.2 even using git
Date: Wed, 01 Feb 2012 21:16:05 +0100	[thread overview]
Message-ID: <4F299D85.3080906@hauke-m.de> (raw)
In-Reply-To: <CAO=xpBFTW5b1iLnYbX7KQrjEdO0MKX86+8wooEF=DJz=+UJXZw@mail.gmail.com>

On 02/01/2012 08:32 PM, Alfonso Fiore wrote:
> Hi,
> 
> I tried to download and compile compat-wireless from git:
> 
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git clone git://github.com/mcgrof/compat.git
> git clone git://github.com/mcgrof/compat-wireless.git
> 
> export GIT_TREE=/storage/wireless/linux-next/
> export GIT_COMPAT_TREE=/storage/wireless/compat/
> 
> cd compat-wireless-2.6
> 
> ./scripts/admin-clean.sh
> ./scripts/admin-update.sh (this command is successful)
> ./scripts/driver-select
> ./scripts/driver-select rt2x00
This is all correct.
> 
> make
> 
> I get the "same" error:
> 
> $ make
> ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
> make -C /lib/modules/3.2.0-interlaced2+/build
> M=/storage/wireless/compat-wireless modules
> make[1]: Entering directory `/home/alfonso/tests/kernel/linux_keithp'
>   LD      /storage/wireless/compat-wireless/compat/built-in.o
>   CC [M]  /storage/wireless/compat-wireless/compat/main.o
> In file included from
> /storage/wireless/compat-wireless/include/linux/compat-2.6.h:40:0,
>                  from <command-line>:0:
> /storage/wireless/compat-wireless/include/linux/compat-3.3.h:11:20:
> error: static declaration of âskb_complete_wifi_ackâ follows
> non-static declaration
> include/linux/skbuff.h:2260:6: note: previous declaration of
> âskb_complete_wifi_ackâ was here
> /storage/wireless/compat-wireless/include/linux/compat-3.3.h:17:13:
> error: conflicting types for ânetdev_features_tâ
> include/linux/netdev_features.h:15:13: note: previous declaration of
> ânetdev_features_tâ was here
> make[3]: *** [/storage/wireless/compat-wireless/compat/main.o] Error 1
> make[2]: *** [/storage/wireless/compat-wireless/compat] Error 2
> make[1]: *** [_module_/storage/wireless/compat-wireless] Error 2
> make[1]: Leaving directory `/home/alfonso/tests/kernel/linux_keithp'
> make: *** [modules] Error 2
> 
> Any help is greatly appreciated.
> 
> regards,
> alfonso
What kernel are you compiling against? skb_complete_wifi_ack() is not
declared in linux kernel 3.2.2, just in 3.3-rc2. It looks like the
kernel you are compiling against has some modifications conflicting with
compat-wireless.

Hauke

  reply	other threads:[~2012-02-01 20:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 19:32 can't compile latest compat-wireless under kernel 3.2 even using git Alfonso Fiore
2012-02-01 20:16 ` Hauke Mehrtens [this message]
2012-02-02 18:22   ` Alfonso Fiore
2012-02-02 21:42     ` Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F299D85.3080906@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=alfonso.fiore@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).