Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't compile it in Kali linux #1

Closed
merlinnusr opened this issue Oct 28, 2017 · 5 comments
Closed

I can't compile it in Kali linux #1

merlinnusr opened this issue Oct 28, 2017 · 5 comments
Assignees

Comments

@merlinnusr
Copy link

No description provided.

@abhijeet2096
Copy link
Owner

Please provide the output of uname -r

@merlinnusr
Copy link
Author

merlinnusr commented Oct 29, 2017

I use it in a VM in VMware

uname -r
4.13.0-kali1-amd64

root@kali:~/p/TL-WN722N-V2# make all

`"******************************************"`
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-kali1-amd64/build M=/root/p/TL-WN722N-V2  modules
make[1]: se entra en el directorio '/usr/src/linux-headers-4.13.0-kali1-amd64'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /root/p/TL-WN722N-V2/core/rtw_cmd.o
In file included from /root/p/TL-WN722N-V2/include/drv_types.h:32:0,
                 from /root/p/TL-WN722N-V2/core/rtw_cmd.c:22:
/root/p/TL-WN722N-V2/include/osdep_service.h: In function ‘thread_enter’:
/root/p/TL-WN722N-V2/include/osdep_service.h:342:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
/root/p/TL-WN722N-V2/include/osdep_service.h: In function ‘flush_signals_thread’:
/root/p/TL-WN722N-V2/include/osdep_service.h:352:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
/root/p/TL-WN722N-V2/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.13.0-kali1-common/scripts/Makefile.build:307: fallo en las instrucciones para el objetivo '/root/p/TL-WN722N-V2/core/rtw_cmd.o'
make[4]: *** [/root/p/TL-WN722N-V2/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.13.0-kali1-common/Makefile:1529: fallo en las instrucciones para el objetivo '_module_/root/p/TL-WN722N-V2'
make[3]: *** [_module_/root/p/TL-WN722N-V2] Error 2
Makefile:145: fallo en las instrucciones para el objetivo 'sub-make'
make[2]: *** [sub-make] Error 2
Makefile:8: fallo en las instrucciones para el objetivo 'all'
make[1]: *** [all] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-4.13.0-kali1-amd64'
Makefile:1367: fallo en las instrucciones para el objetivo 'modules'
make: *** [modules] Error 2



@merlinnusr
Copy link
Author

I can compile it in Linux mint
uname -r
4.10.0-33-generic

but not in Kali

@abhijeet2096
Copy link
Owner

Hey,

I added Support for kernel 4.13 . please follow below instructions.

  1. clone repository again or pull
    git clone https://github.com/abhijeet2096/TL-WN722N-V2
    or
    move to previously cloned directory and type
    git pull
  2. Compile the above repository using make command
    sudo make all
    3.Compilation will/could give one warning ignore that and proceed to install.
    sudo make install
    4.Reboot the system
    sudo reboot
    5.For monitor mode follow readme.

@abhijeet2096 abhijeet2096 self-assigned this Oct 30, 2017
@merlinnusr
Copy link
Author

it works Thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants