linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compile error in carl9170 on Debian Squeeze
@ 2011-06-29 20:18 Alex
  2011-06-29 20:26 ` Omar Abraham
  0 siblings, 1 reply; 7+ messages in thread
From: Alex @ 2011-06-29 20:18 UTC (permalink / raw)
  To: linux-wireless

I get the following error when I try to compile carl9170 on Debian
Squeeze (armel)

make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
  LD      /usr/src/compat-wireless-2011-06-29/compat/built-in.o
  CC [M]  /usr/src/compat-wireless-2011-06-29/compat/main.o
In file included from
/usr/src/compat-wireless-2011-06-29/include/linux/compat-2.6.h:29,
                 from <command-line>:0:
/usr/src/compat-wireless-2011-06-29/include/linux/compat-2.6.34.h:23:
error: redefinition of 'netdev_name'
/usr/src/linux-headers-2.6.32-5-common/include/linux/netdevice.h:2032:
error: previous definition of 'netdev_name' was here
make[5]: *** [/usr/src/compat-wireless-2011-06-29/compat/main.o] Error 1
make[4]: *** [/usr/src/compat-wireless-2011-06-29/compat] Error 2
make[3]: *** [_module_/usr/src/compat-wireless-2011-06-29] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
make: *** [modules] Error 2

Get the same error on older versions from 2010 of compat. Can anybody help me?

Regards,
alex

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compile error in carl9170 on Debian Squeeze
  2011-06-29 20:18 Compile error in carl9170 on Debian Squeeze Alex
@ 2011-06-29 20:26 ` Omar Abraham
  2011-06-29 20:42   ` Pavel Roskin
  0 siblings, 1 reply; 7+ messages in thread
From: Omar Abraham @ 2011-06-29 20:26 UTC (permalink / raw)
  To: Alex; +Cc: linux-wireless

You are using older kernel headers, most likely that could be the problem

On 6/29/2011 4:18 PM, Alex wrote:
> I get the following error when I try to compile carl9170 on Debian
> Squeeze (armel)
>
> make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
>    LD      /usr/src/compat-wireless-2011-06-29/compat/built-in.o
>    CC [M]  /usr/src/compat-wireless-2011-06-29/compat/main.o
> In file included from
> /usr/src/compat-wireless-2011-06-29/include/linux/compat-2.6.h:29,
>                   from<command-line>:0:
> /usr/src/compat-wireless-2011-06-29/include/linux/compat-2.6.34.h:23:
> error: redefinition of 'netdev_name'
> /usr/src/linux-headers-2.6.32-5-common/include/linux/netdevice.h:2032:
> error: previous definition of 'netdev_name' was here
> make[5]: *** [/usr/src/compat-wireless-2011-06-29/compat/main.o] Error 1
> make[4]: *** [/usr/src/compat-wireless-2011-06-29/compat] Error 2
> make[3]: *** [_module_/usr/src/compat-wireless-2011-06-29] Error 2
> make[2]: *** [sub-make] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
> make: *** [modules] Error 2
>
> Get the same error on older versions from 2010 of compat. Can anybody help me?
>
> Regards,
> alex
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compile error in carl9170 on Debian Squeeze
  2011-06-29 20:26 ` Omar Abraham
@ 2011-06-29 20:42   ` Pavel Roskin
       [not found]     ` <4E0B9E43.3040209@upr.edu>
  2011-07-01 18:40     ` Alex
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Roskin @ 2011-06-29 20:42 UTC (permalink / raw)
  To: Omar Abraham; +Cc: Alex, linux-wireless

On 06/29/2011 04:26 PM, Omar Abraham wrote:
> You are using older kernel headers, most likely that could be the problem

No, Debian backports netdev_name in 2.6.32.  The fix is to define 
netdev_name as a macro in compat-wireless.  The same issue was already 
reported today, and I'm about to send a patch.

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compile error in carl9170 on Debian Squeeze
       [not found]       ` <4E0BA17E.2020705@gnu.org>
