Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Technology > xfoil gfortran ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 67 of 84
Post > Topic >>

xfoil gfortran complilation error message

by "rushabh" <rushabh.kothari@[EMAIL PROTECTED] > Apr 6, 2006 at 01:50 PM

I am not very good in fortran compilation, so if anyone can make
anysense out of this following error then let me know.

basically, i m trying to complile xfoil ( airfoil analysis tools from
MIT - http://raphael.mit.edu/xfoil/
) on 10.4.6. I have gfortran
compliler from HPC (http://hpc.sourceforge.net/)
and gcc from
developer's tool. You have to compiler two parts , first generates
libPlt.a and then you go and "make" main xfoil binariy. Most of the
fortran files are compiled properly but then at one point it give this
error:

gfortran -c -O3 -fomit-frame-pointer  ../src/spline.f
gfortran -c -O3 -fomit-frame-pointer  ../src/plutil.f
gfortran -c -O3 -fomit-frame-pointer  ../src/iopol.f
gfortran -c -O3 -fomit-frame-pointer  ../src/gui.f
gfortran -c -O3 -fomit-frame-pointer  ../src/sort.f
gfortran -c -O3 -fomit-frame-pointer  ../src/dplot.f
gfortran -c -O3 -fomit-frame-pointer  ../src/profil.f
 In file ../src/profil.f:943

            IF(ABS(A(K,KPIV,I))-ABS(A(KX,KPIV,I))) 131,131,1311


1
Warning: Obsolete: arithmetic IF statement at (1)
gfortran -c -O3 -fomit-frame-pointer  ../src/userio.f
gfortran -o xfoil xfoil.o xpanel.o xoper.o xtcam.o xgdes.o xqdes.o
xmdes.o xsolve.o xbl.o xblsys.o xpol.o xplots.o xgeom.o xutils.o
modify.o polplt.o aread.o naca.o spline.o plutil.o iopol.o gui.o sort.o
dplot.o profil.o userio.o ../plotlib/libPlt.a  -L/usr/X11R6/lib -lX11
/usr/bin/ld: Undefined symbols:
_rshift_
collect2: ld returned 1 exit status
make: *** [xfoil] Error 1

why is "ld" giving this error ? it seems something wrong is going on
for linking Mach O binaries ??? Something wrong with the code itself
(although i highly doubt it, its old code and has been compiled
successfully on other platform)?




 1 Posts in Topic:
xfoil gfortran complilation error message
"rushabh" <r  2006-04-06 13:50:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 4 16:50:57 CDT 2008.