This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Multiple __copy_histories_history_ symbols defined
Hi Janus,
> > With a recent gfortran 4.6 (r166706) I'm getting a lot of errors while
> > linking that look like this:
> >
> > ./work/build/accretion_disks.switched.o: In function
> > `__copy_histories_history_':
> > ./source/accretion_disks.switched.F90:225: multiple definition of
> > `__copy_histories_history_'
> > ./work/build/accretion_disks.o:./source/accretion_disks.F90:169: first
> > defined here
> >
> > "history" is a derived type that's defined within a module "histories".
> > The error is repeated many times, in each case refering to a differnt
> > object file.
>
> this is PR 46448:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46448
>
> We'll fix it soonish.
Thanks - I should have rechecked bugzilla to catch those recent reports!
-Andrew.
--
* Andrew Benson: http://www.tapir.caltech.edu/~abenson/contact.html
* Galacticus: http://sites.google.com/site/galacticusmodel