Date: Sun, 23 Sep 2018 13:25:23 +0530 From: "Cherry G.Mathew" <che...@zyx.in> Message-ID: <87efdkfy1g....@zyx.in>
| Should be fixed now. Not yet,... /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/arch/x86/x86/idt.c:92:1: error: conflicting types for 'set_idtgate' set_idtgate(idt_descriptor_t *xen_idd, void *function, int ist, ^~~~~~~~~~~ In file included from ./x86/cpufunc.h:42:0, from /tmp/bracket/build/2018.09.23.07.54.42-i386/obj/sys/arch/i386/compile/XEN3PAE_DOMU/xen-ma/machine/cpufunc.h:3, from ./xen/xen.h:38, from ./xen/intr.h:41, from ./machine/intr.h:3, from /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/sys/intr.h:98, from /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/sys/mutex.h:181, from /tmp/bracket/build/2018.09.23.07.54.42-i386/obj/sys/arch/i386/compile/XEN3PAE_DOMU/xen-ma/machine/vmparam.h:40, from /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/uvm/uvm_param.h:76, from /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/sys/param.h:149, from /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/arch/x86/x86/idt.c:70: --- if_arp.o --- /tmp/bracket/build/2018.09.23.07.54.42-i386/tools/bin/i486--netbsdelf-gcc -msoft-float -mno-mmx -mno-sse -mno-avx -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -O2 -fno-omit-frame-pointer -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sign-compare -march=i686 --sysroot=/tmp/bracket/build/2018.09.23.07.54.42-i386/destdir -Di386 -I. -I/tmp/bracket/build/2018.09.23.07.54.42-i386/obj/sys/arch/i386/compile/XEN3PAE_DOMU/xen-ma -I/tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/external/bsd/acpica/dist -I/tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/external/bsd/libnv/dist -I/tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/../common/lib/libx86emu -I/tm! p/bracket/build/2018.09.23.07.54.42--- idt.o --- /tmp/bracket/build/2018.09.23.07.54.42-i386/obj/sys/arch/i386/compile/XEN3PAE_DOMU/xen-ma/machine/segments.h:203:6: note: previous declaration of 'set_idtgate' was here void set_idtgate(idt_descriptor_t *, void *, int, int, int); ^~~~~~~~~~~ /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/arch/x86/x86/idt.c: In function 'set_idtgate': /tmp/bracket/build/2018.09.23.07.54.42-i386/src/sys/arch/x86/x86/idt.c:111:2: error: implicit declaration of function 'pmap_changeprot_local' [-Werror=implicit-function-declaration] pmap_changeprot_local(xen_idt_vaddr, VM_PROT_READ|VM_PROT_WRITE); ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors