RT2870 (D-Link System AirPlus G DWL-G122)

Vicenç Meĺendez vicenc.melendez at dixieland.jazztel.es
Sun Apr 24 20:27:09 UTC 2011


Thanks a lot for your prompt replies, Lázaro and JD. 

After doing "yum -y install kernel-devel", I find the following error
message:


"$make -C tools
make[1]: Entering directory
`/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory
`/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/tools'
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/tools/bin2h
cp -f
os/linux/Makefile.6 /home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/Makefile
make  -C  /lib/modules/2.6.35.12-88.fc14.i686/build
SUBDIRS=/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux modules
make[1]: Entering directory `/usr/src/kernels/2.6.35.12-88.fc14.i686'
  CC
[M]  /home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../common/rtmp_init.o
  CC
[M]  /home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.o
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c: In function ‘RTMPReadParametersHook’:
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c:808:20: error: ‘struct task_struct’ has no member named ‘fsuid’
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c:809:20: error: ‘struct task_struct’ has no member named ‘fsgid’
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c:810:9: error: ‘struct task_struct’ has no member named ‘fsuid’
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c:810:24: error: ‘struct task_struct’ has no member named ‘fsgid’
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c:1458:9: error: ‘struct task_struct’ has no member named ‘fsuid’
/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.c:1459:9: error: ‘struct task_struct’ has no member named ‘fsgid’
make[2]: ***
[/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/../../os/linux/rt_profile.o] Error 1
make[1]: ***
[_module_/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.35.12-88.fc14.i686'
make: *** [LINUX] Error 2"



It looks like the problem has to do with C structure "task_struct" which
does not recognize "fsuid" and "fgsid" as members.

Any idea or suggestion?

Thank you,

Vicenç Melendez


El dv 22 de 04 de 2011 a les 12:35 -0700, en/na JD va escriure:
> All you need to do is
> 
> yum -y install kernel-devel
> 
> and then retry building your driver.
> 
> 
> 
> On 04/22/11 10:47, vicenc.melendez at dixieland.jazztel.es wrote:
> >
> > Dear all,
> >
> > I tried installing RT2870 driver 
> > (2008_0528_RT2870_Linux_STA_v1.3.0.0.tar.bz2), but I got the following 
> > error message:
> >
> > $ make
> > make -C tools
> > make[1]: Entering directory 
> > `/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/tools'
> > gcc -g bin2h.c -o bin2h
> > make[1]: Leaving directory 
> > `/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/tools'
> > /home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/tools/bin2h
> > cp -f os/linux/Makefile.6 
> > /home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux/Makefile
> > make  -C  /lib/modules/2.6.35.12-88.fc14.i686/build 
> > SUBDIRS=/home/Blai_isabel_Vicenc/Downloads/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux 
> > modules
> > make: *** /lib/modules/2.6.35.12-88.fc14.i686/build: No such file or 
> > directory.  Stop.
> > make: *** [LINUX] Error 2
> >
> > In the directory /lib/modules/2.6.35.12-88.fc14.i686/, build is 
> > pointing to: build -> ../../../usr/src/kernels/2.6.35.12-88.fc14.i686
> >
> > In the directory /usr/src/kernels/ there is no file or folder named 
> > 2.6.35.12-88.fc14.i686. There is only an empty folder called 
> > 2.6.35.11-83.fc14.i686.
> >
> > For what I understand from the README_STA file that comes with the 
> > package, the compiler is looking for the linux kernel source include 
> > file path.
> >
> > Any i9ndication is welcome. Thank you in advance,
> >
> > Vicenc Melendez
> >
> >
> > ------------------------------------------------------------------
> > 2007 Jazztel - Jazz Telecom, S.A.U. http://www.jazztel.com
> > Antes de imprimir este e-mail piense bien si es necesario hacerlo.
> >
> 




More information about the users mailing list