#152 vmhgfs kernel module does not build right on FreeBSD

open
nobody
7
2012-11-06
2012-11-06
Mikhail Teterin
No

It seems, due to a typo the debug.o is never linked into the module. This prevents the module from being loaded into kernel, because HgfsDebugPrintVattr() remains an unknown symbol. This simple patch fixes the issue:

--- modules/freebsd/vmhgfs/Makefile 2010-10-20 05:19:54.000000000 +0900
+++ modules/freebsd/vmhgfs/Makefile 2010-11-11 23:06:07.000000000 +0900
@@ -48,5 +48,5 @@

COMMON_HGFS_SRCS := debug.c
-COMMON_HGFS_SRCS := bdhandler.c
+COMMON_HGFS_SRCS += bdhandler.c
COMMON_HGFS_SRCS += request.c
COMMON_HGFS_SRCS += worker.c

Discussion

    • labels: --> kernel modules
    • priority: 5 --> 7