[Bug 255936] syscall module example fails to compile
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 255936] syscall module example fails to compile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 255936] syscall module example (share/examples/kld/syscall/module/syscall.c) fails to compile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 255936] syscall module example (share/examples/kld/syscall/module/syscall.c) fails to compile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 255936] syscall module example (share/examples/kld/syscall/module/syscall.c) fails to compile"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 May 2021 20:51:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255936
Bug ID: 255936
Summary: syscall module example fails to compile
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Manual Pages
Assignee: bugs@FreeBSD.org
Reporter: splitface@mailfence.com
CC: doc@FreeBSD.org
I tried to compile the example but I got this error:
syscall.c:55:2: error: incompatible function pointer types initializing
'systrace_args_func_t' (aka 'void (*)(int, void *, unsigned long *, int *)')
with an expression of type 'int (struct thread *, void *)'
[-Werror,-Wincompatible-function-pointer-types]
hello /* sy_call */
^~~~~
1 error generated.
*** Error code 1
the 'struct sysent' is different in FreeBSD 13 STABLE
--
You are receiving this mail because:
You are the assignee for the bug.