Nick: dhendrix E-mail: none Board: include-what-you-use Contents: # include-what-you-use dump $ CONFIG_DEDIPROG=no CONFIG_FT2232_SPI=no CONFIG_PICKIT2_SPI=no CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no CONFIG_STATIC=yes CC=/bin/iwyu make -k 2>&1 | tee iwyu.txt Replacing all version templates with v0.9.9-49-ge2276ae-dirty. Checking for libpci headers... not found. The following features require libpci: CONFIG_INTERNAL CONFIG_GFXNVIDIA CONFIG_SATASII CONFIG_ATAVIA CONFIG_IT8212 CONFIG_DRKAISER CONFIG_NICINTEL CONFIG_NICINTEL_SPI CONFIG_NICINTEL_EEPROM CONFIG_OGP_SPI. Please install libpci headers or disable all features mentioned above by specifying make CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no See README for more information. make: *** [hwlibs] Error 1 Checking for FTDI support... not found. Checking for utsname support... not found. Checking for clock_gettime support... not found. /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o cli_classic.o -c cli_classic.c cli_classic.c should add these lines: #include "layout.h" // for get_global_layout, etc cli_classic.c should remove these lines: - #include // lines 25-25 - #include // lines 26-26 - #include "flashchips.h" // lines 31-31 The full include-list for cli_classic.c: #include // for optarg, getopt_long, optind, etc #include // for mcheck #include // for fprintf, NULL, stderr, etc #include // for free, exit #include // for strdup, strlen, strcmp, etc #include "flash.h" // for flashrom_flashctx, etc #include "layout.h" // for get_global_layout, etc #include "libflashrom.h" // for flashrom_flag_set, etc #include "programmer.h" --- make: *** [cli_classic.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o cli_output.o -c cli_output.c cli_output.c should add these lines: #include "libflashrom.h" // for flashrom_log_level, etc cli_output.c should remove these lines: The full include-list for cli_output.c: #include // for errno #include // for va_list, va_copy, va_end #include // for NULL, fflush, vfprintf, etc #include // for strerror #include "flash.h" // for msg_gerr, print_version #include "libflashrom.h" // for flashrom_log_level, etc --- make: *** [cli_output.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o cli_common.o -c cli_common.c cli_common.c should add these lines: cli_common.c should remove these lines: - #include // lines 23-23 - #include // lines 24-24 The full include-list for cli_common.c: #include "flash.h" // for flashchip, tested, etc --- make: *** [cli_common.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o print.o -c print.c (print.c has correct #includes/fwd-decls) make: *** [print.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o jedec.o -c jedec.c jedec.c should add these lines: #include // for PRIxPTR #include // for bool #include // for uint8_t, uint32_t jedec.c should remove these lines: - #include "chipdrivers.h" // lines 27-27 The full include-list for jedec.c: #include // for PRIxPTR #include // for bool #include // for uint8_t, uint32_t #include "flash.h" // for chip_writeb, etc --- make: *** [jedec.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o stm50.o -c stm50.c stm50.c should add these lines: #include // for uint8_t stm50.c should remove these lines: The full include-list for stm50.c: #include // for uint8_t #include "chipdrivers.h" // for erase_block_82802ab, etc #include "flash.h" // for chip_writeb, flashctx, etc --- make: *** [stm50.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o w39.o -c w39.c w39.c should add these lines: #include // for uint8_t, uint16_t w39.c should remove these lines: The full include-list for w39.c: #include // for uint8_t, uint16_t #include "chipdrivers.h" #include "flash.h" // for flashctx, msg_cdbg, etc --- make: *** [w39.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o w29ee011.o -c w29ee011.c w29ee011.c should add these lines: #include // for uint8_t w29ee011.c should remove these lines: The full include-list for w29ee011.c: #include // for uint8_t #include // for strcmp #include "flash.h" // for chip_writeb, etc --- make: *** [w29ee011.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o sst28sf040.o -c sst28sf040.c sst28sf040.c should add these lines: #include // for uint8_t sst28sf040.c should remove these lines: The full include-list for sst28sf040.c: #include // for uint8_t #include "chipdrivers.h" // for toggle_ready_jedec #include "flash.h" // for chip_readb, chip_writeb, etc --- make: *** [sst28sf040.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o 82802ab.o -c 82802ab.c 82802ab.c should add these lines: #include // for uint8_t 82802ab.c should remove these lines: The full include-list for 82802ab.c: #include // for uint8_t #include "chipdrivers.h" // for oddparity #include "flash.h" // for chip_writeb, msg_cdbg, etc --- make: *** [82802ab.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o sst49lfxxxc.o -c sst49lfxxxc.c sst49lfxxxc.c should add these lines: #include // for uint8_t sst49lfxxxc.c should remove these lines: The full include-list for sst49lfxxxc.c: #include // for uint8_t #include "chipdrivers.h" // for print_status_82802ab, etc #include "flash.h" // for chip_writeb, chipaddr, etc --- make: *** [sst49lfxxxc.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o sst_fwhub.o -c sst_fwhub.c sst_fwhub.c should add these lines: #include // for uint8_t sst_fwhub.c should remove these lines: The full include-list for sst_fwhub.c: #include // for uint8_t #include "flash.h" // for flashrom_flashctx, msg_cdbg, etc --- make: *** [sst_fwhub.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o flashchips.o -c flashchips.c (flashchips.h has correct #includes/fwd-decls) flashchips.c should add these lines: #include // for NULL flashchips.c should remove these lines: The full include-list for flashchips.c: #include "flashchips.h" #include // for NULL #include "chipdrivers.h" // for spi_chip_read, etc #include "flash.h" // for TIMING_ZERO, read_memmapped, etc --- make: *** [flashchips.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o spi.o -c spi.c (spi.h has correct #includes/fwd-decls) spi.c should add these lines: #include // for uint8_t, uint32_t spi.c should remove these lines: - #include // lines 25-25 - #include "flashchips.h" // lines 28-28 The full include-list for spi.c: #include "spi.h" #include // for uint8_t, uint32_t #include // for ffs, NULL #include "chipdrivers.h" // for spi_read_chunked, etc #include "flash.h" // for flashrom_flashctx, flashctx, etc #include "programmer.h" // for spi_master, etc --- make: *** [spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o spi25.o -c spi25.c spi25.c should add these lines: #include // for uint8_t, uint32_t spi25.c should remove these lines: The full include-list for spi25.c: #include // for uint8_t, uint32_t #include // for NULL, memcmp, memcpy #include "chipdrivers.h" // for spi_read_status_register, etc #include "flash.h" // for flashctx, programmer_delay, etc #include "flashchips.h" // for GENERIC_DEVICE_ID, etc #include "programmer.h" // for registered_master, etc #include "spi.h" // for SPI_SR_WIP, JEDEC_WREN, etc --- make: *** [spi25.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o spi25_statusreg.o -c spi25_statusreg.c spi25_statusreg.c should add these lines: #include // for NULL #include // for uint8_t spi25_statusreg.c should remove these lines: - #include "chipdrivers.h" // lines 25-25 The full include-list for spi25_statusreg.c: #include // for NULL #include // for uint8_t #include "flash.h" // for msg_cdbg, flashctx, etc #include "spi.h" // for JEDEC_EWSR, etc --- make: *** [spi25_statusreg.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o opaque.o -c opaque.c opaque.c should add these lines: opaque.c should remove these lines: - #include "chipdrivers.h" // lines 30-30 - #include "flashchips.h" // lines 29-29 The full include-list for opaque.c: #include // for uint8_t #include "flash.h" // for flashctx, flashrom_flashctx, etc #include "programmer.h" // for opaque_master, etc --- make: *** [opaque.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o sfdp.o -c sfdp.c (sfdp.c has correct #includes/fwd-decls) make: *** [sfdp.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o en29lv640b.o -c en29lv640b.c en29lv640b.c should add these lines: #include // for uint16_t, uint8_t en29lv640b.c should remove these lines: The full include-list for en29lv640b.c: #include // for uint16_t, uint8_t #include "chipdrivers.h" // for toggle_ready_jedec #include "flash.h" // for chip_writeb, chip_readb, etc --- make: *** [en29lv640b.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o at45db.o -c at45db.c at45db.c should add these lines: #include // for true, bool, false #include // for size_t #include // for uint8_t at45db.c should remove these lines: - #include "spi.h" // lines 26-26 The full include-list for at45db.c: #include // for true, bool, false #include // for size_t #include // for uint8_t #include // for NULL, memcpy, strcmp #include "chipdrivers.h" #include "flash.h" // for flashchip, msg_cerr, etc #include "programmer.h" // for registered_master, etc --- make: *** [at45db.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o processor_enable.o -c processor_enable.c processor_enable.c should add these lines: processor_enable.c should remove these lines: - #include "flash.h" // lines 24-24 - #include "programmer.h" // lines 25-25 The full include-list for processor_enable.c: --- make: *** [processor_enable.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o chipset_enable.o -c chipset_enable.c chipset_enable.c should add these lines: #include // for PCI_BASE_ADDRESS_0 #include // for pci_read_byte, etc #include // for bool #include // for uint8_t, uint32_t, uint16_t, etc chipset_enable.c should remove these lines: The full include-list for chipset_enable.c: #include // for errno #include // for PRIx64, PRIxPTR #include // for PCI_BASE_ADDRESS_0 #include // for pci_read_byte, etc #include // for bool #include // for uint8_t, uint32_t, uint16_t, etc #include // for NULL, free, strtoull #include // for strlen #include // for getpagesize #include "flash.h" // for test_state::NT, etc #include "hwaccess.h" // for OUTB, INB, msr_t, rdmsr, etc #include "programmer.h" // for rpci_write_byte, penable, etc --- make: *** [chipset_enable.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o board_enable.o -c board_enable.c board_enable.c should add these lines: #include // for PCI_CLASS_DEVICE #include // for pci_dev, pci_read_word, etc #include // for bool, false, true #include // for uint8_t, uint16_t, uint32_t board_enable.c should remove these lines: - #include // lines 27-27 The full include-list for board_enable.c: #include // for PCI_CLASS_DEVICE #include // for pci_dev, pci_read_word, etc #include // for bool, false, true #include // for uint8_t, uint16_t, uint32_t #include // for NULL, free #include // for strdup, strcasecmp, strtok #include "flash.h" // for test_state::OK, msg_perr, etc #include "hwaccess.h" // for OUTB, INB, INL, OUTL, msr_t, etc #include "programmer.h" // for board_match_phase::P3, etc --- make: *** [board_enable.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o cbtable.o -c cbtable.c cbtable.c should add these lines: #include // for uint8_t, uint16_t cbtable.c should remove these lines: - #include // lines 28-28 The full include-list for cbtable.c: #include // for isprint #include // for uint8_t, uint16_t #include // for snprintf, NULL #include // for strcasecmp, strdup, memcmp #include // for getpagesize #include "coreboot_tables.h" // for lb_header, lb_mainboard, etc #include "flash.h" // for msg_pdbg, msg_perr, etc #include "programmer.h" // for physmap_ro_unaligned, etc --- make: *** [cbtable.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o internal.o -c internal.c internal.c should add these lines: #include // for PCI_SUBSYSTEM_ID, etc #include // for pci_filter, etc #include // for size_t #include // for uint16_t, uint8_t, uint32_t #include "platform.h" // for IS_X86 internal.c should remove these lines: - #include // lines 21-21 The full include-list for internal.c: #include // for PCI_SUBSYSTEM_ID, etc #include // for pci_filter, etc #include // for size_t #include // for uint16_t, uint8_t, uint32_t #include // for free, NULL #include // for strlen, strcmp, strcasecmp #include "flash.h" // for msg_perr, chipaddr, etc #include "hwaccess.h" // for __FLASHROM_LITTLE_ENDIAN__ #include "platform.h" // for IS_X86 #include "programmer.h" // for extract_programmer_param, etc --- make: *** [internal.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o serprog.o -c serprog.c (serprog.h has correct #includes/fwd-decls) serprog.c should add these lines: #include // for SOCK_STREAM #include // for PRIxPTR #include // for size_t #include // for uint8_t, uint32_t, uint16_t, etc serprog.c should remove these lines: - #include // lines 30-30 - #include // lines 28-28 - #include // lines 38-38 - #include "chipdrivers.h" // lines 44-44 The full include-list for serprog.c: #include "serprog.h" #include // for SOCK_STREAM #include // for errno #include // for PRIxPTR #include // for gethostbyaddr, etc #include // for sockaddr_in, IPPROTO_TCP, etc #include // for TCP_NODELAY #include // for size_t #include // for uint8_t, uint32_t, uint16_t, etc #include // for NULL, fflush, stdout #include // for free, malloc, atoi, strtol #include // for strlen, strerror, memcpy, etc #include // for AF_INET, connect, etc #include // for close #include "flash.h" // for msg_perr, msg_pdbg, etc #include "platform.h" // for IS_WINDOWS #include "programmer.h" // for serialport_read, etc --- make: *** [serprog.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o pony_spi.o -c pony_spi.c pony_spi.c should add these lines: pony_spi.c should remove these lines: - #include // lines 44-44 The full include-list for pony_spi.c: #include // for free, NULL #include // for strcasecmp, strlen #include "flash.h" // for msg_perr, msg_pdbg, etc #include "programmer.h" // for sp_set_pin, etc --- make: *** [pony_spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o bitbang_spi.o -c bitbang_spi.c bitbang_spi.c should add these lines: #include // for uint8_t bitbang_spi.c should remove these lines: - #include // lines 23-23 - #include // lines 20-20 - #include // lines 22-22 - #include // lines 21-21 - #include "spi.h" // lines 26-26 The full include-list for bitbang_spi.c: #include // for uint8_t #include "flash.h" // for programmer_delay, flashctx, etc #include "programmer.h" // for bitbang_spi_master, etc --- make: *** [bitbang_spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o gfxnvidia.o -c gfxnvidia.c gfxnvidia.c should add these lines: #include // for PCI_BASE_ADDRESS_0 #include // for pci_read_long #include // for uint8_t, uint32_t gfxnvidia.c should remove these lines: - #include // lines 22-22 - #include "hwaccess.h" // lines 25-25 The full include-list for gfxnvidia.c: #include // for PCI_BASE_ADDRESS_0 #include // for pci_read_long #include // for uint8_t, uint32_t #include // for NULL #include "flash.h" // for test_state::NT, chipaddr, etc #include "programmer.h" // for fallback_chip_readl, etc --- make: *** [gfxnvidia.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o satasii.o -c satasii.c satasii.c should add these lines: #include // for PCI_BASE_ADDRESS_0, etc #include // for pci_dev #include // for NULL #include // for uint32_t, uint8_t, uint16_t #include "flash.h" // for test_state::OK, chipaddr, etc satasii.c should remove these lines: - #include "hwaccess.h" // lines 24-24 The full include-list for satasii.c: #include // for PCI_BASE_ADDRESS_0, etc #include // for pci_dev #include // for NULL #include // for uint32_t, uint8_t, uint16_t #include "flash.h" // for test_state::OK, chipaddr, etc #include "programmer.h" // for pci_mmio_readl, etc --- make: *** [satasii.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o atavia.o -c atavia.c atavia.c should add these lines: #include // for PRIxPTR #include // for PCI_ROM_ADDRESS, etc #include // for pci_write_long, etc #include // for bool, false, true #include // for size_t #include // for uint8_t, uint32_t, etc atavia.c should remove these lines: - #include "hwaccess.h" // lines 27-27 The full include-list for atavia.c: #include // for PRIxPTR #include // for PCI_ROM_ADDRESS, etc #include // for pci_write_long, etc #include // for bool, false, true #include // for size_t #include // for uint8_t, uint32_t, etc #include // for free, NULL, strtoul #include // for strlen #include "flash.h" // for msg_pspew, msg_perr, etc #include "programmer.h" // for extract_programmer_param, etc --- make: *** [atavia.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o it8212.o -c it8212.c it8212.c should add these lines: #include // for PCI_ROM_ADDRESS #include // for uint8_t, uint32_t it8212.c should remove these lines: - #include "hwaccess.h" // lines 24-24 The full include-list for it8212.c: #include // for PCI_ROM_ADDRESS #include // for uint8_t, uint32_t #include // for NULL #include "flash.h" // for chipaddr, flashctx, etc #include "programmer.h" // for fallback_chip_readl, etc --- make: *** [it8212.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o usbblaster_spi.o -c usbblaster_spi.c (usbblaster_spi.c has correct #includes/fwd-decls) make: *** [usbblaster_spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o dummyflasher.o -c dummyflasher.c dummyflasher.c should add these lines: #include // for PRIxPTR #include // for size_t #include // for uint8_t, uint16_t, uint32_t, etc dummyflasher.c should remove these lines: - #include // lines 38-38 The full include-list for dummyflasher.c: #include // for isxdigit #include // for errno #include // for PRIxPTR #include // for size_t #include // for uint8_t, uint16_t, uint32_t, etc #include // for NULL, sscanf #include // for free, atoi, malloc, strtoul #include // for memset, memcpy, strcmp, etc #include // for stat #include "chipdrivers.h" // for spi_write_chunked #include "flash.h" // for msg_pdbg, msg_perr, etc #include "programmer.h" // for extract_programmer_param, etc #include "spi.h" // for SPI_SR_AAI, etc --- make: *** [dummyflasher.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o drkaiser.o -c drkaiser.c drkaiser.c should add these lines: #include // for PCI_BASE_ADDRESS_2 #include // for uint8_t, uint32_t drkaiser.c should remove these lines: - #include "hwaccess.h" // lines 24-24 The full include-list for drkaiser.c: #include // for PCI_BASE_ADDRESS_2 #include // for uint8_t, uint32_t #include // for NULL #include "flash.h" // for chipaddr, flashctx, etc #include "programmer.h" // for fallback_chip_readl, etc --- make: *** [drkaiser.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o nicintel.o -c nicintel.c nicintel.c should add these lines: #include // for PCI_BASE_ADDRESS_2, etc #include // for uint8_t, uintptr_t nicintel.c should remove these lines: - #include "hwaccess.h" // lines 25-25 The full include-list for nicintel.c: #include // for PCI_BASE_ADDRESS_2, etc #include // for uint8_t, uintptr_t #include // for NULL #include "flash.h" // for chipaddr, flashctx, etc #include "programmer.h" // for pcidev_readbar, rphysmap, etc --- make: *** [nicintel.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o nicintel_spi.o -c nicintel_spi.c nicintel_spi.c should add these lines: #include // for PCI_BASE_ADDRESS_0 #include // for pci_dev #include // for uint32_t, uint8_t nicintel_spi.c should remove these lines: - #include "hwaccess.h" // lines 41-41 The full include-list for nicintel_spi.c: #include // for PCI_BASE_ADDRESS_0 #include // for pci_dev #include // for uint32_t, uint8_t #include // for NULL #include // for getpagesize #include "flash.h" // for test_state::NT, etc #include "programmer.h" // for pci_mmio_readl, etc --- make: *** [nicintel_spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o nicintel_eeprom.o -c nicintel_eeprom.c nicintel_eeprom.c should add these lines: #include // for PCI_BASE_ADDRESS_0 #include // for pci_dev #include // for bool #include // for uint32_t, uint8_t, uint16_t nicintel_eeprom.c should remove these lines: - #include // lines 30-30 - #include "hwaccess.h" // lines 34-34 The full include-list for nicintel_eeprom.c: #include // for PCI_BASE_ADDRESS_0 #include // for pci_dev #include // for bool #include // for uint32_t, uint8_t, uint16_t #include // for NULL, free, malloc #include "flash.h" // for flashchip, etc #include "programmer.h" // for pci_mmio_readl, etc #include "spi.h" // for JEDEC_BYTE_PROGRAM, etc --- make: *** [nicintel_eeprom.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o ogp_spi.o -c ogp_spi.c ogp_spi.c should add these lines: #include // for PCI_BASE_ADDRESS_0 #include // for uint32_t, uint8_t ogp_spi.c should remove these lines: - #include // lines 21-21 - #include "hwaccess.h" // lines 25-25 The full include-list for ogp_spi.c: #include // for PCI_BASE_ADDRESS_0 #include // for uint32_t, uint8_t #include // for free, NULL #include // for strcasecmp #include "flash.h" // for msg_perr, ERROR_PTR, etc #include "programmer.h" // for pci_mmio_writel, etc --- make: *** [ogp_spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o buspirate_spi.o -c buspirate_spi.c buspirate_spi.c should add these lines: buspirate_spi.c should remove these lines: - #include // lines 24-24 - #include // lines 21-21 - #include // lines 25-25 The full include-list for buspirate_spi.c: #include // for NULL #include // for free, strtoul, malloc, etc #include // for memcpy, strchr, strlen, etc #include "flash.h" // for msg_perr, msg_pdbg, etc #include "programmer.h" // for spi_master, etc #include "spi.h" // for SPI_GENERIC_ERROR, etc --- make: *** [buspirate_spi.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o pcidev.o -c pcidev.c pcidev.c should add these lines: #include // for PCI_BASE_ADDRESS_0, etc #include // for uintptr_t, uint16_t, etc pcidev.c should remove these lines: - #include // lines 23-23 The full include-list for pcidev.c: #include // for PCI_BASE_ADDRESS_0, etc #include // for pci_dev, pci_get_dev, etc #include // for uintptr_t, uint16_t, etc #include // for NULL, exit, malloc, free #include "flash.h" // for msg_perr, register_shutdown, etc #include "hwaccess.h" // for __FLASHROM_HAVE_OUTB__ #include "programmer.h" // for dev_entry, etc --- make: *** [pcidev.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o physmap.o -c physmap.c physmap.c should add these lines: #include // for O_RDWR, O_SYNC #include // for PRIxPTR #include // for size_t #include // for uintptr_t, uint32_t physmap.c should remove these lines: - #include // lines 35-35 - #include "programmer.h" // lines 30-30 The full include-list for physmap.c: #include // for O_RDWR, O_SYNC #include // for errno, EIO, EINVAL #include // for open, SEEK_SET #include // for PRIxPTR #include // for bool #include // for size_t #include // for uintptr_t, uint32_t #include // for NULL, snprintf #include // for exit, free, malloc #include // for strerror, memset #include // for mmap, MAP_FAILED, etc #include // for close, lseek, off_t, etc #include "flash.h" // for msg_perr, ERROR_PTR, etc #include "hwaccess.h" // for msr_t --- make: *** [physmap.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o hwaccess.o -c hwaccess.c hwaccess.h should add these lines: #include // for __GLIBC__ #include // for uint64_t, uint32_t, etc hwaccess.h should remove these lines: - #include // lines 38-38 - #include // lines 212-212 The full include-list for hwaccess.h: #include // for __GLIBC__ #include // for uint64_t, uint32_t, etc #include "platform.h" // for IS_X86 --- hwaccess.c should add these lines: #include // for size_t #include // for iopl hwaccess.c should remove these lines: - #include // lines 31-31 - #include // lines 27-27 - #include // lines 30-30 The full include-list for hwaccess.c: #include "hwaccess.h" #include // for errno #include // for size_t #include // for uint8_t, uint16_t, uint32_t #include // for exit, malloc, free, NULL #include // for memcpy, strerror #include // for iopl #include "flash.h" // for register_shutdown, msg_gerr, etc #include "platform.h" // for IS_X86, IS_LINUX, IS_MACOSX --- make: *** [hwaccess.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o libflashrom.o -c libflashrom.c libflashrom.h should add these lines: #include // for bool #include // for size_t libflashrom.h should remove these lines: - struct flashrom_flashctx; // lines 46-46 - struct flashrom_layout; // lines 66-66 - struct flashrom_programmer; // lines 42-42 The full include-list for libflashrom.h: #include // for va_list #include // for bool #include // for size_t --- (libflashrom.c has correct #includes/fwd-decls) make: *** [libflashrom.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o layout.o -c layout.c layout.h should add these lines: #include // for PRIu32, PRIx32 #include // for bool layout.h should remove these lines: - #include "ich_descriptors.h" // lines 31-31 The full include-list for layout.h: #include // for PRIu32, PRIx32 #include // for bool #include // for size_t #include // for uint32_t --- layout.c should add these lines: layout.c should remove these lines: - #include // lines 25-25 - #include "programmer.h" // lines 27-27 The full include-list for layout.c: #include "layout.h" #include // for fclose, feof, fopen, fscanf, etc #include // for strtol, free #include // for strcmp, strtok #include "flash.h" // for msg_gerr, msg_ginfo, etc --- make: *** [layout.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o flashrom.o -c flashrom.c flashrom.c should add these lines: #include // for PRIxPTR #include // for PCILIB_VERSION #include // for false, bool, true #include // for size_t #include // for uint8_t, uint32_t, etc #include "layout.h" // for romentry, flashrom_layout, etc #include "platform.h" // for IS_WINDOWS flashrom.c should remove these lines: - #include // lines 36-36 - #include // lines 29-29 - #include // lines 37-37 - #include // lines 27-27 The full include-list for flashrom.c: #include // for errno #include // for PRIxPTR #include // for PCILIB_VERSION #include // for false, bool, true #include // for size_t #include // for uint8_t, uint32_t, etc #include // for NULL, fileno, fclose, fopen, etc #include // for free, malloc, calloc, exit, etc #include // for memcpy, strerror, memset, etc #include // for stat, fstat, S_ISREG #include // for _POSIX_FSYNC, fsync #include "flash.h" // for flashctx, flashrom_flashctx, etc #include "flashchips.h" // for SFDP_DEVICE_ID, etc #include "hwaccess.h" // for __FLASHROM_LITTLE_ENDIAN__ #include "layout.h" // for romentry, flashrom_layout, etc #include "platform.h" // for IS_WINDOWS #include "programmer.h" // for programmer_entry, etc --- make: *** [flashrom.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o udelay.o -c udelay.c udelay.c should add these lines: #include "platform.h" // for IS_WINDOWS udelay.c should remove these lines: - #include // lines 26-26 - #include // lines 25-25 The full include-list for udelay.c: #include // for LONG_MAX, ULONG_MAX #include // for bool, false #include // for NULL #include // for timeval, gettimeofday #include // for nanosleep, timespec #include "flash.h" // for msg_pdbg, msg_pinfo, etc #include "platform.h" // for IS_WINDOWS --- make: *** [udelay.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o programmer.o -c programmer.c programmer.h should add these lines: #include // for size_t #include // for uint16_t, uint8_t, uint32_t, etc #include "platform.h" // for IS_WINDOWS programmer.h should remove these lines: - struct pci_dev; // lines 188-188 The full include-list for programmer.h: #include // for size_t #include // for uint16_t, uint8_t, uint32_t, etc #include "flash.h" // for flashctx, chipaddr, etc #include "platform.h" // for IS_WINDOWS --- (programmer.c has correct #includes/fwd-decls) make: *** [programmer.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o helpers.o -c helpers.c helpers.c should add these lines: #include // for size_t #include // for uint32_t helpers.c should remove these lines: The full include-list for helpers.c: #include // for tolower #include // for size_t #include // for uint32_t #include // for realloc, NULL #include // for strlen, strcat #include "flash.h" // for msg_gerr --- make: *** [helpers.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o ich_descriptors.o -c ich_descriptors.c ich_descriptors.h should add these lines: #include // for size_t ich_descriptors.h should remove these lines: - struct ich_layout; // lines 31-31 The full include-list for ich_descriptors.h: #include // for bool #include // for size_t #include // for uint32_t, uint8_t #include // for ssize_t --- ich_descriptors.c should add these lines: #include // for snprintf #include "layout.h" // for romentry, ich_layout, etc ich_descriptors.c should remove these lines: The full include-list for ich_descriptors.c: #include "ich_descriptors.h" #include // for snprintf #include // for NULL, memset #include // for ssize_t #include "flash.h" // for msg_pdbg2, print, msg_pspew, etc #include "layout.h" // for romentry, ich_layout, etc #include "programmer.h" // for ich_chipset, etc --- make: *** [ich_descriptors.o] Error 1 /bin/iwyu -MMD -O0 -Wall -Wshadow -g -Werror -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_ATAVIA=1' -D'CONFIG_IT8212=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_NICINTEL_EEPROM=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'FLASHROM_VERSION="v0.9.9-49-ge2276ae-dirty"' -o serial.o -c serial.c serial.c should add these lines: #include // for F_SETFL, F_GETFL, etc serial.c should remove these lines: - #include // lines 28-28 - #include // lines 32-32 - #include // lines 25-25 - #include // lines 30-30 - #include // lines 38-38 - #include // lines 26-26 The full include-list for serial.c: #include // for F_SETFL, F_GETFL, etc #include // for errno, EAGAIN #include // for fcntl, open #include // for NULL #include // for strerror #include // for ioctl, TIOCMGET, TIOCCBRK, etc #include // for termios, cfgetispeed, etc #include // for close, read, ssize_t, write #include "flash.h" // for msg_perr, msg_pspew, etc #include "platform.h" // for IS_WINDOWS #include "programmer.h" // for internal_delay, SER_INV_FD, etc --- make: *** [serial.o] Error 1 make: Target `all' not remade because of errors.