[flashrom] Error compiling flashrom 0.9.1 from source code.

Luis Ortega ortega.luis at yahoo.com
Tue Nov 24 05:01:58 CET 2009


Hi, my name is Luis Ortega. I want to inform you that I receive an error upon compiling flashrom 0.9.1 from the source code at the following location. The operating system used is Ubuntu 9.10...

http://qa.coreboot.org/releases/flashrom-0.9.1.tar.bz2

The following is displayed upon compiling flashrom...

sudo make
Checking for a C compiler... found.
Checking for pciutils and zlib... found.
Checking for FTDI support... not found.
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o chipset_enable.o -c chipset_enable.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o board_enable.o -c board_enable.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o udelay.o -c udelay.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o jedec.o -c jedec.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o stm50flw0x0x.o -c stm50flw0x0x.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o sst28sf040.o -c sst28sf040.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o am29f040b.o -c am29f040b.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o mx29f002.o -c mx29f002.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o m29f400bt.o -c m29f400bt.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o pm29f002.o -c pm29f002.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o w49f002u.o -c w49f002u.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o 82802ab.o -c 82802ab.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o pm49fl00x.o -c pm49fl00x.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o sst49lf040.o -c sst49lf040.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o en29f002a.o -c en29f002a.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o sst49lfxxxc.o -c sst49lfxxxc.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o sst_fwhub.o -c sst_fwhub.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o layout.o -c layout.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o cbtable.o -c cbtable.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o flashchips.o -c flashchips.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1'  -D'FLASHROM_VERSION="0.9.1-r710"' -o physmap.o -c physmap.c
cc1: warnings being treated as errors
physmap.c: In function ‘rdmsr’:
physmap.c:146: error: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [physmap.o] Error 1

I was told via IRCto report it here.

Best regards,
Luis Ortega



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20091123/05948131/attachment.html>


More information about the flashrom mailing list