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 &&
The text was updated successfully, but these errors were encountered:
impllicit definitions are not an error, but the kernel makefiles will mark
them as such. it needs a relevant #include to bring the prototype into
scope, or you can forge one into the affected source file. at some point, i
will update the code to work with more modern kernels.
On Mon, 2 Dec 2019 at 10:56, survior ***@***.***> wrote:
Is this problem has sovled?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#134?email_source=notifications&email_token=AAKYLBEG4HCNZ23QHQSHZHTQWTSXRA5CNFSM4EEV2SYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFTC53I#issuecomment-560344813>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKYLBGLVCQJCEFGSB2XUCLQWTSXRANCNFSM4EEV2SYA>
.
error: implicit declaration of function 'copy_from_user'
Fixed by:
#include <linux/uaccess.h>
This one I don't know how to fix for now.
If i comment the string with in.h include, I get such errors:
The text was updated successfully, but these errors were encountered: