You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: implicit declaration of function 'copy_from_user'
Fixed by:
#include <linux/uaccess.h>
/usr/src/linux-headers-4.13.0-1-common/include/uapi/linux/in6.h:32:8: error: redefinition of 'struct in6_addr'
struct in6_addr {
^~~~~~~~
In file included from /home/alexey/soft/dtrace-2017.11.21/build-4.13.0-1-amd64/driver/dtrace.c:128:0:
/home/alexey/soft/dtrace-2017.11.21/build-4.13.0-1-amd64/driver/../../uts/common/netinet/in.h:17:8: note: originally defined here
struct in6_addr {
This one I don't know how to fix for now.
If i comment the string with in.h include, I get such errors:
/home/alexey/soft/dtrace-2017.11.21/build-4.13.0-1-amd64/driver/dtrace.c: In function 'dtrace_dif_subr':
/home/alexey/soft/dtrace-2017.11.21/build-4.13.0-1-amd64/driver/dtrace.c:4921:12: error: 'struct in6_addr' has no member named '_S6_un'; did you mean 'in6_u'?
if (ip6._S6_un._S6_u8[i] == 0 &&