[flashrom] I have problem making latest flashrom

guy lacroix glx at skynet.be
Sat Dec 5 15:22:09 CET 2009


Dear Sirs,
i learned how to install libpcidev,(zlib1g-dev), libftdi-dev. That is
done.  I did not install subversion.
Source code folder flashrom-0.9.1 is in /home/guy and there I type make
flashrom.  Then I get output as in included error make flashrom.

When I type sudo make flasrom I get
guy at asus-p4b:~/flashrom-0.9.1$ sudo make flashrom
[sudo] password for guy: 
Checking for a C compiler... found.
Checking for FTDI support... found.
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_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] Fout 1
guy at asus-p4b:~/flashrom-0.9.1$ 

Thanks for your help! I'm learing something this way.
-------------- next part --------------
guy at asus-p4b:~$ pwd
/home/guy
guy at asus-p4b:~$ cd flashrom-0.9.1
guy at asus-p4b:~/flashrom-0.9.1$ make flashrom
Checking for a C compiler... found.
Checking for FTDI support... found.
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_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'FT2232_SPI_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'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o udelay.o -c udelay.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o jedec.o -c jedec.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o stm50flw0x0x.o -c stm50flw0x0x.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o sst28sf040.o -c sst28sf040.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o am29f040b.o -c am29f040b.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o mx29f002.o -c mx29f002.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o m29f400bt.o -c m29f400bt.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o pm29f002.o -c pm29f002.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o w49f002u.o -c w49f002u.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o 82802ab.o -c 82802ab.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o pm49fl00x.o -c pm49fl00x.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o sst49lf040.o -c sst49lf040.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o en29f002a.o -c en29f002a.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o sst49lfxxxc.o -c sst49lfxxxc.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_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'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o layout.o -c layout.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o cbtable.o -c cbtable.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_SUPPORT=1' -D'FLASHROM_VERSION="0.9.1-r710"' -o flashchips.o -c flashchips.c
cc -Os -Wall -Werror  -D'SERPROG_SUPPORT=1' -D'FT2232_SPI_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] Fout 1
guy at asus-p4b:~/flashrom-0.9.1$ 



More information about the flashrom mailing list