On Sat, Jun 25, 2011 at 2:54 PM, Umut Tabak <span dir="ltr">&lt;<a href="mailto:u.tabak@tudelft.nl">u.tabak@tudelft.nl</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear all,<br>
<br>
I was trying to update an old eigenvalue solver wrapper of mine that is dependent on Slepc, however I am getting an error on the linking phase as such<br>
<br>
/home/utab/external_programs/<u></u>slepc-3.1-p6/src/eps/<u></u>interface/basic.c:43: undefined reference to `petscstack&#39;<br>
<br>
So basically the error comes from the SLEPc side but the nm command on the libpetsc.a also does not return a symbol with this name, so a bit puzzled. I am using 3.1.patch 8 and slepc 3.1 patch 6.<br>
<br>
Any pointer on the whereabouts of my problem is appreciated.<br></blockquote><div><br></div><div>Its defined in src/sys/err/pstack.c. Its only defined if PETSC_USE_DEBUG is #defined. Are you combining debug and non-debug libraries?</div>
<div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Best regards,<br><font color="#888888">
Umut<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>