When building the FreeBSD kernel module with DEBUG enabled you get an
missing symbol RTStrLen when trying to load vboxdrv.

The patch is submitted under MIT License.

Author: Bernhard Fröhlich <[email protected]>

-- 
Bernhard Froehlich
http://www.bluelife.at/

--- src/VBox/HostDrivers/Support/freebsd/Makefile.orig	2012-04-14 10:06:16.000000000 +0200
+++ src/VBox/HostDrivers/Support/freebsd/Makefile	2012-05-24 01:38:39.199586250 +0200
@@ -86,6 +86,7 @@
 .PATH:	${.CURDIR}/common/string
 SRCS += \
 	RTStrNCmp.c \
+	RTStrNLen.c \
 	RTStrCopy.c \
 	RTStrCopyP.c \
 	strformat.c \
--- src/VBox/HostDrivers/Support/freebsd/files_vboxdrv.orig	2012-04-14 10:06:16.000000000 +0200
+++ src/VBox/HostDrivers/Support/freebsd/files_vboxdrv	2012-08-03 19:34:20.780328282 +0200
@@ -116,6 +116,7 @@
     ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrCopyP.cpp=>common/string/RTStrCopyP.c \
     ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrCopy.cpp=>common/string/RTStrCopy.c \
     ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrNCmp.cpp=>common/string/RTStrNCmp.c \
+    ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrNLen.cpp=>common/string/RTStrNLen.c \
     ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>common/string/strformat.c \
     ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>common/string/strformatrt.c \
     ${PATH_ROOT}/src/VBox/Runtime/common/string/strformattype.cpp=>common/string/strformattype.c \
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to