[blfs-support] Help with driver rt2800 ralink

Thomas de Roo thomas at de-roo.org
Mon Jun 30 04:45:34 PDT 2014


Did you try to use the driver in the kernel?

 

Regards,

Thomas

 

Van: blfs-support [mailto:blfs-support-bounces at lists.linuxfromscratch.org]
Namens emilianoriva
Verzonden: maandag 30 juni 2014 11:35
Aan: blfs-support at lists.linuxfromscratch.org
Onderwerp: [blfs-support] Help with driver rt2800 ralink

 

Hello and thanks for all,

I'm attempting to compile rt2800 driver for a D-Link DWA-525|111 in a
desktop pc but it fail : 

/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2983:2: error: unknown field 'private' specified in
initializer
  .private = (iw_handler *) rt_priv_handlers,
  ^
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2983:2: warning: initialization from incompatible pointer
type [enabled by default]
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2983:2: warning: (near initialization for
'rt28xx_iw_handler_def.get_wireless_stats') [enabled by default]
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2984:2: error: unknown field 'num_private' specified in
initializer
  .num_private  = N(rt_priv_handlers),
  ^
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2984:2: warning: excess elements in struct initializer
[enabled by default]
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2984:2: warning: (near initialization for
'rt28xx_iw_handler_def') [enabled by default]
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2985:2: error: unknown field 'private_args' specified in
initializer
  .private_args = (struct iw_priv_args *) privtab,
  ^
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2985:26: warning: excess elements in struct initializer
[enabled by default]
  .private_args = (struct iw_priv_args *) privtab,
                          ^
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2985:26: warning: (near initialization for
'rt28xx_iw_handler_def') [enabled by default]
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2986:2: error: unknown field 'num_private_args' specified
in initializer
  .num_private_args = N(privtab),
  ^
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2986:2: warning: excess elements in struct initializer
[enabled by default]
/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/
linux/sta_ioctl.c:2986:2: warning: (near initialization for
'rt28xx_iw_handler_def') [enabled by default]
make[2]: ***
[/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os
/linux/sta_ioctl.o] Error 1
make[1]: ***
[_module_/home/lfs/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux]
Error 2
make: *** [LINUX] Error 2

 I have completed successfully LFS Book 7.5 based on init and I thought to
start with BLFS setting network environment.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20140630/aee92492/attachment.html>


More information about the blfs-support mailing list