http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827
--- Comment #9 from Hans-Werner Boschmann <boschmann at tp1 dot
physik.uni-siegen.de> 2010-09-29 11:49:11 UTC ---
My makefile is now:
FC=gfortran
FFLAGS=-ffree-form -ffree-line-length-0 -I. -L.
all: common.o common_module.mod arguments.o arguments_module.mod kinds.o
kinds.mod
kinds.o kinds.mod: kinds.f90
$(FC) $(FFLAGS) -c $< -o kinds.o
arguments.o arguments_module.mod: arguments.f03 kinds.mod
$(FC) $(FFLAGS) -c $< -o arguments.o
common.o common_module.mod: common.f03 arguments_module.mod kinds.mod
$(FC) $(FFLAGS) -c $< -o common.o
clean:
rm -rf *.mod *.o test
The result:
gfortran -ffree-form -ffree-line-length-0 -I. -L. -c kinds.f90 -o kinds.o
gfortran -ffree-form -ffree-line-length-0 -I. -L. -c arguments.f03 -o
arguments.o
gfortran -ffree-form -ffree-line-length-0 -I. -L. -c common.f03 -o common.o
common.f03:27.22:
use arguments_module
1
Interner Fehler bei (1):
mio_component_ref(): Component not found
make: *** [common.o] Fehler 1