From: Hin-Tak Leung <hintak_leung@yahoo.co.uk>
To: Malte Gell <malte.gell@gmx.de>
Cc: ndiswrapper-general@lists.sourceforge.net,
linux-wireless@vger.kernel.org
Subject: compat-wireless tracepoint error Re: [Ndiswrapper-general] Need help to create driver for Netgear WN111v2
Date: Tue, 29 Sep 2009 08:51:02 +0000 (GMT) [thread overview]
Message-ID: <999306.93095.qm@web23102.mail.ird.yahoo.com> (raw)
In-Reply-To: <200909290956.49681.malte.gell@gmx.de>
--- On Tue, 29/9/09, Malte Gell <malte.gell@gmx.de> wrote:
> "Hin-Tak Leung" <hintak_leung@yahoo.co.uk>
> wrote
>
> > --- On Tue, 29/9/09, Malte Gell <malte.gell@gmx.de>
> wrote:
> > > I prefer to wait ;-) This way I can stick with
> kernel
> > > 2.6.27 and just install
> > > this package, otherwise I would have to upgrade
> my kernel,
> > > because ar9170
> > > needs kernel >= 2.6.29 as far as I know. And i
> always
> > > fear, a kernel update
> > > could break other things,
>
> > Where did you learn this from? It says bleeding-edge
> compat-wireless
> > (http://linuxwireless.org/en/users/Download#Compat-wireless_release_types)
> > requires Kernel >= 2.6.27 . and it is not a *full*
> kernel update -
>
> Yes, compat-wirless-2.6 needs kernel 2.6.27, but, the
> ar9170 driver requires
> kernel 2.6.29, below you can see the "make" output when
> building compat-
> wireless-2.6 from today on kernel 2.6.27. It is this
> tracepoint issue that
> requires kernel 2.6.29
>
> Regards
> Malte
Hmm, I see you have already posted to linux-wireless and already got your answers. Hauke has already given you the answer - your kernel tree is *not* 2.6.27(.0), and as it is obvious that you have 2.6.27.29-0.1, which is 2.6.27.29 + suse-patches. Even 2.6.27.29 is not 2.6.27(.0), but somewhat closer to 2.6.28. And you really have already had your answer - your tree is somewhat between 2.6.27 and 2.6.28, and *neither*.
My suggestion would be simply to delete all the 'error: redefinition' parts from net/compat-2.6.28.h , because you already have them in the suse tree.
You may also need to delete something from net/compat-2.6.28.c, but that will happen during the linking stage (much later).
>
>
> ./scripts/driver-select ar9170
>
> make
>
> ./scripts/gen-compat-autoconf.sh config.mk >
> include/linux/compat_autoconf.h
> make -C /lib/modules/2.6.27.29-0.1-k7/build
> M=/home/malte_gell/download/src/wifi/compat-wireless-2009-09-29
> modules
> make[1]: Entering directory `/usr/src/linux-2.6.27.29-0.1'
> LD
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/drivers/net/wireless/ath/built-in.o
> CC [M]
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/drivers/net/wireless/ath/main.o
> In file included from
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat.h:19,
>
> from <command-line>:0:
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat-2.6.28.h:152: error:
> redefinition of
> ‘struct tracepoint’
> In file included from
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat.h:19,
>
> from <command-line>:0:
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat-2.6.28.h:182:1:
> warning: "DEFINE_TRACE"
> redefined
> In file included from include/linux/module.h:19,
>
> from include/linux/textsearch.h:7,
>
> from include/linux/skbuff.h:26,
>
> from
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat-2.6.28.h:10,
>
> from
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat.h:19,
>
> from <command-line>:0:
> include/linux/tracepoint.h:86:1: warning: this is the
> location of the previous
> definition
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/include/net/compat-2.6.28.h:186: error:
> redefinition of
> ‘tracepoint_update_probe_range’
> include/linux/tracepoint.h:100: error: previous definition
> of
> ‘tracepoint_update_probe_range’ was here
> make[4]: *** [/home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/drivers/net/wireless/ath/main.o] Fehler
> 1
> make[3]: *** [/home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/drivers/net/wireless/ath] Fehler 2
> make[2]: *** [/home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29/drivers/net/wireless] Fehler 2
> make[1]: ***
> [_module_/home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-29] Fehler 2
> make[1]: Leaving directory `/usr/src/linux-2.6.27.29-0.1'
> make: *** [modules] Fehler 2
>
>
next parent reply other threads:[~2009-09-29 8:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200909290956.49681.malte.gell@gmx.de>
2009-09-29 8:51 ` Hin-Tak Leung [this message]
2009-09-29 8:58 ` compat-wireless tracepoint error Re: [Ndiswrapper-general] Need help to create driver for Netgear WN111v2 Malte Gell
2009-09-29 9:06 ` Hin-Tak Leung
2009-09-29 9:45 ` Malte Gell
2009-09-29 10:28 ` Hin-Tak Leung
2009-09-29 11:07 ` Malte Gell
2009-09-29 22:17 ` Malte Gell
2009-09-30 0:57 ` Hin-Tak Leung
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=999306.93095.qm@web23102.mail.ird.yahoo.com \
--to=hintak_leung@yahoo.co.uk \
--cc=linux-wireless@vger.kernel.org \
--cc=malte.gell@gmx.de \
--cc=ndiswrapper-general@lists.sourceforge.net \
/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).