2010/2/26 Carl-Daniel Hailfinger <span dir="ltr"><<a href="mailto:c-d.hailfinger.devel.2006@gmx.net" target="_blank">c-d.hailfinger.devel.2006@gmx.net</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Idwer reported problems with the current libpci check on<br>
<br>
FreeBSD 8.0-RELEASE i386<br>
<br>
This is caused by a strict linker. Parsing linker error messages is an<br>
exercise in futility, so I implemented fallback library detection with<br>
$CC --print-file-name.<br>
This fallback will fail on llvm-clang (llvm bug 5137), but such machines<br>
hopefully have a more permissive linker and will never hit that code path.<br>
The fallback will also fail on NetBSD where we should look for<br>
libpciutils instead, but that hopefully doesn't have a strict linker either.<br>
<br>
Side note: The configure checks in the Makefile are now so unwieldy that<br>
a separate configure script will definitely improve readability.<br>
<br>
Signed-off-by: Carl-Daniel Hailfinger <<a href="mailto:c-d.hailfinger.devel.2006@gmx.net" target="_blank">c-d.hailfinger.devel.2006@gmx.net</a>><br>
<br>
Index: flashrom-libpci_robust_detection/Makefile<br>
===================================================================<br>
--- flashrom-libpci_robust_detection/Makefile   (Revision 916)<br>
+++ flashrom-libpci_robust_detection/Makefile   (Arbeitskopie)<br>
@@ -251,21 +251,30 @@<br>
                echo "Please install libpci headers (package pciutils-devel)."; \<br>
                echo "See README for more information."; echo;                  \<br>
                rm -f .test.c .test.o; exit 1)<br>
-       @printf "Checking for libpci... "<br>
+       @printf "Checking for libpci (method 1)... "<br>
        @$(shell ( echo "#include <pci/pci.h>";            \<br>
                   echo "int main(int argc, char **argv)"; \<br>
                   echo "{ return 0; }"; ) > .test1.c )<br>
-       @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 -lpci $(LIBS) >/dev/null 2>&1 &&     \<br>
-               echo "found." || ( echo "not found."; echo;                             \<br>
-               echo "Please install libpci (package pciutils).";                       \<br>
-               echo "See README for more information."; echo;                          \<br>
-               rm -f .test1.c .test1; exit 1)<br>
+       @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) .test1.c -o .test1 $(LIBS) >/dev/null 2>&1 &&   \<br>
+               echo "found." || ( echo "not found.";           \<br>
+               $(CC) --print-file-name=libpci.so >/dev/null 2>&1 && (          \<br>
+               printf "Checking for dynamic libpci (method 2)... ";            \<br>
+               $(CC) --print-file-name=libpci.so 2>/dev/null | grep -q / &&    \<br>
+               echo "found." || ( echo "not found.";                           \<br>
+               printf "Checking for static libpci (method 2)... "              \<br>
+               $(CC) --print-file-name=libpci.a 2>/dev/null | grep -q / &&     \<br>
+               echo "found." || ( echo "not found."; echo;                     \<br>
+               echo "Please install libpci (package pciutils).";               \<br>
+               echo "See README for more information."; echo;                  \<br>
+               rm -f .test1.c .test1; exit 1) ) ) || ( echo "unavailable."; echo;      \<br>
+               echo "Please install libpci (package pciutils).";               \<br>
+               echo "See README for more information."; echo; ))<br>
        @printf "Checking if libpci is sufficient... "<br>
        @printf "" > .libdeps<br>
