Date: Wed, 23 May 2018 04:40:02 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228433] mulators/virtualbox-ose-kmod: compile error: error: "offsetof is not defined!" Message-ID: <bug-228433-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228433 Bug ID: 228433 Summary: mulators/virtualbox-ose-kmod: compile error: error: "offsetof is not defined!" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ohartmann@walstatt.org On recent CURRENT (FreeBSD 12.0-CURRENT #106 r333789: Fri May 18 14:48:40 C= EST 2018 amd64) building port emulators/virtualbox-ose-kmod (ports tree revisio= n at 470673), via PORTS+MODULES=3D in /etc/src.conf as part of the kernel, fail= s with the error shown below: [...] =3D=3D=3D Building 'vboxnetflt' module =3D=3D=3D machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h :> opt_netgraph.h Warning: Object directory not changed from original /usr/obj/usr/src/amd64.amd64/sys/GLOCKE/usr/ports/emulators/virtualbox-ose-= kmod/work/VirtualBox-5.2.12/out/freebsd.amd64/release/bin/src/vboxnetflt cc -O2 -pipe -march=3Dnative -fno-strict-aliasing -DRT_OS_FREEBSD -DIN_RIN= G0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING -DVIM= AGE -DRT_ARCH_AMD64 -march=3Dnative -Werror -D_KERNEL -DKLD_MODULE -nostdinc=20 -Iinclude -I. -Ir0drv -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD=20 -MF.depend.VBoxNetFlt-freebsd.o -MTVBoxNetFlt-freebsd.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tabl= es -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:1999 -c VBoxNetFlt-freebsd.c -o VBoxNetFlt-freebsd.o In file included from VBoxNetFlt-freebsd.c:63: In file included from include/VBox/err.h:30: In file included from include/iprt/err.h:30: include/iprt/types.h:73:5: error: "offsetof is not defined!" # error "offsetof is not defined!" ^ 1 error generated. *** Error code 1 Stop. make[6]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GLOCKE/usr/ports/emulators/virtualbox-ose-= kmod/work/VirtualBox-5.2.12/out/freebsd.amd64/release/bin/src/vboxnetflt *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228433-7788>