-------------------------------------------------------------- >>> stage 5.1: building 32 bit shim libraries -------------------------------------------------------------- ...[skipped]... ===> lib/libkvm (depend,all,install) cc -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT -I/usr/obj/usr/src/lib32/usr/include -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O -pipe -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_amd64.c /usr/src/lib/libkvm/kvm_amd64.c:79: error: syntax error before "pml4_entry_t" /usr/src/lib/libkvm/kvm_amd64.c: In function `_kvm_freevtop': /usr/src/lib/libkvm/kvm_amd64.c:133: error: structure has no member named `PML4' /usr/src/lib/libkvm/kvm_amd64.c:134: error: structure has no member named `PML4' /usr/src/lib/libkvm/kvm_amd64.c: In function `_kvm_initvtop': /usr/src/lib/libkvm/kvm_amd64.c:145: error: `pml4_entry_t' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:145: error: (Each undeclared identifier is reported only once /usr/src/lib/libkvm/kvm_amd64.c:145: error: for each function it appears in.) /usr/src/lib/libkvm/kvm_amd64.c:145: error: `PML4' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:154: error: structure has no member named `PML4' /usr/src/lib/libkvm/kvm_amd64.c:190: error: structure has no member named `PML4' /usr/src/lib/libkvm/kvm_amd64.c: In function `_kvm_vatop': /usr/src/lib/libkvm/kvm_amd64.c:202: error: syntax error before "pml4e" /usr/src/lib/libkvm/kvm_amd64.c:222: error: structure has no member named `PML4' /usr/src/lib/libkvm/kvm_amd64.c:232: error: `PML4SHIFT' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:232: error: `NPML4EPG' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:233: error: `pml4e' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:233: error: structure has no member named `PML4' /usr/src/lib/libkvm/kvm_amd64.c:239: error: `PDPSHIFT' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:239: error: `NPDPEPG' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:241: error: `pdp_entry_t' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_amd64.c:244: error: `pdpe' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/lib/libkvm. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. The source tree is updated to the latest RELENG_6_0. I've tried to remove the obj directory and rebuild world again, but this can't help. It seems that `pml4_entry_t' is defined in /usr/src/sys/adm64/include/pmap.h, but the make options did not specified the include path for it.