Hello, I am getting the following error message when linking a code:
../solver_3.2/libsel.a(p2_snes.o): In function `__p2_snes_mod__p2_snes_error': /home/stanier/hifi/solver_3.2/p2_snes.F:450: undefined reference to `__local_mod__petsc_null_function' collect2: ld returned 1 exit status I have noticed that src/snes/examples/tests/ex14f.F also gives an error message related to PETSC_NULL_FUNCTION, and make ex14f fails to make ex14f.o: In function `MAIN__': /home/stanier/soft/petsc-3.2-p7/src/snes/examples/tests/ex14f.F:182: undefined reference to `__petscmod__petsc_null_function' collect2: ld returned 1 exit status Also, have checked this with another PETSc user with version 3.2-p7 and version 3.3- the same error occurs. My configure options are ./configure --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack --download-mpich --download-blacs --download-scalapack --download-parmetis --download-mumps --download-superlu --download-hypre I was wondering if anyone else has had this problem, and knew how to get around it. Thanks, Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120723/48f02746/attachment.html>
