ieee_flags
Paul W Campbell
pwc@u.washington.edu
Fri Sep 19 01:06:00 GMT 2008
I am trying to build some very old ( circa 93-97) Fortran
and I am getting some undefined references.
I have googled, crawled FAQs, actually re-read the docs for make,
and man for gfortran. I noticed some mention in 1992, 2002 in news
but it did not seem relevant.
I had commented thisout previously but wonder if they were the
cause of a seq fault. So, now, I am looking for a way to resolve
this references.
Any suggestions or magic incantations ?
call IEEE_FLAGS("clearall","exceptions","all","")
<- snipped from makefile ->
FFLAGS = -g -C
$(FC) $(FFLAGS) $(LDFLAGS) $(LOADLIBES) -o $@ $(z3f-objs)
(same result with/without ieee=full )
[pwc@localhost src]$ make
f77 -g -C -c -o tline.o tline.f
f77 -g -C -o weather weather.o ran1.o gauss1.o gamma.o tline.o
f77 -g -C -o xw-plots xw-plots.o ran1.o gauss1.o gamma.o tline.o
xw-plots.o: In function `MAIN__':
/home/pwc/down/don/fm97/src/xw-plots.f:403: undefined reference to `ieee_flags_'
collect2: ld returned 1 exit status
make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-redhat-linux-gnu
[pwc@localhost src]$ gfortran -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
[pwc@localhost src]$
More information about the Fortran
mailing list