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

Cant Compile on linux 11_11_2017 #76

Open
xevilmaxx opened this issue Nov 11, 2017 · 8 comments
Open

Cant Compile on linux 11_11_2017 #76

xevilmaxx opened this issue Nov 11, 2017 · 8 comments

Comments

@xevilmaxx
Copy link

xevilmaxx commented Nov 11, 2017

Cant compile main branch, and also other branches have similar errors.
My wifi device: Edup ac1621 (chip: rtl8814au)

`
make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.14.0-1-MANJARO/build M=/home/max/Downloads/rtl8812au-master modules
make[1]: Entering directory '/usr/lib/modules/4.14.0-1-MANJARO/build'
CC [M] /home/max/Downloads/rtl8812au-master/core/rtw_cmd.o
In file included from /home/max/Downloads/rtl8812au-master/include/drv_types.h:32:0,
from /home/max/Downloads/rtl8812au-master/core/rtw_cmd.c:22:
/home/max/Downloads/rtl8812au-master/include/osdep_service.h: In function ‘thread_enter’:
/home/max/Downloads/rtl8812au-master/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
do_signal
/home/max/Downloads/rtl8812au-master/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/max/Downloads/rtl8812au-master/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending (current))
^~~~~~~~~~~~~~
timer_pending
/home/max/Downloads/rtl8812au-master/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
do_signal
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:314: /home/max/Downloads/rtl8812au-master/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1502: module/home/max/Downloads/rtl8812au-master] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.14.0-1-MANJARO/build'
make: *** [Makefile:1264: modules] Error 2
`

any solution?
I tried other git drivers, and they compiles but dont work properly.
They detects network but cant connect.

Also official driver on cd have exactly same issue.

Also make RTL8814=1 has same output.

@juwilie
Copy link

juwilie commented Nov 15, 2017

Check out my pull request, where I fixed kernel dependencies. Works well with 4.13, and I think would work with your kernel.

@kimocoder
Copy link

@xevilmaxx
Copy link
Author

xevilmaxx commented Nov 15, 2017 via email

@kimocoder
Copy link

Well, the "0bda:8813" have to be added into "os_dep/linux/usb__intf.c" og it's missing (the adapter is new)

@kimocoder
Copy link

kimocoder commented Nov 15, 2017

The aircrack-ng repo got support for kernel v4.14 (_vfs_read functions) not only v4.13 and below, since I see your on v4.14.
Made a patch for you to have it supported.

git clone https://github.com/aircrack-ng/rtl8812au -b v5.1.5
cd rtl8812au
wget https://github.com/evilphish/rtl8812au/pull/8/commits/3e70835ef0febe9005b38368a09253aeed1360ad.patch
patch -p1 < *.patch
make RTL8814=1 && make install RTL8814=1

@xevilmaxx
Copy link
Author

xevilmaxx commented Nov 15, 2017 via email

@kimocoder
Copy link

They work great here :)

@xevilmaxx
Copy link
Author

xevilmaxx commented Dec 1, 2017

Strange, but today i tried to redo all steps with latest cernel, and they worked.
Installation is successful, BUT driver itself dont work, it doesnt connects to wifi network.
Here i retailed some output of my wifi manager.
You can search for .

wifi_out.txt

Personally i dont know what happens, but something goes wrong.

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

3 participants