Kernel build fails after commit c263294b570bc9641fe5184b066fd801803046a4

ejc eric.j.christeson at gmail.com
Wed May 4 08:59:41 PDT 2011


buildkernel gives this:

cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmi
ssing-prototypes -Wpointer-arith -Winline -Wcast-qual -std=c99 -nostdinc -I. -Ii
nclude -I/usr/src/sys -I/usr/src/sys/../include -I/usr/obj/usr/src/sys/DYN208 -I
"/usr/src/sys/dev/acpica5" -I"/usr/src/sys/contrib/dev/acpica-unix/include" -I/u
sr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/netif/ath/hal -I/usr/src/sys/dev/
netif/ath/hal/ath_hal -D_KERNEL -include opt_global.h -finline-limit=8000 --para
m inline-unit-growth=100 --param large-function-growth=1000 -ffreestanding -mpre
ferred-stack-boundary=2 -fno-stack-protector -mno-mmx -mno-3dnow -mno-sse -mno-s
se2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-sse5
-mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt -msoft-float -Werror  /usr/sr
c/sys/platform/pc32/i386/genassym.c
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing pointer to
incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing pointer to
incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
/usr/src/sys/platform/pc32/i386/genassym.c:237: error: dereferencing
pointer to incomplete type
*** Error code 1

which corresponds to

--- a/sys/platform/pc32/i386/genassym.c
+++ b/sys/platform/pc32/i386/genassym.c
@@ -234,6 +234,8 @@ ASSYM(KPSEL, GSEL(GPRIV_SEL, SEL_KPL));
 ASSYM(BC32SEL, GSEL(GBIOSCODE32_SEL, SEL_KPL));
 ASSYM(VM86_FRAMESIZE, sizeof(struct vm86frame));

+ASSYM(LA_EOI, offsetof(struct LAPIC, eoi));
+
 #ifdef SMP
 ASSYM(IOAPIC_IM_ADDR, offsetof(struct apic_intmapinfo, apic_address));
 ASSYM(IOAPIC_IM_ENTIDX, offsetof(struct apic_intmapinfo, redirindex));

from the above commit.

Thanks,
Eric





More information about the Bugs mailing list