Well I managed to get 2.1.4 to build on Solaris 10 (SPARC) after modifying cl_reboot.c and crm_mon.c (my copy of 2.1.4 didn't appear to have the changes mentioned). As Simon Horman mentioned the Mercurial repository I decided to have a go with the latest dev version Linux-HA-Dev-fc047640072c but have hit another problem (the ones encountered with 2.1.3 and 2.1.4 seem to have been resolved):
I start off with ./ConfigureMe configure --enable-snmp=no --enable-snmp-agent=no followed by make sbd.c:35:25: error: linux/types.h: No such file or directory sbd.c:36:28: error: linux/watchdog.h: No such file or directory sbd.c:37:22: error: linux/fs.h: No such file or directory sbd.c: In function 'watchdog_init_interval': sbd.c:99: error: 'WDIOC_SETTIMEOUT' undeclared (first use in this function) sbd.c:99: error: (Each undeclared identifier is reported only once sbd.c:99: error: for each function it appears in.) sbd.c: In function 'open_device': sbd.c:164: error: 'O_DIRECT' undeclared (first use in this function) sbd.c:171: error: 'BLKSSZGET' undeclared (first use in this function) gmake[2]: *** [sbd-sbd.o] Error 1 gmake[2]: Leaving directory `/software/Linux-HA-Dev-fc047640072c/lib/stonith' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/software/Linux-HA-Dev-fc047640072c/lib' Unfortunately, there's no watchdog.h nor fs.h file on the system Hardware: V210 O/S: Solaris 10 Update 5 with recommended patch cluster GCC version 4.0.2 GNU Make 3.81 Required packages (autoconf automake libtool etc) obtained from blastwave.org I've tried ./ConfigureMe configure --enable-snmp=no --enable-snmp-agent=no --enable-stonith=no just to see if I could get it to build without stonith, but it still did. Is there an option I could use to disable the building of the sbd plugin? -- Paul Walsh _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
