Bonjour a tous,
Voila j'ai recupere un programme ecrit en fortran 77. voila le makefile de ce programme apres que j'ai modifie la commande de compilation de g77 a gfortran:
et pourtant je reçois ce message d'erreur en retour (la ligne 54 qui pose probleme):
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99 CMD = tomoDD #FC = g77 #FC = f77 #FC = gcc FC = gfortran SRCS = $(CMD).f \ aprod.f cluster_tomoDD.f covar.f datum.f \ delaz.f delaz2.f direct1.f dist.f exist.f \ freeunit.f getinp_tomoDD.f ifindi.f \ indexxi.f juliam.f \ lsqr.f matmult1.f matmult2.f matmult3.f mdian1.f \ normlz.f ran.f redist.f refract.f \ resstat_tomoDD.f scopy.f sdc2.f setorg.f skip_tomoDD.f \ snrm2.f sort.f sorti.f sscal.f \ svd.f tiddid.f trialsrc_tomoDD.f trimlen.f \ ttime.f vmodel.f Ray3VD.f partials_tomoDD.f \ getdata_tomoDD.f \ lsfitV_tomoDD_lsqr.f lsfitHV_tomoDD_lsqr.f\ dtres_tomoDD.f weighting_tomoDD.f lsfitH_tomoDD_lsqr.f CSRCS = atoangle_.c atoangle.c datetime_.c hypot_.c rpad_.c \ sscanf3_.c OBJS = $(SRCS:%.f=%.o) $(CSRCS:%.c=%.o) INCLDIR = ./include CFLAGS = -O -I$(INCLDIR) # Flags for GNU g77 compiler # FFLAGS = -O -I$(INCLDIR) -fno-silent -Wall -implicit FFLAGS = -O -I$(INCLDIR) -ffixed-line-length-none -ffloat-store -fno-silent -fno-ugly -W -ff90 -fbounds-check # Flags for SUN f77 compiler #FFLAGS = -O -u -e -I$(INCLDIR) #FFLAGS = -C -g -e -u -I$(INCLDIR) # Following line needed on HP-UX (hasn't been tested, though). #LDFLAGS = +U77 all: $(CMD) $(CMD): $(OBJS) $(FC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ %.o: %.f $(FC) $(FFLAGS) -c $(@F:.o=.f) -o $@ # Extensive lint-like diagnostic listing (SUN f77 only) #tomoDD.lst: $(SRCS) # f77 -e -Xlist -c $(SRCS) gfortran -e -Xlist -c $(SRCS) clean: -rm -f $(CMD) *.o core a.out *.fln junk
gfortran -O -I./include -ffixed-line-length-none -ffloat-store -fno-silent -fno-ugly -W -ff90 -fbounds-check -c tomoDD.f -o tomoDD.o
f951: error: unrecognized command line option "-fno-silent"
f951: error: unrecognized command line option "-fno-ugly"
f951: error: unrecognized command line option "-ff90"
make: *** [tomoDD.o] Error 1
Merci pour votre aide





Répondre avec citation




Partager