-
Notifications
You must be signed in to change notification settings - Fork 3
Fortran program to exercise the ttest code
Dale Plummer edited this page Mar 3, 2017
·
3 revisions
~/ps/misc/old_ps/ps-development-version/psDll/test$
I am learning how to compile and link Fortran code.
Compiles look like:
gfortran -c ../phi.for
Link it with:
gfortran tdeltasi.o tsamples.o tpower.o tsize.o zcrvalue.o tcum.o tcumfcn.o phi.o ttest.o
Missing some modules:
tdeltasi.o: In function `tdeltasize_':
tdeltasi.for:(.text+0xea): undefined reference to `tin_'
tdeltasi.for:(.text+0x105): undefined reference to `tin_'
tdeltasi.for:(.text+0x21d): undefined reference to `tin_'
tdeltasi.for:(.text+0x238): undefined reference to `tin_'
tsamples.o: In function `tsamplesize_':
tsamples.for:(.text+0x25f): undefined reference to `zreal_'
tpower.o: In function `tpower_':
tpower.for:(.text+0xf9): undefined reference to `tin_'
tpower.for:(.text+0x2a4): undefined reference to `tin_'
tsize.o: In function `tsize_':
tsize.for:(.text+0x14c): undefined reference to `tin_'
tsize.for:(.text+0x18c): undefined reference to `tin_'
collect2: error: ld returned 1 exit status