Hi all. If 'device xenpci' is removed from kernel config kernel compilation fails: cd /usr/obj/usr/src/sys/MINIMAL; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=native GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 10.0-STABLE amd64 1000704" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS= COMPILER_TYPE=clang make -m /usr/src/share/mk KERNEL=kernel all -DNO_MODULES_OBJ linking kernel.debug gnttab.o: In function `gnttab_resume': /usr/src/sys/xen/gnttab.c:617: undefined reference to `xenpci_alloc_space' *** Error code 1 -- Sphinx of black quartz, judge my vow.
On Tuesday, March 11, 2014 8:55:33 am Volodymyr Kostyrko wrote:> Hi all. > > If 'device xenpci' is removed from kernel config kernel compilation fails:Did you also remove XENHVM? Note the comment in GENERIC: # Xen HVM Guest Optimizations # NOTE: XENHVM depends on xenpci. They must be added or removed together. options XENHVM # Xen HVM kernel infrastructure device xenpci # Xen HVM Hypervisor services driver -- John Baldwin