[petsc-users] error linking

Hoang Giang Bui hgbk2008 at gmail.com
Mon Jul 29 16:41:16 CDT 2013


Hi

When I link my program to petsc. I have this linking error:

/opt/petsc/petsc-3.4.2-build1/lib/libmetis.a(error.c.o): In function
`errexit':
error.c:(.text+0x80): multiple definition of `errexit'
/opt/petsc/petsc-3.4.2-build1/lib/libparms.a(sets.o):sets.c:(.text+0x0):
first defined here

I have linked to the libraries as the sequence in $PETSC_WITH_EXTERNAL_LIB.
I also sent my configure.log (to
petsc-maint at mcs.anl.gov<http://www.mcs.anl.gov/petsc/documentation/bugreporting.html>)
for your information

Ciao
Bui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130729/be1e9279/attachment.html>


More information about the petsc-users mailing list