<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi PETSc users,<div><br></div><div>I am trying out PETSc with something very simple from the tutorials [3], creating a vector. My source code: &nbsp;[1]</div><div>The compiler (via Eclipse CDT) fails with the output [2] - undefined symbols&nbsp;<span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">"_dswap"&nbsp;</span><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">"_dnrm2" etc.. in libpetsc.a</span></div><div><span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; "><br></span></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;">I have no idea where to start looking for the error and would be thankful for some hints.</span></font></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-size: 11px;">Chris</span></font></div><div><br></div><div>[1]&nbsp;<a href="http://pastebin.com/eMdpAbHy">http://pastebin.com/eMdpAbHy</a></div><div>[2] <a href="http://pastebin.com/AB6UynTV">http://pastebin.com/AB6UynTV</a></div><div>[3]&nbsp;<a href="http://www.mcs.anl.gov/petsc/petsc-current/src/vec/vec/examples/tutorials/ex1.c.html">http://www.mcs.anl.gov/petsc/petsc-current/src/vec/vec/examples/tutorials/ex1.c.html</a></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>