<div>Hello, PETSc developer</div><div><br></div><div>I am trying to compile my codes. However, I got the following errors. </div><div>"Linking myproj-dbg...<br>/home/yujie/codes/petsc-3.0.0-p3/linux/lib/libpetsc.so: undefined reference to `petscsetcommonblock_'<br>
/home/yujie/codes/petsc-3.0.0-p3/linux/lib/libpetsc.so: undefined reference to `petscgetcommoncomm_'</div><div>"</div><div>I can't find "petscsetcommonblock_" and "petscgetcommoncomm_". I have checked libpetsc.so using nm commands as follows:</div>
<div>"00000000000c65a4 T petscsequentialphasebegin_<br>00000000000c6574 T petscsequentialphaseend_<br> U petscsetcommonblock_<br>0000000000032cb4 T petscsetdefaultdebugger_</div>
<div>......</div><div><br>00000000003dcba0 B petscfortran9_<br>00000000001441a2 T petscfprintf_<br>000000000013e2c8 T petscgetarchtype_<br> U petscgetcommoncomm_<br>0000000000052f18 T petscgetcputime_<br>
000000000014761e T petscgetflops_<br>" </div><div>There is not the address linker for them. I can't find the realization for these two functions in PETSc codes. Could you give me some advice?</div><div>CPU in my PC is x86_64bits. GCC is 4.2 version. Thanks a lot.</div>
<div><br></div><div>Regards,</div><div>Yujie</div><br>