vmnet-only can't be compiled with RAP
Posted: Tue Jun 14, 2016 1:58 am
Hi,
It seems RAP causes this problem? Or any workaround?
It seems RAP causes this problem? Or any workaround?
VMWARE WORKSTATION 12 + Linux kernel 4.5.7 + PaX/Grsecurity( grsecurity-3.1-4.5.7-201606110914.patch)
-----------------------------------------------------------------------------------------------------------
/shawn-fortress vmnet-only # sudo /usr/bin/make -j4 -C /usr/lib/vmware/modules/source/vmnet-only auto-build HEADER_DIR=/lib/modules/4.5.7-grsec/build/include CC=/usr/bin/gcc IS_GCC_3=no
make: Entering directory '/usr/lib/vmware/modules/source/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.5.7-grsec/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.5.7-grsec'
CC [M] /usr/lib/vmware/modules/source/vmnet-only/driver.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/hub.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/userif.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/netif.o
Function VNetUserIfWrite is missing from the size_overflow hash table +VNetUserIfWrite+fndecl+4+54044+
CC [M] /usr/lib/vmware/modules/source/vmnet-only/bridge.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/procfs.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/smac_compat.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/smac.o
Function SMACL_Alloc is missing from the size_overflow hash table +SMACL_Alloc+fndecl+1+2775+
CC [M] /usr/lib/vmware/modules/source/vmnet-only/vnetEvent.o
CC [M] /usr/lib/vmware/modules/source/vmnet-only/vnetUserListener.o
Function size is missing from the size_overflow hash table +size+VNet_EventHeader+0+15382+
Function VNetKernel_MemoryAllocate is missing from the size_overflow hash table +VNetKernel_MemoryAllocate+fndecl+1+53131+
Function VNetKernel_MemoryAllocate is missing from the size_overflow hash table +VNetKernel_MemoryAllocate+fndecl+1+53131+
Function size is missing from the size_overflow hash table +size+VNet_EventHeader+0+15382+
Function VNetUserListenerRead is missing from the size_overflow hash table +VNetUserListenerRead+fndecl+4+34039+
LD [M] /usr/lib/vmware/modules/source/vmnet-only/vmnet.o
/usr/lib/vmware/modules/source/vmnet-only/bridge.o:(*ABS*+0x5bed9002): multiple definition of `__rap_hash_VNetBridge_Create'
scripts/Makefile.build:395: recipe for target '/usr/lib/vmware/modules/source/vmnet-only/vmnet.o' failed
make[2]: *** [/usr/lib/vmware/modules/source/vmnet-only/vmnet.o] Error 1
Makefile:1409: recipe for target '_module_/usr/lib/vmware/modules/source/vmnet-only' failed
make[1]: *** [_module_/usr/lib/vmware/modules/source/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.5.7-grsec'
Makefile:120: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/usr/lib/vmware/modules/source/vmnet-only'