Can't compile TP Link TF-3200 driver for rhel

  • Thread starter Thread starter thafez
  • Start date Start date
T

thafez

Hi,
I have tried to install tp link tf3200 network adapter without success .

The driver is sundance and the output from the make command is shown below.
Can anyone point out where I go from here?

Many thanks


[root_localhost /]# uname -a
Linux localhost.localdomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux

[root_localhost TF-3200]# gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root_localhost TF-3200]# ls
compat.h ethtool.h mii.c readme.txt
crc32.h Makefile mii.h sundance_main.c

[root_localhost TF-3200]# make all
make -C /lib/modules/2.6.9-55.ELsmp/build SUBDIRS=/root/TF-3200 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-55.EL-smp-i686'
CC [M] /root/TF-3200/sundance_main.o
/root/TF-3200/sundance_main.c:245: error: invalid lvalue in unary `&'
/root/TF-3200/sundance_main.c:245: error: initializer element is not constant
/root/TF-3200/sundance_main.c:245: error: (near initialization for `__param_arr_media.num')
make[2]: *** [/root/TF-3200/sundance_main.o] Error 1
make[1]: *** [_module_/root/TF-3200] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-55.EL-smp-i686'
make: *** [all] Error 2

[root_localhost /]# find / -name sundanc*
/usr/src/kernels/2.6.9-55.EL-smp-i686/include/config/sundance.h
/usr/src/kernels/2.6.9-55.EL-hugemem-i686/include/config/sundance.h
/usr/src/kernels/2.6.9-55.EL-i686/include/config/sundance.h
/root/TF-3200/sundance_main.c

Continue reading...
 
Back
Top