[SciPy-User] [SciPy-user] f2py fortran95 won't compile

theWonder joebarfett@yahoo...
Fri Dec 11 18:31:46 CST 2009


Thanks for the tips!
I installed the compiler, ran the command and wrote that function exactly.
Compiling went further, but now ends in this error:

2.5/hellomodule.c:246: error: called object ‘*(struct PyMethodDef
*)&<erroneous-expression>’ is not a function
/var/folders/1I/1IOFcx8xHPWOBxtsQ1BZgE+++TI/-Tmp-/tmp61G3Ch/src.macosx-10.3-fat-2.5/hellomodule.c:247:
warning: comparison of distinct pointer types lacks a cast
lipo: can't figure out the architecture type of:
/var/folders/1I/1IOFcx8xHPWOBxtsQ1BZgE+++TI/-Tmp-//ccpxvBfj.out
error: Command "gcc -arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
-I/var/folders/1I/1IOFcx8xHPWOBxtsQ1BZgE+++TI/-Tmp-/tmp61G3Ch/src.macosx-10.3-fat-2.5
-I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
/var/folders/1I/1IOFcx8xHPWOBxtsQ1BZgE+++TI/-Tmp-/tmp61G3Ch/src.macosx-10.3-fat-2.5/hellomodule.c
-o
/var/folders/1I/1IOFcx8xHPWOBxtsQ1BZgE+++TI/-Tmp-/tmp61G3Ch/var/folders/1I/1IOFcx8xHPWOBxtsQ1BZgE+++TI/-Tmp-/tmp61G3Ch/src.macosx-10.3-fat-2.5/hellomodule.o"
failed with exit status 1

I found the f2py users group and will seek help there. I do really
appreciate it.
joe

-- 
View this message in context: http://old.nabble.com/f2py-fortran95-won%27t-compile-tp26737506p26753350.html
Sent from the Scipy-User mailing list archive at Nabble.com.



More information about the SciPy-User mailing list