Hello<br><br>I've tried to compile flashrom-0.9.5.2 on a Slackware (-current) with kernel 3.2.13 but I encountered this error :<br><br>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<br>
In file included from linux_spi.c:27:0:<br>/usr/include/linux/spi/spidev.h:83:2: error: unknown type name ‘__u64’<br>/usr/include/linux/spi/spidev.h:84:2: error: unknown type name ‘__u64’<br>/usr/include/linux/spi/spidev.h:86:2: error: unknown type name ‘__u32’<br>
/usr/include/linux/spi/spidev.h:87:2: error: unknown type name ‘__u32’<br>/usr/include/linux/spi/spidev.h:89:2: error: unknown type name ‘__u16’<br>/usr/include/linux/spi/spidev.h:90:2: error: unknown type name ‘__u8’<br>
/usr/include/linux/spi/spidev.h:91:2: error: unknown type name ‘__u8’<br>/usr/include/linux/spi/spidev.h:92:2: error: unknown type name ‘__u32’<br>linux_spi.c: In function ‘linux_spi_init’:<br>linux_spi.c:93:17: error: ‘__u32’ undeclared (first use in this function)<br>
linux_spi.c:93:17: note: each undeclared identifier is reported only once for each function it appears in<br>linux_spi.c:102:16: error: ‘__u8’ undeclared (first use in this function)<br>make: *** [linux_spi.o] Error 1<br>
<br>... 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<br><br>It now compiles and works.<br><br>... well, mostly.<br>
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 ;-)<br>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 !<br>
<br>Sincerely,<br>  =^.^=<br>