public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] net-wireless/rtl8192se compile failure
@ 2010-09-28  6:41 Darren Kirby
  2010-09-28 13:17 ` [gentoo-user] " walt
  0 siblings, 1 reply; 4+ messages in thread
From: Darren Kirby @ 2010-09-28  6:41 UTC (permalink / raw
  To: gentoo-user

Hello all,

Trying to put the finishing touches on a new install, and compiling
the wireless driver is failing. Machine is a Toshiba Satellite L450,
uname:

 2.6.34-gentoo-r6 #2 SMP Mon Sep 27 05:48:15 MDT 2010 x86_64
Pentium(R) Dual-Core CPU T4400 @ 2.20GHz GenuineIntel GNU/Linux

lspci reports the device as: 14:00.0 Network controller: Realtek
Semiconductor Co., Ltd. Device 8172 (rev 10)

Errors:

make[1]: Entering directory `/usr/src/linux-2.6.34-gentoo-r6'
  CC [M]  /var/tmp/portage/net-wireless/rtl8192se-2.6.0017.0705.2010-r1/work/rtl8192se_linux_2.6.0017.0705.2010/HAL/rtl8192/rtl_core.o
/var/tmp/portage/net-wireless/rtl8192se-2.6.0017.0705.2010-r1/work/rtl8192se_linux_2.6.0017.0705.2010/HAL/rtl8192/rtl_core.c:
In function 'rtl8192_pci_probe':
/var/tmp/portage/net-wireless/rtl8192se-2.6.0017.0705.2010-r1/work/rtl8192se_linux_2.6.0017.0705.2010/HAL/rtl8192/rtl_core.c:5539:
error: 'struct net_device' has no member named 'wireless_handlers'
make[2]: *** [/var/tmp/portage/net-wireless/rtl8192se-2.6.0017.0705.2010-r1/work/rtl8192se_linux_2.6.0017.0705.2010/HAL/rtl8192/rtl_core.o]
Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/rtl8192se-2.6.0017.0705.2010-r1/work/rtl8192se_linux_2.6.0017.0705.2010/HAL/rtl8192]
Error 2

and:

* ERROR: net-wireless/rtl8192se-2.6.0017.0705.2010-r1 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc
CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=   all

Scratching my head here, as before installing gentoo I fired it up
with a knoppix disk, and I was able to download and compile the
drivers directly from Realtek's website, and wireless worked just
fine. Based on that I'm thinking it's not a bug, but rather something
wrong with my environment. Hoping I'm overlooking something simple
here.

Am I forgetting any pertinent info? Thanks for any ideas...
Darren
--
Support the mob or mysteriously disappear...
I'm on flickr: http://www.flickr.com/photos/badcomputer/



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

* [gentoo-user] Re: net-wireless/rtl8192se compile failure
  2010-09-28  6:41 [gentoo-user] net-wireless/rtl8192se compile failure Darren Kirby
@ 2010-09-28 13:17 ` walt
  2010-09-28 17:14   ` Darren Kirby
  2010-09-28 17:14   ` Darren Kirby
  0 siblings, 2 replies; 4+ messages in thread
From: walt @ 2010-09-28 13:17 UTC (permalink / raw
  To: gentoo-user

On 09/27/2010 11:41 PM, Darren Kirby wrote:

> error: 'struct net_device' has no member named 'wireless_handlers'

struct net_device is defined in include/linux/netdevice.h, which includes
this ifdef:

#ifdef CONFIG_WIRELESS_EXT
         /* List of functions to handle Wireless Extensions (instead of ioctl).
          * See <net/iw_handler.h> for details. Jean II */
         const struct iw_handler_def *   wireless_handlers;   <======== NOTE
         /* Instance data managed by the core of Wireless Extensions. */
         struct iw_public_data * wireless_data;
#endif

Looks like your kernel config doesn't have 'wireless extensions', maybe?




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

* Re: [gentoo-user] Re: net-wireless/rtl8192se compile failure
  2010-09-28 13:17 ` [gentoo-user] " walt
@ 2010-09-28 17:14   ` Darren Kirby
  2010-09-28 17:14   ` Darren Kirby
  1 sibling, 0 replies; 4+ messages in thread
From: Darren Kirby @ 2010-09-28 17:14 UTC (permalink / raw
  To: gentoo-user

On Tue, Sep 28, 2010 at 7:17 AM, walt <w41ter@gmail.com> wrote:
> On 09/27/2010 11:41 PM, Darren Kirby wrote:
>
>> error: 'struct net_device' has no member named 'wireless_handlers'
>
> struct net_device is defined in include/linux/netdevice.h, which includes
> this ifdef:
>
> #ifdef CONFIG_WIRELESS_EXT
>        /* List of functions to handle Wireless Extensions (instead of
> ioctl).
>         * See <net/iw_handler.h> for details. Jean II */
>        const struct iw_handler_def *   wireless_handlers;   <======== NOTE
>        /* Instance data managed by the core of Wireless Extensions. */
>        struct iw_public_data * wireless_data;
> #endif
>
> Looks like your kernel config doesn't have 'wireless extensions', maybe?

Thanks Walt,

added CONFIG_WIRELESS_EXT and it worked just fine.

Cheers,
D

-- 
--
Support the mob or mysteriously disappear...
I'm on flickr: http://www.flickr.com/photos/badcomputer/



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

* Re: [gentoo-user] Re: net-wireless/rtl8192se compile failure
  2010-09-28 13:17 ` [gentoo-user] " walt
  2010-09-28 17:14   ` Darren Kirby
@ 2010-09-28 17:14   ` Darren Kirby
  1 sibling, 0 replies; 4+ messages in thread
From: Darren Kirby @ 2010-09-28 17:14 UTC (permalink / raw
  To: gentoo-user

On Tue, Sep 28, 2010 at 7:17 AM, walt <w41ter@gmail.com> wrote:
> On 09/27/2010 11:41 PM, Darren Kirby wrote:
>
>> error: 'struct net_device' has no member named 'wireless_handlers'
>
> struct net_device is defined in include/linux/netdevice.h, which includes
> this ifdef:
>
> #ifdef CONFIG_WIRELESS_EXT
>        /* List of functions to handle Wireless Extensions (instead of
> ioctl).
>         * See <net/iw_handler.h> for details. Jean II */
>        const struct iw_handler_def *   wireless_handlers;   <======== NOTE
>        /* Instance data managed by the core of Wireless Extensions. */
>        struct iw_public_data * wireless_data;
> #endif
>
> Looks like your kernel config doesn't have 'wireless extensions', maybe?

Thanks Walt,

added CONFIG_WIRELESS_EXT and it worked just fine.

Cheers,
D

-- 
--
Support the mob or mysteriously disappear...
I'm on flickr: http://www.flickr.com/photos/badcomputer/



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

end of thread, other threads:[~2010-09-28 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28  6:41 [gentoo-user] net-wireless/rtl8192se compile failure Darren Kirby
2010-09-28 13:17 ` [gentoo-user] " walt
2010-09-28 17:14   ` Darren Kirby
2010-09-28 17:14   ` Darren Kirby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox