FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-28-2010, 06:41 AM
Darren Kirby
 
Default net-wireless/rtl8192se compile failure

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/
 
Old 09-28-2010, 01:17 PM
walt
 
Default net-wireless/rtl8192se compile failure

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?
 
Old 09-28-2010, 05:14 PM
Darren Kirby
 
Default net-wireless/rtl8192se compile failure

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/
 
Old 09-28-2010, 05:14 PM
Darren Kirby
 
Default net-wireless/rtl8192se compile failure

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/
 

Thread Tools




All times are GMT. The time now is 01:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org