I hate fucking C. Let me push a fix.<div><br></div><div>  Matt<br><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 2:35 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -o ex58.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-gnu/include -I/opt/local/include -D__INSDIR__=src/snes/examples/tutorials/ ex58.c<br>

In file included from /Users/barrysmith/Src/petsc-dev/include/petscvec.h:490,<br>
                 from /Users/barrysmith/Src/petsc-dev/include/petscmat.h:6,<br>
                 from /Users/barrysmith/Src/petsc-dev/include/petscdm.h:6,<br>
                 from /Users/barrysmith/Src/petsc-dev/include/petscpc.h:6,<br>
                 from /Users/barrysmith/Src/petsc-dev/include/petscksp.h:6,<br>
                 from /Users/barrysmith/Src/petsc-dev/include/petscsnes.h:6,<br>
                 from ex58.c:1:<br>
/Users/barrysmith/Src/petsc-dev/include/private/vecimpl.h:123: error: conflicting types for ‘PetscSectionGetDof’<br>
/Users/barrysmith/Src/petsc-dev/include/private/vecimpl.h:99: error: previous declaration of ‘PetscSectionGetDof’ was here<br>
/Users/barrysmith/Src/petsc-dev/include/private/vecimpl.h:131: error: conflicting types for ‘PetscSectionGetOffset’<br>
/Users/barrysmith/Src/petsc-dev/include/private/vecimpl.h:100: error: previous declaration of ‘PetscSectionGetOffset’ was here<br>
make: [ex58.o] Error 1 (ignored)<br>
<br>
<br>
<br>
</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>

</div>