I just noticed that I did not include mentors list in my answer... Il 03/giu/2016 13:53, "Giulio Paci" <giuliop...@gmail.com> ha scritto:
> > Hi all, > > Il 03/giu/2016 12:47, "Andrey Rahmatullin" <w...@debian.org> ha scritto: > > > > On Fri, Jun 03, 2016 at 11:20:09AM +0200, Andreas Tille wrote: > > > In other words you mean this is a bug in libf2c2 package > > Yes, an RC one. > > > > > - but how to fix this? > > I have no idea. MAIN__ is used by the library, but not defined in it. > > As far as I know this is the intended behavior and is needed so that the library can perform initialisation before main(). Just define main as MAIN__ when compiling your binaries and they should work (have a look at [0]). > > BTW: other fortran compilers implements similar strategies, with different naming; autoconf has a macro detecting the most common setups. > > [0] https://gcc.gnu.org/onlinedocs/gcc-2.95.3/g77_16.html