[flashrom] Compilation error, solution, and bonus log

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Fri Apr 27 07:56:18 CEST 2012

On Fri, 2012-04-27 at 01:45 +0200, Stefan Tauner wrote:
> > ... 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-
> > 
> > It now compiles and works.
> afaics this should not be necessary at all.
> the header in http://packages.slackverse.org/?v=3&p=316 includes
> linux/types.h itself at the top (as expected). can you explain why
> yours does not?

Old kernel headers. We already fixed that incompatibility in r1517,
which is shortly after

  Michael Karcher

More information about the flashrom mailing list