Hello

I've tried to compile flashrom-0.9.5.2 on a Slackware (-current) with kernel 3.2.13 but I encountered this error :

cc -MMD -Os -Wall -Wshadow -Werror  -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_RAYER_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_NIC3COM=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1'  -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICREALTEK=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_SATAMV=1' -D'CONFIG_LINUX_SPI=1' -D'NEED_PCI=1' -D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.5.2-r1515"' -o linux_spi.o -c linux_spi.c
In file included from linux_spi.c:27:0:
/usr/include/linux/spi/spidev.h:83:2: error: unknown type name ‘__u64’
/usr/include/linux/spi/spidev.h:84:2: error: unknown type name ‘__u64’
/usr/include/linux/spi/spidev.h:86:2: error: unknown type name ‘__u32’
/usr/include/linux/spi/spidev.h:87:2: error: unknown type name ‘__u32’
/usr/include/linux/spi/spidev.h:89:2: error: unknown type name ‘__u16’
/usr/include/linux/spi/spidev.h:90:2: error: unknown type name ‘__u8’
/usr/include/linux/spi/spidev.h:91:2: error: unknown type name ‘__u8’
/usr/include/linux/spi/spidev.h:92:2: error: unknown type name ‘__u32’
linux_spi.c: In function ‘linux_spi_init’:
linux_spi.c:93:17: error: ‘__u32’ undeclared (first use in this function)
linux_spi.c:93:17: note: each undeclared identifier is reported only once for each function it appears in
linux_spi.c:102:16: error: ‘__u8’ undeclared (first use in this function)
make: *** [linux_spi.o] Error 1

... so I started looking around and found the fix : I added #include <linux/types.h> before #include <linux/spi/spidev.h>, line 27 of flashrom-0.9.5.2/linux_spi.c

It now compiles and works.

... well, mostly.
I have this message telling me that Intel H67 chipset is supported but since the motherboard is not on your wiki, I thought i'd send you the log ;-)
If you can do something for me, please let me know. I'd be very interested in being able to flash my motherboard without fiddling with bottable floppy + iso images !

Sincerely,
  =^.^=