linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: Malte Gell <malte.gell@gmx.de>
Cc: linux-wireless@vger.kernel.org
Subject: Re: cannot compile compate-wirless snapshots
Date: Sat, 26 Sep 2009 12:06:36 +0200	[thread overview]
Message-ID: <4ABDE7AC.1090409@hauke-m.de> (raw)
In-Reply-To: <200909260457.21103.malte.gell@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]

Malte Gell wrote:
> Hello,
> 
> actually I can build the stable compat-wirless-2.6.30.ta.bz2 just fine.
> 
> But I get make errors, when I try to build the daily snapshot, see below. I 
> use openSUSE on a 2.6.27 kernel.
> 
> Thanx, Malte
> 
> 
> 2[malte_gell@linux-61r3]12535 04:50~/download/src/wifi/compat-
> wireless-2009-09-25> make
> make -C /lib/modules/2.6.27.29-0.1-k7/build 
> M=/home/malte_gell/download/src/wifi/compat-wireless-2009-09-25 modules
> make[1]: Entering directory `/usr/src/linux-2.6.27.29-0.1'
>   CC [M]  /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/drivers/net/wireless/ath/main.o
> In file included from /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat.h:19,
>                  from <command-line>:0:
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/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-25/include/net/compat.h:19,
>                  from <command-line>:0:
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/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-25/include/net/compat-2.6.28.h:10,
>                  from /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/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-25/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
Hi,

what kernel are you using? It looks to me you are using 2.6.27, but the
2.6.27 mainline kernel does *not* contain the tracepoint infrastructure
and include/linux/tracepoint.h, like your kernel. Did you made some big
 modifications to your kernel or is it the default openSUSE kernel?

Does this file exists in your installation?
/lib/modules/`uname -r`/build/include/linux/tracepoint.h ?

Compat-wireless checks the kernel version and adds some compat code
based on the things the mainline kernel misses in this version, but this
is not working correctly with kernel, because it looks like it contains
some "bad" modifications.

Hauke


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]

  reply	other threads:[~2009-09-26 10:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-26  2:57 cannot compile compate-wirless snapshots Malte Gell
2009-09-26 10:06 ` Hauke Mehrtens [this message]
2009-09-29  8:47   ` Malte Gell
2009-09-29  8:50   ` Malte Gell
2009-09-29  9:00     ` Hin-Tak Leung
2009-09-29 18:27       ` Gábor Stefanik
2009-09-29 18:52         ` John W. Linville
2009-09-30  1:19         ` 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=4ABDE7AC.1090409@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=malte.gell@gmx.de \
    /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).