@ 2011-06-29 22:14         ` Omar Abraham
  0 siblings, 0 replies; 7+ messages in thread
From: Omar Abraham @ 2011-06-29 22:14 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: Alex, linux-wireless

Point taken, thanks for your efforts
On 6/29/2011 6:04 PM, Pavel Roskin wrote:
> On 06/29/2011 05:50 PM, Omar Abraham wrote:
>> Is that so? thanks, will be looking it up whenever you have it available
>> On 6/29/2011 4:42 PM, Pavel Roskin wrote:
>>> On 06/29/2011 04:26 PM, Omar Abraham wrote:
>>>> You are using older kernel headers, most likely that could be the
>>>> problem
>>>
>>> No, Debian backports netdev_name in 2.6.32. The fix is to define
>>> netdev_name as a macro in compat-wireless. The same issue was already
>>> reported today, and I'm about to send a patch.
>
> Please don't drop the mailing list from the headers.  It's impolite 
> towards other mailing list members to take the discussion private.
>
> The patch is already here:
> http://marc.info/?l=linux-wireless&m=130938043926323&w=2
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compile error in carl9170 on Debian Squeeze
  2011-06-29 20:42   ` Pavel Roskin
       [not found]     ` <4E0B9E43.3040209@upr.edu>
@ 2011-07-01 18:40     ` Alex
  2011-07-01 19:29       ` Pavel Roskin
  1 sibling, 1 reply; 7+ messages in thread
From: Alex @ 2011-07-01 18:40 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: Omar Abraham, linux-wireless

Pavel, Omar and all,

thank you very much for your support. However, I still get the error message:

                 from <command-line>:0:
/usr/src/compat-wireless-2011-06-30/include/linux/compat-2.6.34.h:23:
error: redefinition of 'netdev_name'
/usr/src/linux-headers-2.6.32-5-common/include/linux/netdevice.h:2032:
error: previous definition of 'netdev_name' was here
make[5]: *** [/usr/src/compat-wireless-2011-06-30/compat/main.o] Error 1
make[4]: *** [/usr/src/compat-wireless-2011-06-30/compat] Error 2
make[3]: *** [_module_/usr/src/compat-wireless-2011-06-30] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-kirkwood'
make: *** [modules] Error 2
r
with the version from today.

BTW: One more question: There seems to be a module "carl9170" in the
2.6.39.2 kernel. Does this replace compat-wireless? Do I only need
this module to get the wlan in monitor mode? (please excuse my
question, I am really new to this...)

Greetings from Munich
-a

On Wed, Jun 29, 2011 at 10:42 PM, Pavel Roskin <proski@gnu.org> wrote:
> On 06/29/2011 04:26 PM, Omar Abraham wrote:
>>
>> You are using older kernel headers, most likely that could be the problem
>
> No, Debian backports netdev_name in 2.6.32.  The fix is to define
> netdev_name as a macro in compat-wireless.  The same issue was already
> reported today, and I'm about to send a patch.
>
> --
> Regards,
> Pavel Roskin
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compile error in carl9170 on Debian Squeeze
  2011-07-01 18:40     ` Alex
@ 2011-07-01 19:29       ` Pavel Roskin
  2011-07-01 20:01         ` Alex
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Roskin @ 2011-07-01 19:29 UTC (permalink / raw)
  To: Alex; +Cc: Omar Abraham, linux-wireless

Quoting Alex <alex9434@gmail.com>:

> Pavel, Omar and all,
>
> thank you very much for your support. However, I still get the error message:
>
>                  from <command-line>:0:
> /usr/src/compat-wireless-2011-06-30/include/linux/compat-2.6.34.h:23:
> error: redefinition of 'netdev_name'

It takes some time to propagate patches.  The patch appeared in  
compat-wireless-2011-07-01, which is available now.

> BTW: One more question: There seems to be a module "carl9170" in the
> 2.6.39.2 kernel. Does this replace compat-wireless? Do I only need
> this module to get the wlan in monitor mode? (please excuse my
> question, I am really new to this...)

You can try it.  The point of compat-wireless is to make the current  
wireless drivers available for older kernels.  If you kernel is not so  
old, you make have the functionality you need in your kernel already.   
But if you want to use the older Debian kernel, compat-wireless is the  
only option.

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Compile error in carl9170 on Debian Squeeze
  2011-07-01 19:29       ` Pavel Roskin
@ 2011-07-01 20:01         ` Alex
  0 siblings, 0 replies; 7+ messages in thread
From: Alex @ 2011-07-01 20:01 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: Omar Abraham, linux-wireless

Great, thanks a lot. Worked now!!!

On Fri, Jul 1, 2011 at 9:29 PM, Pavel Roskin <proski@gnu.org> wrote:
> Quoting Alex <alex9434@gmail.com>:
>
>> Pavel, Omar and all,
>>
>> thank you very much for your support. However, I still get the error
>> message:
>>
>>                 from <command-line>:0:
>> /usr/src/compat-wireless-2011-06-30/include/linux/compat-2.6.34.h:23:
>> error: redefinition of 'netdev_name'
>
> It takes some time to propagate patches.  The patch appeared in
> compat-wireless-2011-07-01, which is available now.
>
>> BTW: One more question: There seems to be a module "carl9170" in the
>> 2.6.39.2 kernel. Does this replace compat-wireless? Do I only need
>> this module to get the wlan in monitor mode? (please excuse my
>> question, I am really new to this...)
>
> You can try it.  The point of compat-wireless is to make the current
> wireless drivers available for older kernels.  If you kernel is not so old,
> you make have the functionality you need in your kernel already.  But if you
> want to use the older Debian kernel, compat-wireless is the only option.
>
> --
> Regards,
> Pavel Roskin
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-01 20:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29 20:18 Compile error in carl9170 on Debian Squeeze Alex
2011-06-29 20:26 ` Omar Abraham
2011-06-29 20:42   ` Pavel Roskin
     [not found]     ` <4E0B9E43.3040209@upr.edu>
     [not found]       ` <4E0BA17E.2020705@gnu.org>
2011-06-29 22:14         ` Omar Abraham
2011-07-01 18:40     ` Alex
2011-07-01 19:29       ` Pavel Roskin
2011-07-01 20:01         ` Alex

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).