error building shared libs

Richard Tran Mills rmills at
Tue Apr 1 10:30:03 CDT 2008


I believe this has to do with

changeset:   11960:f19ce8104d47
tag:         tip
user:        balay at
date:        Mon Mar 31 14:34:50 2008 -0500
summary:     autogenerate fortranstubs for some of the DM routines

which was in response to my petsc-maint ticket #17513.  I was asking 
about auto-generating some of the DM fortran stubs, and Satish changed 
things so that some of them would be auto-generated.  It looks like 
there was already a hand-generated one for DMGetMatrix, though.  I 
wasn't sure if this should be done by hand or automatically, so I didn't 
change anything and just replied to the ticket stating that this change 
broke something.


Lisandro Dalcin wrote:
> I got this, no time to figure out what's going on. BTW, I manually did
> 'make allfortranstubs' before configure and build, just in case.
> Completed building libraries
> =========================================
> making shared libraries in /u/dalcinl/Devel/PETSc/petsc-dev/linux-gnu/lib
> building
> building
> building
> building
> zfddaf.o: In function `dmgetmatrix_':
> /u/dalcinl/Devel/PETSc/petsc-dev/src/dm/da/utils/ftn-custom/zfddaf.c:51:
> multiple definition of `dmgetmatrix_'
> dmf.o:/u/dalcinl/Devel/PETSc/petsc-dev/src/dm/da/utils/ftn-auto/dmf.c:137:
> first defined here
> /usr/bin/ld: Warning: size of symbol `dmgetmatrix_' changed from 62 in
> dmf.o to 351 in zfddaf.o
> collect2: ld returned 1 exit status
> make[2]: [shared_linux] Error 1 (ignored)
> building
> building
> building
> building
> ********************************************************************
>   Error during compile, check linux-gnu/conf/make.log
>   Send it and linux-gnu/conf/configure.log to petsc-maint at
> ********************************************************************
> make: [all] Error 1 (ignored)

More information about the petsc-dev mailing list