Created
October 10, 2014 19:58
-
-
Save Sp1l/7b59ed2cf21306421b6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make | |
os.c:298:22: error: implicit declaration of function 'kmem_alloc_nofault' is | |
invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
vm_offset_t res = kmem_alloc_nofault(kernel_map, PAGE_SIZE); | |
^ | |
os.c:355:14: error: incompatible pointer types passing 'vm_map_t' | |
(aka 'struct vm_map *') to parameter of type 'struct vmem *' | |
[-Werror,-Wincompatible-pointer-types] | |
kmem_free(kernel_map, (vm_offset_t)mapping, PAGE_SIZE); | |
^~~~~~~~~~ | |
@/vm/vm_extern.h:59:29: note: passing argument to parameter here | |
void kmem_free(struct vmem *, vm_offset_t, vm_size_t); | |
^ | |
2 errors generated. | |
*** Error code 1 | |
Stop. | |
make: stopped in /usr/home/root/vmware-tools-distrib/lib/modules/source/vmmemctl-only |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment