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

Problem compiling for Linux osmc 4.14.15-5-osmc #134

Open
fruza opened this issue Mar 15, 2018 · 1 comment
Open

Problem compiling for Linux osmc 4.14.15-5-osmc #134

fruza opened this issue Mar 15, 2018 · 1 comment

Comments

@fruza
Copy link

fruza commented Mar 15, 2018

Error when I compile it for Linux osmc 4.14.15-5-osmc #1 SMP PREEMPT Sun Mar 4 08:39:02 UTC 2018 armv7l GNU/Linux

root@osmc:/var/lib/dkms/8192cu/1.11/build# make
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.14.15-5-osmc/build M=/var/lib/dkms/8192cu/1.11/build modules
make[1]: Entering directory '/usr/src/rbp2-headers-4.14.15-5-osmc'
CC [M] /var/lib/dkms/8192cu/1.11/build/core/rtw_cmd.o
In file included from ./include/linux/netfilter.h:8:0,
from ./include/linux/netfilter/nf_conntrack_tuple_common.h:6,
from ./include/linux/netfilter/nf_conntrack_dccp.h:29,
from ./include/net/netns/conntrack.h:11,
from ./include/net/net_namespace.h:27,
from ./include/linux/netdevice.h:42,
from /var/lib/dkms/8192cu/1.11/build/include/osdep_service.h:769,
from /var/lib/dkms/8192cu/1.11/build/core/rtw_cmd.c:23:
./include/linux/if.h:28:54: fatal error: sys/socket.h: No such file or directory
#include <sys/socket.h> /* for struct sockaddr. */
^
compilation terminated.
scripts/Makefile.build:320: recipe for target '/var/lib/dkms/8192cu/1.11/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/8192cu/1.11/build/core/rtw_cmd.o] Error 1
Makefile:1507: recipe for target 'module/var/lib/dkms/8192cu/1.11/build' failed
make[1]: *** [module/var/lib/dkms/8192cu/1.11/build] Error 2
make[1]: Leaving directory '/usr/src/rbp2-headers-4.14.15-5-osmc'
Makefile:584: recipe for target 'modules' failed
make: *** [modules] Error 2

@gmiranda
Copy link

@fruza that's an issue with the way OSMC builds the kernel headers. You'll have to download the kernel sources and install them manually. See here: https://discourse.osmc.tv/t/usb-wifi-device-wth-rtl8812au-chipset-is-not-working/84070/3

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