Hello I want to use relayd on OpenBSD 4.3 Release (i386). I've the problem, that relayd exits as soon as all checked hosts are down. The problem was described by this post: http://thread.gmane.org/gmane.os.openbsd.misc/142876
So I tested relayd in openbsd -current (4.4 beta i think) and it works fine. now the "stupid" question: how to compile this version of relayd for 4.3. I checked out the src tree via CVS with the tag=. but compiling failed with the following error: - make depend was ok - make failed: cc -O2 -pipe -Wall -I/home/update/src/usr.sbin/relayd -I/home/update/src/usr.sbin/relayd/../snmpd -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -c imsg.c cc -O2 -pipe -Wall -I/home/update/src/usr.sbin/relayd -I/home/update/src/usr.sbin/relayd/../snmpd -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -c ssl.c cc -O2 -pipe -Wall -I/home/update/src/usr.sbin/relayd -I/home/update/src/usr.sbin/relayd/../snmpd -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -c ssl_privsep.c cc -O2 -pipe -Wall -I/home/update/src/usr.sbin/relayd -I/home/update/src/usr.sbin/relayd/../snmpd -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -c relayd.c relayd.c: In function `bindany': relayd.c:1188: error: `SO_BINDANY' undeclared (first use in this function) relayd.c:1188: error: (Each undeclared identifier is reported only once relayd.c:1188: error: for each function it appears in.) *** Error code 1 dmesg is attached below: OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.26GHz ("GenuineIntel" 686-class) 2.27 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 1207500800 (1151MB) avail mem = 1157718016 (1104MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, SMBIOS rev. 2.3 @ 0xec000 (39 entries) bios0: vendor HP version "D13" date 09/15/2004 bios0: HP ProLiant DL320 G2 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC SPCR acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 32 bits acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C2 acpitz0 at acpi0: critical temperature 31 degC acpibtn0 at acpi0: PBTN bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1800 0xc9800/0x2a00 0xcc200/0x1800 0xee000/0x2000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "ServerWorks GCNB-LE Host" rev 0x32 pchb1 at pci0 dev 0 function 1 "ServerWorks GCNB-LE Host" rev 0x00 pciide0 at pci0 dev 2 function 0 "CMD Technology PCI0649" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using irq 15 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <ST380023A> wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) vga1 at pci0 dev 3 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Compaq Netelligent ASMC" rev 0x00 at pci0 dev 4 function 0 not configured bge0 at pci0 dev 5 function 0 "Broadcom BCM5702X" rev 0x02, BCM5703 A2 (0x1002): irq 5, address 00:0b:cd:ae:f5:99 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 bge1 at pci0 dev 6 function 0 "Broadcom BCM5702X" rev 0x02, BCM5703 A2 (0x1002): irq 11, address 00:0b:cd:ae:f5:45 brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 fxp0 at pci0 dev 7 function 0 "Intel 8255x" rev 0x0c, i82550: irq 7, address 00:0e:0c:7e:c1:d4 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB6" rev 0xa0: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x51: 512MB DDR SDRAM registered ECC PC2100CL2.5 spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC2100CL2.5 spdmem2 at iic0 addr 0x53: 128MB DDR SDRAM registered ECC PC2300CL2.5 pciide1 at pci0 dev 15 function 1 "ServerWorks CSB6 RAID/IDE" rev 0xa0: DMA atapiscsi0 at pciide1 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, 9.9A> SCSI0 5/cdrom removable cd0(pciide1:0:0): using PIO mode 4, DMA mode 2 pciide1: no compatibility interrupt for use by channel 1 ohci0 at pci0 dev 15 function 2 "ServerWorks CSB6 USB" rev 0x05: irq 10, version 1.0, legacy support pchb2 at pci0 dev 15 function 3 "ServerWorks GCLE-2 Host" rev 0x00 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e54d netmask eded ttymask ffef mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b carp: carp0 demoted group carp to 129 carp: carp410 demoted group carp to 130 carp: carp411 demoted group carp to 131 carp: carp410 demoted group carp to 130 carp: carp411 demoted group carp to 129 carp: carp0 demoted group carp to 128 nd6_na_input: duplicate IP6 address fe80:0009::0200:5eff:fe00:0101 any ideas? thanks in advance and kind regards Marco