unable to compile linux driver for TL-WN725N V2
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
unable to compile linux driver for TL-WN725N V2
Model :
Hardware Version :
Firmware Version :
ISP :
I have spent hours trying to figure it out and got nowhere. Some help would be so nice right now.
I THINK I installed my kernel source and header files correctly in my /usr/src. (apt-get source linux-image-$(uname -r)) Here are the contents:
[CODE]
somebody@OPTIPLEX:/usr/src$ ls
linux-3.2.0 linux-headers-3.2.0-23
linux_3.2.0-111.153.diff.gz linux-headers-3.2.0-23-generic
linux_3.2.0-111.153.dsc linux-headers-3.2.0-70
linux_3.2.0.orig.tar.gz linux-headers-3.2.0-70-generic[/CODE]
and here's the result of running 'make' for the driver:
[CODE]root@OPTIPLEX:/home/somebody/Desktop/Linux Driver# make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-70-generic/build M=/home/somebody/Desktop/Linux Driver modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-70-generic'
make[1]: *** No rule to make target `Driver'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-70-generic'
make: *** [modules] Error 2
[/CODE]
my versions:
Ubuntu 12.04 LTS
[CODE]
somebody@OPTIPLEX:/usr/src$ cat /proc/version
Linux version 3.2.0-70-generic (buildd@tipua) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014
[/CODE]
Hardware Version :
Firmware Version :
ISP :
I have spent hours trying to figure it out and got nowhere. Some help would be so nice right now.
I THINK I installed my kernel source and header files correctly in my /usr/src. (apt-get source linux-image-$(uname -r)) Here are the contents:
[CODE]
somebody@OPTIPLEX:/usr/src$ ls
linux-3.2.0 linux-headers-3.2.0-23
linux_3.2.0-111.153.diff.gz linux-headers-3.2.0-23-generic
linux_3.2.0-111.153.dsc linux-headers-3.2.0-70
linux_3.2.0.orig.tar.gz linux-headers-3.2.0-70-generic[/CODE]
and here's the result of running 'make' for the driver:
[CODE]root@OPTIPLEX:/home/somebody/Desktop/Linux Driver# make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-70-generic/build M=/home/somebody/Desktop/Linux Driver modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-70-generic'
make[1]: *** No rule to make target `Driver'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-70-generic'
make: *** [modules] Error 2
[/CODE]
my versions:
Ubuntu 12.04 LTS
[CODE]
somebody@OPTIPLEX:/usr/src$ cat /proc/version
Linux version 3.2.0-70-generic (buildd@tipua) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014
[/CODE]