On Tuesday 27 November 2007 19:52, Peter Stuge wrote:
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)
//Peter
That gives a huge list of undefined references, trying to resolve all the symbols referenced by all the files inside libpci.
Shocky