Hello-
I am trying to compile the src version of relax (version 1.2.1 under
OS X), but I'm seeing some errors (see below). Do you know how I
might resolve the problem?
Thanks,
Doug
% make
###########################
# Compiling the C modules #
###########################
make -C maths_fns
cc -I/sw/include/python2.4 -c -o relax_fit.o relax_fit.c
cc -I/sw/include/python2.4 -c -o c_chi2.o c_chi2.c
cc -I/sw/include/python2.4 -c -o exponential.o exponential.c
cc -shared relax_fit.o c_chi2.o exponential.o -o relax_fit.so
powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
/usr/bin/ld: Undefined symbols:
_main
_PyArg_ParseTuple
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyDict_GetItemString
_PyImport_ImportModule
_PyList_New
_PyList_SetItem
_PyList_Type
_PyModule_GetDict
_PyType_IsSubtype
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
collect2: ld returned 1 exit status
make[1]: *** [relax_fit.so] Error 1
make: *** [maths_fns] Error 2