=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xhomer", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xhomer-9.16.06nb1 gcc -DINLINE=inline -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/openwin/include -DMM_CACHE=8 -DPERF_MONITOR -DLOCAL=static -DGLOBAL=extern -DPRO -DRTC -DSHM -DDGA -DDGA2 -DBUILTIN_ROMS -c pdp11_cpu.c -o pdp11_cpu.o gcc -DINLINE=inline -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/openwin/include -DMM_CACHE=8 -DPERF_MONITOR -DLOCAL=static -DGLOBAL=extern -DPRO -DRTC -DSHM -DDGA -DDGA2 -DBUILTIN_ROMS -c pdp11_fp.c -o pdp11_fp.o gcc -DINLINE=inline -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/openwin/include -DMM_CACHE=8 -DPERF_MONITOR -DLOCAL=static -DGLOBAL=extern -DPRO -DRTC -DSHM -DDGA -DDGA2 -DBUILTIN_ROMS -c pdp11_sys.c -o pdp11_sys.o gcc -DINLINE=inline -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/openwin/include -DMM_CACHE=8 -DPERF_MONITOR -DLOCAL=static -DGLOBAL=extern -DPRO -DRTC -DSHM -DDGA -DDGA2 -DBUILTIN_ROMS -c pro_2661kb.c -o pro_2661kb.o pro_2661kb.c: In function 'pro_2661kb_ctrl_get': pro_2661kb.c:50:9: error: too many arguments to function 'pro_kb->ctrl_get'; expected 0, have 2 50 | pro_kb->ctrl_get(PRO_SER_KB, &pro_2661kb_ctrl); | ^~~~~~ In file included from pdp11_defs.h:14, from pro_2661kb.c:32: pro_defs.h:96:19: note: declared here 96 | void (*ctrl_get)(); | ^~~~~~~~ pro_2661kb.c: In function 'pro_2661kb_ctrl_put': pro_2661kb.c:76:9: error: too many arguments to function 'pro_kb->ctrl_put'; expected 0, have 2 76 | pro_kb->ctrl_put(PRO_SER_KB, &pro_2661kb_ctrl); | ^~~~~~ pro_defs.h:97:19: note: declared here 97 | void (*ctrl_put)(); | ^~~~~~~~ pro_2661kb.c: In function 'pro_2661kb_poll_eq': pro_2661kb.c:102:19: error: too many arguments to function 'pro_kb->get'; expected 0, have 1 102 | schar = pro_kb->get(PRO_SER_KB); | ^~~~~~ pro_defs.h:94:19: note: declared here 94 | int (*get)(); | ^~~ pro_2661kb.c: In function 'pro_2661kb_eq': pro_2661kb.c:136:15: error: too many arguments to function 'pro_kb->put'; expected 0, have 2 136 | if (pro_kb->put(PRO_SER_KB, pro_2661kb_wdata) == PRO_FAIL) | ^~~~~~ pro_defs.h:95:19: note: declared here 95 | int (*put)(); | ^~~ pro_2661kb.c: In function 'pro_2661kb_open': pro_2661kb.c:320:9: error: too many arguments to function 'pro_kb->reset'; expected 0, have 2 320 | pro_kb->reset(PRO_SER_KB, pro_kb_port); | ^~~~~~ pro_defs.h:98:19: note: declared here 98 | void (*reset)(); | ^~~~~ pdp11_cpu.c:299:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 299 | { 014000000, 014077777, &pro_vram_rd, &pro_vram_wr }, /* 32K video memory */ | ^ pdp11_cpu.c:299:33: note: (near initialization for 'iotable[0].read') In file included from pdp11_defs.h:14, from pdp11_cpu.c:149: pro_defs.h:689:12: note: 'pro_vram_rd' declared here 689 | GLOBAL int pro_vram_rd(int *data, int pa, int access); | ^~~~~~~~~~~ pdp11_cpu.c:299:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 299 | { 014000000, 014077777, &pro_vram_rd, &pro_vram_wr }, /* 32K video memory */ | ^ pdp11_cpu.c:299:47: note: (near initialization for 'iotable[0].write') pro_defs.h:690:12: note: 'pro_vram_wr' declared here 690 | GLOBAL int pro_vram_wr(int data, int pa, int access); | ^~~~~~~~~~~ pdp11_cpu.c:305:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 305 | { 017777600, 017777617, &APR_rd, &APR_wr }, /* user PDRs */ | ^ pdp11_cpu.c:305:33: note: (near initialization for 'iotable[1].read') pdp11_cpu.c:266:11: note: 'APR_rd' declared here 266 | LOCAL int APR_rd (int *data, int addr, int access); | ^~~~~~ pdp11_cpu.c:305:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 305 | { 017777600, 017777617, &APR_rd, &APR_wr }, /* user PDRs */ | ^ pdp11_cpu.c:305:42: note: (near initialization for 'iotable[1].write') pdp11_cpu.c:267:11: note: 'APR_wr' declared here 267 | LOCAL int APR_wr (int data, int addr, int access); | ^~~~~~ pdp11_cpu.c:306:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 306 | { 017777640, 017777657, &APR_rd, &APR_wr }, /* user PARs */ | ^ pdp11_cpu.c:306:33: note: (near initialization for 'iotable[2].read') pdp11_cpu.c:266:11: note: 'APR_rd' declared here 266 | LOCAL int APR_rd (int *data, int addr, int access); | ^~~~~~ pdp11_cpu.c:306:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 306 | { 017777640, 017777657, &APR_rd, &APR_wr }, /* user PARs */ | ^ pdp11_cpu.c:306:42: note: (near initialization for 'iotable[2].write') pdp11_cpu.c:267:11: note: 'APR_wr' declared here 267 | LOCAL int APR_wr (int data, int addr, int access); | ^~~~~~ pdp11_cpu.c:307:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 307 | { 017772300, 017772317, &APR_rd, &APR_wr }, /* kernel PDRs */ | ^ pdp11_cpu.c:307:33: note: (near initialization for 'iotable[3].read') pdp11_cpu.c:266:11: note: 'APR_rd' declared here 266 | LOCAL int APR_rd (int *data, int addr, int access); | ^~~~~~ pdp11_cpu.c:307:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 307 | { 017772300, 017772317, &APR_rd, &APR_wr }, /* kernel PDRs */ | ^ pdp11_cpu.c:307:42: note: (near initialization for 'iotable[3].write') pdp11_cpu.c:267:11: note: 'APR_wr' declared here 267 | LOCAL int APR_wr (int data, int addr, int access); | ^~~~~~ pdp11_cpu.c:308:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 308 | { 017772340, 017772357, &APR_rd, &APR_wr }, /* kernel PARs */ | ^ pdp11_cpu.c:308:33: note: (near initialization for 'iotable[4].read') pdp11_cpu.c:266:11: note: 'APR_rd' declared here 266 | LOCAL int APR_rd (int *data, int addr, int access); | ^~~~~~ pdp11_cpu.c:308:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 308 | { 017772340, 017772357, &APR_rd, &APR_wr }, /* kernel PARs */ | ^ pdp11_cpu.c:308:42: note: (near initialization for 'iotable[4].write') pdp11_cpu.c:267:11: note: 'APR_wr' declared here 267 | LOCAL int APR_wr (int data, int addr, int access); | ^~~~~~ pdp11_cpu.c:309:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 309 | { 017777572, 017777577, &SR_MMR012_rd, &SR_MMR012_wr }, | ^ pdp11_cpu.c:309:33: note: (near initialization for 'iotable[5].read') pdp11_cpu.c:268:11: note: 'SR_MMR012_rd' declared here 268 | LOCAL int SR_MMR012_rd (int *data, int addr, int access); | ^~~~~~~~~~~~ pdp11_cpu.c:309:48: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 309 | { 017777572, 017777577, &SR_MMR012_rd, &SR_MMR012_wr }, | ^ pdp11_cpu.c:309:48: note: (near initialization for 'iotable[5].write') pdp11_cpu.c:269:11: note: 'SR_MMR012_wr' declared here 269 | LOCAL int SR_MMR012_wr (int data, int addr, int access); | ^~~~~~~~~~~~ pdp11_cpu.c:310:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 310 | { 017772516, 017772517, &MMR3_rd, &MMR3_wr }, /* MMU SR3 */ | ^ pdp11_cpu.c:310:33: note: (near initialization for 'iotable[6].read') pdp11_cpu.c:270:11: note: 'MMR3_rd' declared here 270 | LOCAL int MMR3_rd (int *data, int addr, int access); | ^~~~~~~ pdp11_cpu.c:310:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 310 | { 017772516, 017772517, &MMR3_rd, &MMR3_wr }, /* MMU SR3 */ | ^ pdp11_cpu.c:310:43: note: (near initialization for 'iotable[6].write') pdp11_cpu.c:271:11: note: 'MMR3_wr' declared here 271 | LOCAL int MMR3_wr (int data, int addr, int access); | ^~~~~~~ pdp11_cpu.c:312:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 312 | { 017730000, 017767777, &rom_rd, &rom_wr }, /* Boot/diag ROM */ | ^ pdp11_cpu.c:312:33: note: (near initialization for 'iotable[7].read') pro_defs.h:741:12: note: 'rom_rd' declared here 741 | GLOBAL int rom_rd(int *data, int pa, int access); | ^~~~~~ pdp11_cpu.c:312:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 312 | { 017730000, 017767777, &rom_rd, &rom_wr }, /* Boot/diag ROM */ | ^ pdp11_cpu.c:312:42: note: (near initialization for 'iotable[7].write') pro_defs.h:742:12: note: 'rom_wr' declared here 742 | GLOBAL int rom_wr(int data, int pa, int access); | ^~~~~~ pdp11_cpu.c:314:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 314 | { 017773000, 017777567, ®_rd, ®_wr }, /* Decode almost everything */ | ^ pdp11_cpu.c:314:33: note: (near initialization for 'iotable[8].read') pro_defs.h:743:12: note: 'reg_rd' declared here 743 | GLOBAL int reg_rd(int *data, int pa, int access); | ^~~~~~ pdp11_cpu.c:314:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 314 | { 017773000, 017777567, ®_rd, ®_wr }, /* Decode almost everything */ | ^ pdp11_cpu.c:314:42: note: (near initialization for 'iotable[8].write') pro_defs.h:744:12: note: 'reg_wr' declared here 744 | GLOBAL int reg_wr(int data, int pa, int access); | ^~~~~~ pdp11_cpu.c:315:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 315 | { 017777700, 017777775, ®_rd, ®_wr }, | ^ pdp11_cpu.c:315:33: note: (near initialization for 'iotable[9].read') pro_defs.h:743:12: note: 'reg_rd' declared here 743 | GLOBAL int reg_rd(int *data, int pa, int access); | ^~~~~~ pdp11_cpu.c:315:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 315 | { 017777700, 017777775, ®_rd, ®_wr }, | ^ pdp11_cpu.c:315:42: note: (near initialization for 'iotable[9].write') pro_defs.h:744:12: note: 'reg_wr' declared here 744 | GLOBAL int reg_wr(int data, int pa, int access); | ^~~~~~ pdp11_cpu.c:317:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 317 | { 017777776, 017777777, &CPU_rd, &CPU_wr }, | ^ pdp11_cpu.c:317:33: note: (near initialization for 'iotable[10].read') pdp11_cpu.c:264:11: note: 'CPU_rd' declared here 264 | LOCAL int CPU_rd (int *data, int addr, int access); | ^~~~~~ pdp11_cpu.c:317:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 317 | { 017777776, 017777777, &CPU_rd, &CPU_wr }, | ^ pdp11_cpu.c:317:42: note: (near initialization for 'iotable[10].write') pdp11_cpu.c:265:11: note: 'CPU_wr' declared here 265 | LOCAL int CPU_wr (int data, int addr, int access); | ^~~~~~ pdp11_cpu.c:319:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int *, int, int)' [-Wincompatible-pointer-types] 319 | { 014000000, 017777777, ®_rd, ®_wr }, /* XXX video mem */ | ^ pdp11_cpu.c:319:33: note: (near initialization for 'iotable[11].read') pro_defs.h:743:12: note: 'reg_rd' declared here 743 | GLOBAL int reg_rd(int *data, int pa, int access); | ^~~~~~ pdp11_cpu.c:319:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int)' [-Wincompatible-pointer-types] 319 | { 014000000, 017777777, ®_rd, ®_wr }, /* XXX video mem */ | ^ pdp11_cpu.c:319:42: note: (near initialization for 'iotable[11].write') pro_defs.h:744:12: note: 'reg_wr' declared here 744 | GLOBAL int reg_wr(int data, int pa, int access); | ^~~~~~ In file included from pdp11_defs.h:11: pdp11_cpu.c:379:26: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *)' {aka 'int (*)(struct unit *)'} [-Wincompatible-pointer-types] 379 | UNIT cpu_unit = { UDATA (&cpu_svc, UNIT_FIX + UNIT_BINK, INIMEMSIZE) }; | ^ sim_defs.h:216:32: note: in definition of macro 'UDATA' 216 | #define UDATA(act,fl,cap) NULL,act,NULL,NULL,NULL,0,0,(fl),(cap),0,0 | ^~~ pdp11_cpu.c:379:26: note: (near initialization for 'cpu_unit.action') 379 | UNIT cpu_unit = { UDATA (&cpu_svc, UNIT_FIX + UNIT_BINK, INIMEMSIZE) }; | ^ sim_defs.h:216:32: note: in definition of macro 'UDATA' 216 | #define UDATA(act,fl,cap) NULL,act,NULL,NULL,NULL,0,0,(fl),(cap),0,0 | ^~~ pdp11_cpu.c:246:11: note: 'cpu_svc' declared here 246 | LOCAL int cpu_svc (UNIT *uptr); | ^~~~~~~ pdp11_cpu.c:547:43: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 547 | { UNIT_MSIZE, 16384, NULL, "16K", &cpu_set_size}, | ^ pdp11_cpu.c:547:43: note: (near initialization for 'cpu_mod[2].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:548:43: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 548 | { UNIT_MSIZE, 32768, NULL, "32K", &cpu_set_size}, | ^ pdp11_cpu.c:548:43: note: (near initialization for 'cpu_mod[3].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:549:43: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 549 | { UNIT_MSIZE, 49152, NULL, "48K", &cpu_set_size}, | ^ pdp11_cpu.c:549:43: note: (near initialization for 'cpu_mod[4].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:550:43: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 550 | { UNIT_MSIZE, 65536, NULL, "64K", &cpu_set_size}, | ^ pdp11_cpu.c:550:43: note: (near initialization for 'cpu_mod[5].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:551:43: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 551 | { UNIT_MSIZE, 98304, NULL, "96K", &cpu_set_size}, | ^ pdp11_cpu.c:551:43: note: (near initialization for 'cpu_mod[6].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:552:45: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 552 | { UNIT_MSIZE, 131072, NULL, "128K", &cpu_set_size}, | ^ pdp11_cpu.c:552:45: note: (near initialization for 'cpu_mod[7].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:553:45: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 553 | { UNIT_MSIZE, 229376, NULL, "192K", &cpu_set_size}, | ^ pdp11_cpu.c:553:45: note: (near initialization for 'cpu_mod[8].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:554:45: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 554 | { UNIT_MSIZE, 262144, NULL, "256K", &cpu_set_size}, | ^ pdp11_cpu.c:554:45: note: (near initialization for 'cpu_mod[9].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:555:45: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 555 | { UNIT_MSIZE, 393216, NULL, "384K", &cpu_set_size}, | ^ pdp11_cpu.c:555:45: note: (near initialization for 'cpu_mod[10].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:556:45: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 556 | { UNIT_MSIZE, 524288, NULL, "512K", &cpu_set_size}, | ^ pdp11_cpu.c:556:45: note: (near initialization for 'cpu_mod[11].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:557:45: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 557 | { UNIT_MSIZE, 786432, NULL, "768K", &cpu_set_size}, | ^ pdp11_cpu.c:557:45: note: (near initialization for 'cpu_mod[12].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:558:47: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 558 | { UNIT_MSIZE, 1048576, NULL, "1024K", &cpu_set_size}, | ^ gmake: *** [Makefile:226: pro_2661kb.o] Error 1 pdp11_cpu.c:558:47: note: (near initialization for 'cpu_mod[13].valid') gmake: *** Waiting for unfinished jobs.... pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:559:47: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 559 | { UNIT_MSIZE, 2097152, NULL, "2048K", &cpu_set_size}, | ^ pdp11_cpu.c:559:47: note: (near initialization for 'cpu_mod[14].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:560:47: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 560 | { UNIT_MSIZE, 3145728, NULL, "3072K", &cpu_set_size}, | ^ pdp11_cpu.c:560:47: note: (near initialization for 'cpu_mod[15].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:561:47: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 561 | { UNIT_MSIZE, 4194304, NULL, "4096K", &cpu_set_size}, | ^ pdp11_cpu.c:561:47: note: (near initialization for 'cpu_mod[16].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:562:44: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 562 | { UNIT_MSIZE, 1048576, NULL, "1M", &cpu_set_size}, | ^ pdp11_cpu.c:562:44: note: (near initialization for 'cpu_mod[17].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:563:44: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 563 | { UNIT_MSIZE, 2097152, NULL, "2M", &cpu_set_size}, | ^ pdp11_cpu.c:563:44: note: (near initialization for 'cpu_mod[18].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:564:44: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 564 | { UNIT_MSIZE, 3145728, NULL, "3M", &cpu_set_size}, | ^ pdp11_cpu.c:564:44: note: (near initialization for 'cpu_mod[19].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:565:44: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(UNIT *, int)' {aka 'int (*)(struct unit *, int)'} [-Wincompatible-pointer-types] 565 | { UNIT_MSIZE, 4194304, NULL, "4M", &cpu_set_size}, | ^ pdp11_cpu.c:565:44: note: (near initialization for 'cpu_mod[20].valid') pdp11_cpu.c:247:11: note: 'cpu_set_size' declared here 247 | LOCAL int cpu_set_size (UNIT *uptr, int value); | ^~~~~~~~~~~~ pdp11_cpu.c:571:9: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(int *, int, UNIT *, int)' {aka 'int (*)(int *, int, struct unit *, int)'} [-Wincompatible-pointer-types] 571 | &cpu_ex, &cpu_dep, &cpu_reset, | ^ pdp11_cpu.c:571:9: note: (near initialization for 'cpu_dev.examine') pdp11_cpu.c:243:11: note: 'cpu_ex' declared here 243 | LOCAL int cpu_ex (int *vptr, int addr, UNIT *uptr, int sw); | ^~~~~~ pdp11_cpu.c:571:18: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(int, int, UNIT *, int)' {aka 'int (*)(int, int, struct unit *, int)'} [-Wincompatible-pointer-types] 571 | &cpu_ex, &cpu_dep, &cpu_reset, | ^ pdp11_cpu.c:571:18: note: (near initialization for 'cpu_dev.deposit') pdp11_cpu.c:244:11: note: 'cpu_dep' declared here 244 | LOCAL int cpu_dep (int val, int addr, UNIT *uptr, int sw); | ^~~~~~~ pdp11_cpu.c:571:28: error: initialization of 't_stat (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'int (*)(DEVICE *)' {aka 'int (*)(struct device *)'} [-Wincompatible-pointer-types] 571 | &cpu_ex, &cpu_dep, &cpu_reset, | ^ pdp11_cpu.c:571:28: note: (near initialization for 'cpu_dev.reset') pdp11_cpu.c:245:11: note: 'cpu_reset' declared here 245 | LOCAL int cpu_reset (DEVICE *dptr); | ^~~~~~~~~ pdp11_cpu.c: In function 'iopageR': pdp11_cpu.c:1148:24: error: too many arguments to function 'p->read'; expected 0, have 3 1148 | stat = p -> read (data, pa, access); | ^ ~~~~ pdp11_cpu.c:293:19: note: declared here 293 | int (*read)(); /* read routine */ | ^~~~ pdp11_cpu.c: In function 'iopageW': pdp11_cpu.c:1161:24: error: too many arguments to function 'p->write'; expected 0, have 3 1161 | stat = p -> write (data, pa, access); | ^ ~~~~ pdp11_cpu.c:294:19: note: declared here 294 | int (*write)(); }; /* write routine */ | ^~~~~ gmake: *** [Makefile:226: pdp11_cpu.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xhomer *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xhomer