Hello,

i try to compile flashrom but i get a follow error
layout.c:149: error: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
did someone now how can i fix then?

here the output:

Thx Pawel


Checking for pciutils and zlib... found.
cc1: error: .test.c: No such file or directory
gcc -Os -Wall -Werror    -c -o chipset_enable.o chipset_enable.c
gcc -Os -Wall -Werror    -c -o board_enable.o board_enable.c
gcc -Os -Wall -Werror    -c -o udelay.o udelay.c
gcc -Os -Wall -Werror    -c -o jedec.o jedec.c
gcc -Os -Wall -Werror    -c -o stm50flw0x0x.o stm50flw0x0x.c
gcc -Os -Wall -Werror    -c -o sst28sf040.o sst28sf040.c
gcc -Os -Wall -Werror    -c -o am29f040b.o am29f040b.c
gcc -Os -Wall -Werror    -c -o mx29f002.o mx29f002.c
gcc -Os -Wall -Werror    -c -o sst39sf020.o sst39sf020.c
gcc -Os -Wall -Werror    -c -o m29f400bt.o m29f400bt.c
gcc -Os -Wall -Werror    -c -o w49f002u.o w49f002u.c
gcc -Os -Wall -Werror    -c -o 82802ab.o 82802ab.c
gcc -Os -Wall -Werror    -c -o pm49fl00x.o pm49fl00x.c
gcc -Os -Wall -Werror    -c -o sst49lf040.o sst49lf040.c
gcc -Os -Wall -Werror    -c -o sst49lfxxxc.o sst49lfxxxc.c
gcc -Os -Wall -Werror    -c -o sst_fwhub.o sst_fwhub.c
gcc -Os -Wall -Werror    -c -o layout.o layout.c
cc1: warnings being treated as errors
layout.c: In function ‘read_romlayout’:
layout.c:149: error: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
make: *** [layout.o] Fehler 1

--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to