Mark,<div>PetscTypeCompare got renamed to PetscObjectTypeCompare in line with the PETSc naming guidelines:</div><div><a href="http://petsc.cs.iit.edu/petsc/petsc-dev/rev/3fc8f665421d">http://petsc.cs.iit.edu/petsc/petsc-dev/rev/3fc8f665421d</a></div>
<div>The gamg source was part of this update.</div><div>Any chance you introduced a new instance of PetscTypeCompare() after that changeset? </div><div>If so, simply replace it with PetscObjectTypeCompare().</div><div><br>
</div><div>Dmitry.<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 1:03 PM, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu" target="_blank">mark.adams@columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've built petsc-dev but when I try to make an example I get this:<br>
<br>
make ex54<br>
/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicc -o ex54.o -c -malign-double -g3 -fno-inline -O0 -I/Users/markadams/Codes/petsc-dev/include -I/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/include -D__INSDIR__=src/ksp/ksp/examples/tutorials/ ex54.c<br>
/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicc -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -malign-double -g3 -fno-inline -O0 -o ex54 ex54.o -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib -lpetsc -ltriangle -lparmetis -lmetis -lHYPRE -lmpichcxx -lstdc++ -lpthread -lflapack -lfblas -lhdf5_fortran -lhdf5 -lhdf5hl_fortran -lhdf5_hl -lz -L/sw/lib/gcc4.6/lib/gcc/i386-apple-darwin10.8.0/4.6.2 -L/sw/lib/gcc4.6/lib -lpmpich -lmpich -lopa -lmpl -lSystem -lgcc_ext.10.5 -ldl -lmpichf90 -lpthread -lgfortran -lgfortran -lquadmath -lm -lm -lmpichcxx -lstdc++ -lpmpich -lmpich -lopa -lmpl -lSystem -lgcc_ext.10.5 -ldl<br>
Undefined symbols:<br>
"_PetscTypeCompare", referenced from:<br>
_PCSetUp_GAMG in libpetsc.a(gamg.c.o)<br>
_PCSetUp_GAMG in libpetsc.a(gamg.c.o)<br>
ld: symbol(s) not found<br>
collect2: ld returned 1 exit status<br>
<br>
Any ideas?<br>
<span class="HOEnZb"><font color="#888888"><br>
Mark</font></span></blockquote></div><br></div>