Shocky wrote:
I finally tracked down the problem, and it had nothing to do with libpci.a or libzlib1.a, except for the fact that static linking is used.
Mandriva, both 2007 and 2008, has a package called glibc-static-devel which is required to do static linking. I guess this is the first time I've tried to build a package that used static linking. The clue was the reference to not being able to find "-lc". libc.a is part of this package. Once I urpmi'ed this package, flashrom built successfully.
This looks like a dependency problem of your distribution. You might want to report it to them to get it fixed.
I wonder if someone could modify the Makefile message for this possibility, something like in the attached patch.
Anyway, thanks to all those who helped me resolve this issue.
Thanks for the insight.
Stefan