[petsc-users] linker error, undefined reference to `petscstack'
Satish Balay
balay at mcs.anl.gov
Mon Aug 23 22:34:43 CDT 2010
Did you build PETSc yourself? Do petsc examples work?
Send make.log from the build, and the output of 'make test' to
petsc-maint at mcs.anl.gov
Satish
On Mon, 23 Aug 2010, Hari Kodali wrote:
> Hi all,
>
> I received a linker error while using petsc
>
> in $PETSC_DIR/$PETSC_ARCH/include/petscis.h:135: undefined reference to
> `petscstack'
>
> i tried
> nm $PETSC_DIR/$PETSC_ARCH/lib/*.* | grep petscstack
> but this command did not return any values.
>
> PS:
> petscstack is defined in 'petscerror.h' which is included in 'petsc.h'
>
>
> any help to debug this would be appreciated.
>
>
More information about the petsc-users
mailing list