Nick: gmtandi E-mail: andi@andi.com.br Board: build error on raspberry pi Contents: Replacing all version templates with v1.1-rc1-72-g4f00912. Checking for a C compiler... found. Target arch is arm Target OS is Linux Checking for libpci headers... found. Checking version of pci_get_dev... new version (including PCI domain parameter). Checking if libpci is present and sufficient... yes. Checking for libusb-1.0 headers... found. Checking if libusb-1.0 is usable... yes. Checking for FTDI support... not found. Checking if Linux MTD headers are present... yes. Checking if Linux SPI headers are present... yes. Checking for utsname support... found. Checking for clock_gettime support... found. cc -MMD -Os -Wall -Wshadow -Wmissing-prototypes -Werror -I/usr/include/libusb-1.0 -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_DEFAULT_PROGRAMMER_ARGS="''"' -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_PICKIT2_SPI=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'CONFIG_DEDIPROG=1' -D'CONFIG_DEVELOPERBOX_SPI=1' -D'CONFIG_LINUX_MTD=1' -D'CONFIG_LINUX_SPI=1' -D'CONFIG_CH341A_SPI=1' -D'CONFIG_DIGILENT_SPI=1' -D'NEED_PCI=1' -D'NEED_RAW_ACCESS=1' -D'NEED_LIBUSB1=1' -D'HAVE_UTSNAME=1' -D'HAVE_CLOCK_GETTIME=1' -D'FLASHROM_VERSION="v1.1-rc1-72-g4f00912"' -o libflashrom.o -c libflashrom.c libflashrom.c: In function 'flashrom_supported_boards': libflashrom.c:175:35: error: 'boards_known' undeclared (first use in this function) const struct board_info *binfo = boards_known; ^~~~~~~~~~~~ libflashrom.c:175:35: note: each undeclared identifier is reported only once for each function it appears in libflashrom.c:177:15: error: increment of pointer to an incomplete type 'const struct board_info' while ((binfo++)->vendor) ^~ libflashrom.c:177:18: error: dereferencing pointer to incomplete type 'const struct board_info' while ((binfo++)->vendor) ^~ libflashrom.c:188:4: error: invalid use of undefined type 'struct board_info' supported_boards[i].vendor = binfo[i].vendor; ^~~~~~~~~~~~~~~~ libflashrom.c:189:4: error: invalid use of undefined type 'struct board_info' supported_boards[i].name = binfo[i].name; ^~~~~~~~~~~~~~~~ libflashrom.c:190:4: error: invalid use of undefined type 'struct board_info' supported_boards[i].working = binfo[i].working; ^~~~~~~~~~~~~~~~ libflashrom.c: In function 'flashrom_supported_chipsets': libflashrom.c:207:34: error: 'chipset_enables' undeclared (first use in this function) const struct penable *chipset = chipset_enables; ^~~~~~~~~~~~~~~ libflashrom.c:209:17: error: increment of pointer to an incomplete type 'const struct penable' while ((chipset++)->vendor_name) ^~ libflashrom.c:209:20: error: dereferencing pointer to incomplete type 'const struct penable' while ((chipset++)->vendor_name) ^~ libflashrom.c:220:4: error: invalid use of undefined type 'struct penable' supported_chipsets[i].vendor = chipset[i].vendor_name; ^~~~~~~~~~~~~~~~~~ libflashrom.c:221:4: error: invalid use of undefined type 'struct penable' supported_chipsets[i].chipset = chipset[i].device_name; ^~~~~~~~~~~~~~~~~~ libflashrom.c:222:4: error: invalid use of undefined type 'struct penable' supported_chipsets[i].vendor_id = chipset[i].vendor_id; ^~~~~~~~~~~~~~~~~~ libflashrom.c:223:4: error: invalid use of undefined type 'struct penable' supported_chipsets[i].chipset_id = chipset[i].device_id; ^~~~~~~~~~~~~~~~~~ libflashrom.c:224:4: error: invalid use of undefined type 'struct penable' supported_chipsets[i].status = chipset[i].status; ^~~~~~~~~~~~~~~~~~ Makefile:1093: recipe for target 'libflashrom.o' failed make: *** [libflashrom.o] Error 1