[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Static Library to PETSc code



On Fri, 16 Nov 2007 16:12:15 +0100, Tim Stitt <timothy.stitt@xxxxxxxx> wrote:

could not read symbols: Bad value

I haven't seen that error message before, but i looked it up in a search engine and got 4 cases that might be the solution to your problem, suggesting to recompile the static library with -fPIC:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3


--
Mads Hoel