All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shuo <shuox.liu@gmail.com>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: backports@vger.kernel.org
Subject: Re: Build compat-wireless for linus tree
Date: Mon, 03 Dec 2012 00:41:55 +0800	[thread overview]
Message-ID: <50BB84D3.9050402@gmail.com> (raw)
In-Reply-To: <50B8C954.2090507@hauke-m.de>

On 11/30/2012 10:57 PM, Hauke Mehrtens wrote:

> On 11/27/2012 04:17 PM, Shuo wrote:
>> Hi Hauke,
>> Sorry for disturb again.
>> I am trying compat-wireless-2012-11-25 for v3.7-rc7, but it fails.
>> I downloaded the tar package and unpackaged, driver-select b43, make
>> Some logs:
>>
>> Processing new driver-select request...
>> Backing up makefile: Makefile.bk
>> Backup exists: Makefile.bk
>> Backup exists: Makefile.bk
>> Backup exists: Makefile.bk
>> Backing up makefile: drivers/misc/eeprom/Makefile.bk
>> Backing up makefile: net/wireless/Makefile.bk
>> Backing up makefile: drivers/net/wireless/Makefile.bk
>> ./scripts/gen-compat-autoconf.sh /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/.config /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/config.mk > include/linux/compat_autoconf.h
>> make -C /lib/modules/3.7.0-rc7-shuo-main+//build M=/home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25 modules
>> make[1]: Entering directory `/home/lskakaxi/work/linux/kernel_build'
>> /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/config.mk:247: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
>>   CC [M]  /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/compat/main.o
>> In file included from /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/pm_qos.h:9:0,
>>                  from /home/lskakaxi/work/linux/linux/include/linux/netdevice.h:28,
>>                  from /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/compat-2.6.29.h:5,
>>                  from /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/compat-2.6.h:50,
>>                  from <command-line>:0:
>> /home/lskakaxi/work/extern_modules/compat-wireless/compat-wireless-2012-11-25/include/linux/pm_qos_params.h:7:38: fatal error: linux/pm_qos_params.h: No such file or directory
>> compilation terminated.
>>
>> I found the linux/pm_qos_params.h has been renamed to pm_qos.h one year ago. I am confused why compat-wirelss need this old header.
>> Anything i missed?
>>
>> Shuo
>>
> Hi Shuo,
> 
> There seams to be something wrong with your kernel. The include done in
> include/linux/pm_qos.h:9:0 should not happen on your kernel version.
> 
> Does include/generated/uapi/linux/version.h in your kernel directory
> contains #define LINUX_VERSION_CODE 197895 or does it contain some other
> number?
> 

The problem had been resolved.
There is an old LINUX_VERSION_CODE in the version.h. So i clean the
kernel tree and make a full compile again. The errors above went away.
Another thing is i found the latest compat driver contains some
graphics drivers. When i install a wireless driver, such as b43, the
graphics drivers also will be installed. That will break my original
in-tree graphic drivers dep and caused some issue when X startup.
So now, i turn to use latest wireless and graphic in-tree drivers with
the latest kernel. They work well.
Thanks, again!

> Hauke

Shuo

      reply	other threads:[~2012-12-02 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 17:20 Build compat-wireless for linus tree Shuo
2012-11-17 13:51 ` Hauke Mehrtens
     [not found]   ` <50B4C158.3020701@gmail.com>
     [not found]     ` <50B4D99B.8000308@gmail.com>
2012-11-30 14:57       ` Hauke Mehrtens
2012-12-02 16:41         ` Shuo [this message]

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=50BB84D3.9050402@gmail.com \
    --to=shuox.liu@gmail.com \
    --cc=backports@vger.kernel.org \
    --cc=hauke@hauke-m.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.