[LinuxBIOS] Can't compile flashrom

Peter Stuge peter at stuge.se
Wed Nov 28 03:52:03 CET 2007

On Tue, Nov 27, 2007 at 05:19:01PM -0700, Shocky wrote:
> Thanks, I knew there had to be a command that would do this. This
> just deepens the mystery further. nm tells me that within
> /usr/lib/libpci.a access.o defines the external symbol
> "00000760 T pci_alloc". So if nm can see it, why can't ld see it?

What if you link with the archive manually:

ld -o flashrom file1.o file2.o /usr/lib/libpci.a

(ie don't use -lpci)


More information about the coreboot mailing list