-       @$(CC) $(LDFLAGS) .test.o -o .test -lpci $(LIBS) >/dev/null 2>&1 &&                             \<br>
+       @$(CC) $(LDFLAGS) .test.o -o .test $(LIBS) >/dev/null 2>&1 &&                           \<br>
                echo "yes." || ( echo "no.";                                                    \<br>
                printf "Checking if libz is present and supplies all needed symbols...";        \<br>
-               $(CC) $(LDFLAGS) .test.o -o .test -lpci -lz $(LIBS) >/dev/null 2>&1 &&          \<br>
+               $(CC) $(LDFLAGS) .test.o -o .test $(LIBS) -lz >/dev/null 2>&1 &&                \<br>
                ( echo "yes."; echo "NEEDLIBZ := yes" > .libdeps ) || ( echo "no."; echo;       \<br>
                echo "Please install libz.";                    \<br>
                echo "See README for more information."; echo;                          \<br></blockquote><div><br>Acked-by: Idwer Vollering <<a href="mailto:vidwer@gmail.com" target="_blank">vidwer@gmail.com</a>><br>

<br>$ gmake<br>Checking for a C compiler... found.<br>Checking for libpci headers... found.<br>Checking for libpci (method 1)... not found.<br>Checking for dynamic libpci (method 2)... not found.<br>not found.<br><br>Please install libpci (package pciutils).<br>

See README for more information.<br><br>unavailable.<br><br>Please install libpci (package pciutils).<br>See README for more information.<br><br>Checking if libpci is sufficient... no.<br>Checking if libz is present and supplies all needed symbols...yes.<br>

Checking for FTDI support... not found.<br>cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o jedec.o -c jedec.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o stm50flw0x0x.o -c stm50flw0x0x.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o w39v040c.o -c w39v040c.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o w39v080fa.o -c w39v080fa.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o sharplhf00l04.o -c sharplhf00l04.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o w29ee011.o -c w29ee011.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o sst28sf040.o -c sst28sf040.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o m29f400bt.o -c m29f400bt.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o 82802ab.o -c 82802ab.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o pm49fl00x.o -c pm49fl00x.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o sst49lfxxxc.o -c sst49lfxxxc.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o sst_fwhub.o -c sst_fwhub.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o flashchips.o -c flashchips.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o spi.o -c spi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o spi25.o -c spi25.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o flashrom.o -c flashrom.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o cli_classic.o -c cli_classic.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o cli_output.o -c cli_output.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o print.o -c print.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o udelay.o -c udelay.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o programmer.o -c programmer.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o chipset_enable.o -c chipset_enable.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o board_enable.o -c board_enable.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o cbtable.o -c cbtable.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o dmi.o -c dmi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o it87spi.o -c it87spi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o ichspi.o -c ichspi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o sb600spi.o -c sb600spi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o wbsio_spi.o -c wbsio_spi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o internal.o -c internal.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o serprog.o -c serprog.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o nic3com.o -c nic3com.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o satasii.o -c satasii.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o ft2232_spi.o -c ft2232_spi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o dummyflasher.o -c dummyflasher.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o drkaiser.o -c drkaiser.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o buspirate_spi.o -c buspirate_spi.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o pcidev.o -c pcidev.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o physmap.o -c physmap.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o hwaccess.o -c hwaccess.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o layout.o -c layout.c<br>

cc -Os -Wall -Werror -Wshadow -I/usr/local/include -D'INTERNAL_SUPPORT=1' -D'SERPROG_SUPPORT=1' -D'NIC3COM_SUPPORT=1' -D'SATASII_SUPPORT=1'  -D'DUMMY_SUPPORT=1' -D'DRKAISER_SUPPORT=1' -D'BUSPIRATE_SPI_SUPPORT=1' -D'NEED_PCI=1' -D'FLASHROM_VERSION="0.9.1-r919"' -o serial.o -c serial.c<br>

cc -L/usr/local/lib -o flashrom jedec.o stm50flw0x0x.o w39v040c.o w39v080fa.o sharplhf00l04.o w29ee011.o sst28sf040.o m29f400bt.o 82802ab.o pm49fl00x.o sst49lfxxxc.o sst_fwhub.o flashchips.o spi.o spi25.o flashrom.o cli_classic.o cli_output.o print.o udelay.o programmer.o chipset_enable.o board_enable.o cbtable.o dmi.o it87spi.o ichspi.o sb600spi.o wbsio_spi.o internal.o serprog.o nic3com.o satasii.o ft2232_spi.o dummyflasher.o drkaiser.o buspirate_spi.o pcidev.o physmap.o hwaccess.o layout.o serial.o  -lz -lpci<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br>
<br>
--<br>
"I do consider assignment statements and pointer variables to be among<br>
computer science's most valuable treasures."<br>
-- Donald E. Knuth<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>flashrom mailing list<br>
<a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a><br>
<a href="http://www.flashrom.org/mailman/listinfo/flashrom" target="_blank">http://www.flashrom.org/mailman/listinfo/flashrom</a><br>
</div></div></blockquote></div><br>