Joost Yervante Damad
joost.damad at siemens.atea.be
Thu Mar 29 10:06:16 EST 2001
You also need the embedded python interpreter linked into apache, e.g.: lib/python2.0/config/libpython2.0.a This failed for me too, soo I did some hacks in the makefiles to force apache to link along the python embedded interpreter. Hope this helps... 'Steve Traylen' wrote about '[mod_python] Compile on Solaris' - Wed, Mar 28, 2001 at 07:24:23PM CEST > > I am trying to do a static build of mod_python on solaris. > but at the linking time to form httpd demon the compile fails > with a lot of undefined functions in libpython.a . > > Does anyone have any ideas. > > Below is the out put. > > Much appreciated. > > Steve > http://nrich.maths.org/~smt32/ > > > ===> os/unix > <=== os/unix > ===> ap > <=== ap > ===> main > <=== main > ===> lib > ===> lib/expat-lite > <=== lib/expat-lite > <=== lib > ===> modules > ===> modules/standard > <=== modules/standard > ===> modules/ssl > <=== modules/ssl > ===> modules/perl > <=== modules/perl > ===> modules/python > mksh: Warning: newline is not last character in file Makefile > Current working directory /usr/local/src/apache_1.3.19/src/modules/python > <=== modules/python > <=== modules > gcc -c -I. -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -I/usr/local/include -I./os/unix -I./include -DSOLARIS2=280 -DMOD_SSL=208101 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c > gcc -c -I. -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -I/usr/local/include -I./os/unix -I./include -DSOLARIS2=280 -DMOD_SSL=208101 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c > gcc -DSOLARIS2=280 -DMOD_SSL=208101 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/local/lib -L/usr/local/lib \ > -o httpd buildmark.o modules.o modules/ssl/libssl.a modules/perl/libperl.a modules/python/libpython.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -lsocket -lnsl -lssl -lcrypto -Wl,-E -L/usr/local/lib /usr/local/lib/perl5/5.6.0/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -lperl -lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt -lsec -lmm > modules/python/libpython.a(mod_python.o): In function `make_interpreter': > mod_python.o(.text+0xc): undefined reference to `Py_NewInterpreter' > mod_python.o(.text+0x74): undefined reference to `PyThreadState_Swap' > modules/python/libpython.a(mod_python.o): In function `get_interpreter_data': > mod_python.o(.text+0xd4): undefined reference to `PyDict_GetItemString' > mod_python.o(.text+0x140): undefined reference to `PyCObject_FromVoidPtr' > mod_python.o(.text+0x160): undefined reference to `PyDict_SetItemString' > mod_python.o(.text+0x174): undefined reference to `PyCObject_AsVoidPtr' > modules/python/libpython.a(mod_python.o): In function `python_cleanup': > mod_python.o(.text+0x36c): undefined reference to `PyThreadState_New' > mod_python.o(.text+0x37c): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x39c): undefined reference to `PyObject_CallFunction' > mod_python.o(.text+0x3bc): undefined reference to `PyErr_Fetch' > mod_python.o(.text+0x3cc): undefined reference to `PyObject_Str' > mod_python.o(.text+0x3dc): undefined reference to `PyObject_Str' > mod_python.o(.text+0x3ec): undefined reference to `PyObject_Str' > mod_python.o(.text+0x4ec): undefined reference to `PyString_AsString' > mod_python.o(.text+0x520): undefined reference to `PyString_AsString' > mod_python.o(.text+0x530): undefined reference to `PyString_AsString' > mod_python.o(.text+0x578): undefined reference to `PyString_AsString' > mod_python.o(.text+0x5ac): undefined reference to `PyString_AsString' > modules/python/libpython.a(mod_python.o)(.text+0x5bc): more undefined references to `PyString_AsString' follow > modules/python/libpython.a(mod_python.o): In function `python_cleanup': > mod_python.o(.text+0x6d0): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x6dc): undefined reference to `PyThreadState_Delete' > modules/python/libpython.a(mod_python.o): In function `python_init': > mod_python.o(.text+0x7dc): undefined reference to `Py_GetVersion' > mod_python.o(.text+0x824): undefined reference to `Py_IsInitialized' > mod_python.o(.text+0x838): undefined reference to `Py_Initialize' > mod_python.o(.text+0x844): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x84c): undefined reference to `PyDict_New' > modules/python/libpython.a(mod_python.o): In function `make_obcallback': > mod_python.o(.text+0xd2c): undefined reference to `PyImport_ImportModule' > mod_python.o(.text+0xd78): undefined reference to `PyObject_CallMethod' > modules/python/libpython.a(mod_python.o): In function `get_request_object': > mod_python.o(.text+0xe98): undefined reference to `PyEval_SaveThread' > mod_python.o(.text+0xeb4): undefined reference to `PyEval_RestoreThread' > mod_python.o(.text+0xf20): undefined reference to `PyEval_SaveThread' > mod_python.o(.text+0xf3c): undefined reference to `PyEval_RestoreThread' > modules/python/libpython.a(mod_python.o): In function `python_handler': > mod_python.o(.text+0x12bc): undefined reference to `PyThreadState_New' > mod_python.o(.text+0x12cc): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x1334): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x1340): undefined reference to `PyThreadState_Delete' > mod_python.o(.text+0x1570): undefined reference to `PyObject_CallMethod' > mod_python.o(.text+0x1580): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x158c): undefined reference to `PyThreadState_Delete' > mod_python.o(.text+0x15e4): undefined reference to `PyInt_Type' > mod_python.o(.text+0x15e8): undefined reference to `PyInt_Type' > mod_python.o(.text+0x1634): undefined reference to `PyInt_AsLong' > modules/python/libpython.a(mod_python.o): In function `python_cleanup_handler': > mod_python.o(.text+0x1978): undefined reference to `PyThreadState_New' > mod_python.o(.text+0x1988): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x19f0): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x19fc): undefined reference to `PyThreadState_Delete' > mod_python.o(.text+0x1b94): undefined reference to `PyObject_CallMethod' > mod_python.o(.text+0x1ba0): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x1bac): undefined reference to `PyThreadState_Delete' > modules/python/libpython.a(mod_python.o): In function `directive_PythonOptimize': > mod_python.o(.text+0x21c8): undefined reference to `Py_OptimizeFlag' > mod_python.o(.text+0x21cc): undefined reference to `Py_OptimizeFlag' > mod_python.o(.text+0x21e0): undefined reference to `Py_OptimizeFlag' > mod_python.o(.text+0x21e4): undefined reference to `Py_OptimizeFlag' > modules/python/libpython.a(mod_python.o): In function `python_finalize': > mod_python.o(.text+0x2568): undefined reference to `PyThreadState_New' > mod_python.o(.text+0x2578): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x2580): undefined reference to `Py_Finalize' > modules/python/libpython.a(mod_python.o): In function `PythonChildInitHandler': > mod_python.o(.text+0x26bc): undefined reference to `PyThreadState_New' > mod_python.o(.text+0x26cc): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x2734): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x2740): undefined reference to `PyThreadState_Delete' > mod_python.o(.text+0x2768): undefined reference to `PyImport_ImportModule' > mod_python.o(.text+0x2780): undefined reference to `PyObject_GetAttrString' > mod_python.o(.text+0x2790): undefined reference to `PyString_FromString' > mod_python.o(.text+0x27a4): undefined reference to `PySequence_Index' > mod_python.o(.text+0x27c8): undefined reference to `PyList_SetSlice' > mod_python.o(.text+0x28ac): undefined reference to `PyImport_ImportModule' > mod_python.o(.text+0x28c0): undefined reference to `PyErr_Occurred' > mod_python.o(.text+0x28d4): undefined reference to `PyErr_Print' > mod_python.o(.text+0x2908): undefined reference to `PyThreadState_Swap' > mod_python.o(.text+0x2914): undefined reference to `PyThreadState_Delete' > modules/python/libpython.a(_apachemodule.o): In function `log_error': > _apachemodule.o(.text+0x30): undefined reference to `PyArg_ParseTuple' > _apachemodule.o(.text+0xb0): undefined reference to `PyErr_BadArgument' > _apachemodule.o(.text+0xf8): undefined reference to `_Py_NoneStruct' > _apachemodule.o(.text+0xfc): undefined reference to `_Py_NoneStruct' > _apachemodule.o(.text+0x100): undefined reference to `_Py_NoneStruct' > _apachemodule.o(.text+0x104): undefined reference to `_Py_NoneStruct' > _apachemodule.o(.text+0x108): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(_apachemodule.o)(.text+0x10c): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(_apachemodule.o): In function `parse_qs': > _apachemodule.o(.text+0x188): undefined reference to `PyArg_ParseTuple' > _apachemodule.o(.text+0x1ac): undefined reference to `PyList_New' > _apachemodule.o(.text+0x210): undefined reference to `PyString_FromStringAndSize' > _apachemodule.o(.text+0x32c): undefined reference to `_PyString_Resize' > _apachemodule.o(.text+0x33c): undefined reference to `PyList_Append' > _apachemodule.o(.text+0x3a0): undefined reference to `PyDict_New' > _apachemodule.o(.text+0x3cc): undefined reference to `PyList_Size' > _apachemodule.o(.text+0x43c): undefined reference to `PyString_FromStringAndSize' > _apachemodule.o(.text+0x46c): undefined reference to `PyString_FromStringAndSize' > _apachemodule.o(.text+0x620): undefined reference to `_PyString_Resize' > _apachemodule.o(.text+0x640): undefined reference to `_PyString_Resize' > _apachemodule.o(.text+0x650): undefined reference to `PyMapping_HasKeyString' > _apachemodule.o(.text+0x66c): undefined reference to `PyDict_GetItem' > _apachemodule.o(.text+0x680): undefined reference to `PyList_Append' > _apachemodule.o(.text+0x69c): undefined reference to `Py_BuildValue' > _apachemodule.o(.text+0x6b4): undefined reference to `PyDict_SetItem' > modules/python/libpython.a(_apachemodule.o): In function `parse_qsl': > _apachemodule.o(.text+0x834): undefined reference to `PyArg_ParseTuple' > _apachemodule.o(.text+0x858): undefined reference to `PyList_New' > _apachemodule.o(.text+0x8b8): undefined reference to `PyString_FromStringAndSize' > _apachemodule.o(.text+0x9e8): undefined reference to `_PyString_Resize' > _apachemodule.o(.text+0xa08): undefined reference to `PyString_FromStringAndSize' > _apachemodule.o(.text+0xa38): undefined reference to `PyString_FromStringAndSize' > _apachemodule.o(.text+0xbec): undefined reference to `_PyString_Resize' > _apachemodule.o(.text+0xc0c): undefined reference to `_PyString_Resize' > _apachemodule.o(.text+0xc24): undefined reference to `Py_BuildValue' > _apachemodule.o(.text+0xc34): undefined reference to `PyList_Append' > modules/python/libpython.a(_apachemodule.o): In function `init_apache': > _apachemodule.o(.text+0xd4c): undefined reference to `PyType_Type' > _apachemodule.o(.text+0xd50): undefined reference to `PyType_Type' > _apachemodule.o(.text+0xd60): undefined reference to `PyType_Type' > _apachemodule.o(.text+0xd64): undefined reference to `PyType_Type' > _apachemodule.o(.text+0xd74): undefined reference to `PyType_Type' > modules/python/libpython.a(_apachemodule.o)(.text+0xd78): more undefined references to `PyType_Type' follow > modules/python/libpython.a(_apachemodule.o): In function `init_apache': > _apachemodule.o(.text+0xdb0): undefined reference to `Py_InitModule4' > _apachemodule.o(.text+0xdc0): undefined reference to `PyModule_GetDict' > _apachemodule.o(.text+0xddc): undefined reference to `PyErr_NewException' > _apachemodule.o(.text+0xe28): undefined reference to `PyDict_SetItemString' > modules/python/libpython.a(requestobject.o): In function `MpRequest_FromRequest': > requestobject.o(.text+0x98): undefined reference to `PyErr_NoMemory' > modules/python/libpython.a(requestobject.o): In function `req_add_common_vars': > requestobject.o(.text+0x1fc): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x200): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x204): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x208): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x20c): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0x210): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `req_add_handler': > requestobject.o(.text+0x3f0): undefined reference to `PyArg_ParseTuple' > requestobject.o(.text+0x428): undefined reference to `PyExc_IndexError' > requestobject.o(.text+0x42c): undefined reference to `PyExc_IndexError' > requestobject.o(.text+0x458): undefined reference to `PyErr_SetString' > requestobject.o(.text+0x6d0): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x6d4): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x6d8): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x6dc): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x6e0): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0x6e4): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `req_get_basic_auth_pw': > requestobject.o(.text+0xb60): undefined reference to `PyString_FromString' > requestobject.o(.text+0xb7c): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xb80): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xb84): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xb88): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xb8c): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0xb90): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `req_get_remote_host': > requestobject.o(.text+0xc94): undefined reference to `PyArg_ParseTuple' > requestobject.o(.text+0xcec): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xcf0): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xcf4): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xcf8): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0xcfc): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0xd00): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `req_get_remote_host': > requestobject.o(.text+0xd2c): undefined reference to `PyString_FromString' > modules/python/libpython.a(requestobject.o): In function `req_read': > requestobject.o(.text+0xdcc): undefined reference to `PyArg_ParseTuple' > requestobject.o(.text+0xe04): undefined reference to `PyString_FromString' > requestobject.o(.text+0xe5c): undefined reference to `PyInt_FromLong' > requestobject.o(.text+0xe94): undefined reference to `PyErr_SetObject' > requestobject.o(.text+0xf14): undefined reference to `PyString_FromString' > requestobject.o(.text+0xf68): undefined reference to `PyString_FromStringAndSize' > requestobject.o(.text+0x1114): undefined reference to `PyExc_IOError' > requestobject.o(.text+0x1118): undefined reference to `PyExc_IOError' > requestobject.o(.text+0x1124): undefined reference to `PyString_FromString' > requestobject.o(.text+0x1134): undefined reference to `PyErr_SetObject' > requestobject.o(.text+0x1198): undefined reference to `_PyString_Resize' > modules/python/libpython.a(requestobject.o): In function `req_readline': > requestobject.o(.text+0x11f8): undefined reference to `PyArg_ParseTuple' > requestobject.o(.text+0x1230): undefined reference to `PyString_FromString' > requestobject.o(.text+0x1288): undefined reference to `PyInt_FromLong' > requestobject.o(.text+0x12c0): undefined reference to `PyErr_SetObject' > requestobject.o(.text+0x1340): undefined reference to `PyString_FromString' > requestobject.o(.text+0x1394): undefined reference to `PyString_FromStringAndSize' > requestobject.o(.text+0x14b0): undefined reference to `_PyString_Resize' > requestobject.o(.text+0x1550): undefined reference to `PyErr_NoMemory' > requestobject.o(.text+0x1648): undefined reference to `PyExc_IOError' > requestobject.o(.text+0x164c): undefined reference to `PyExc_IOError' > requestobject.o(.text+0x1658): undefined reference to `PyString_FromString' > requestobject.o(.text+0x1668): undefined reference to `PyErr_SetObject' > requestobject.o(.text+0x179c): undefined reference to `_PyString_Resize' > modules/python/libpython.a(requestobject.o): In function `req_register_cleanup': > requestobject.o(.text+0x17fc): undefined reference to `PyArg_ParseTuple' > requestobject.o(.text+0x1854): undefined reference to `PyCallable_Check' > requestobject.o(.text+0x18ec): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x18f0): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x18f4): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x18f8): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x18fc): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0x1900): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `req_register_cleanup': > requestobject.o(.text+0x1928): undefined reference to `PyExc_ValueError' > requestobject.o(.text+0x192c): undefined reference to `PyExc_ValueError' > requestobject.o(.text+0x193c): undefined reference to `PyErr_SetString' > requestobject.o(.text+0x1984): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1988): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x198c): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1990): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1994): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0x1998): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `req_write': > requestobject.o(.text+0x1a58): undefined reference to `PyArg_ParseTuple' > requestobject.o(.text+0x1ab4): undefined reference to `PyExc_IOError' > requestobject.o(.text+0x1ab8): undefined reference to `PyExc_IOError' > requestobject.o(.text+0x1ac8): undefined reference to `PyErr_SetString' > requestobject.o(.text+0x1adc): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1ae0): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1ae4): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1ae8): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x1aec): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0x1af0): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `request_getattr': > requestobject.o(.text+0x2000): undefined reference to `Py_FindMethod' > requestobject.o(.text+0x202c): undefined reference to `PyErr_Clear' > requestobject.o(.text+0x2080): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x2084): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x2088): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x208c): undefined reference to `_Py_NoneStruct' > requestobject.o(.text+0x2090): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(requestobject.o)(.text+0x2094): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(requestobject.o): In function `request_getattr': > requestobject.o(.text+0x2838): undefined reference to `PyString_FromString' > requestobject.o(.text+0x287c): undefined reference to `PyInt_FromLong' > requestobject.o(.text+0x28ac): undefined reference to `PyMember_Get' > modules/python/libpython.a(requestobject.o): In function `request_setattr': > requestobject.o(.text+0x28e8): undefined reference to `PyExc_AttributeError' > requestobject.o(.text+0x28ec): undefined reference to `PyExc_AttributeError' > requestobject.o(.text+0x28fc): undefined reference to `PyErr_SetString' > requestobject.o(.text+0x2944): undefined reference to `PyString_AsString' > requestobject.o(.text+0x29b4): undefined reference to `PyString_AsString' > requestobject.o(.text+0x2a18): undefined reference to `PyString_AsString' > requestobject.o(.text+0x2a64): undefined reference to `PyMember_Set' > modules/python/libpython.a(tableobject.o): In function `MpTable_FromTable': > tableobject.o(.text+0x28): undefined reference to `PyErr_NoMemory' > modules/python/libpython.a(tableobject.o): In function `tablegetitem': > tableobject.o(.text+0x118): undefined reference to `PyString_AsString' > tableobject.o(.text+0x14c): undefined reference to `PyExc_KeyError' > tableobject.o(.text+0x150): undefined reference to `PyExc_KeyError' > tableobject.o(.text+0x15c): undefined reference to `PyErr_SetObject' > tableobject.o(.text+0x174): undefined reference to `PyString_FromString' > modules/python/libpython.a(tableobject.o): In function `tablesetitem': > tableobject.o(.text+0x1b8): undefined reference to `PyString_Type' > tableobject.o(.text+0x1bc): undefined reference to `PyString_Type' > tableobject.o(.text+0x1cc): undefined reference to `PyExc_TypeError' > tableobject.o(.text+0x1d0): undefined reference to `PyExc_TypeError' > tableobject.o(.text+0x1e0): undefined reference to `PyErr_SetString' > tableobject.o(.text+0x1f8): undefined reference to `PyString_AsString' > tableobject.o(.text+0x208): undefined reference to `_Py_NoneStruct' > tableobject.o(.text+0x20c): undefined reference to `_Py_NoneStruct' > tableobject.o(.text+0x268): undefined reference to `PyString_Type' > tableobject.o(.text+0x26c): undefined reference to `PyString_Type' > tableobject.o(.text+0x27c): undefined reference to `PyExc_TypeError' > tableobject.o(.text+0x280): undefined reference to `PyExc_TypeError' > tableobject.o(.text+0x290): undefined reference to `PyErr_SetString' > tableobject.o(.text+0x2ac): undefined reference to `PyString_AsString' > modules/python/libpython.a(tableobject.o): In function `table_keys': > tableobject.o(.text+0x304): undefined reference to `PyList_New' > tableobject.o(.text+0x374): undefined reference to `PyString_FromString' > tableobject.o(.text+0x38c): undefined reference to `PyList_SetItem' > modules/python/libpython.a(tableobject.o): In function `table_has_key': > tableobject.o(.text+0x3e8): undefined reference to `PyArg_ParseTuple' > tableobject.o(.text+0x434): undefined reference to `PyInt_FromLong' > tableobject.o(.text+0x454): undefined reference to `PyInt_FromLong' > modules/python/libpython.a(tableobject.o): In function `table_add': > tableobject.o(.text+0x490): undefined reference to `PyArg_ParseTuple' > tableobject.o(.text+0x4c8): undefined reference to `_Py_NoneStruct' > tableobject.o(.text+0x4cc): undefined reference to `_Py_NoneStruct' > tableobject.o(.text+0x4d0): undefined reference to `_Py_NoneStruct' > tableobject.o(.text+0x4d4): undefined reference to `_Py_NoneStruct' > tableobject.o(.text+0x4d8): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(tableobject.o)(.text+0x4dc): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(tableobject.o): In function `table_getattr': > tableobject.o(.text+0x560): undefined reference to `Py_FindMethod' > modules/python/libpython.a(tableobject.o): In function `table_repr': > tableobject.o(.text+0x58c): undefined reference to `PyString_FromString' > tableobject.o(.text+0x5d8): undefined reference to `PyString_FromString' > tableobject.o(.text+0x5e8): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x648): undefined reference to `PyString_FromString' > tableobject.o(.text+0x658): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x67c): undefined reference to `PyString_FromString' > tableobject.o(.text+0x68c): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x6a0): undefined reference to `PyString_FromString' > tableobject.o(.text+0x6b0): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x6d4): undefined reference to `PyString_FromString' > tableobject.o(.text+0x6e4): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x6f8): undefined reference to `PyString_FromString' > tableobject.o(.text+0x708): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x72c): undefined reference to `PyString_FromString' > tableobject.o(.text+0x73c): undefined reference to `PyString_ConcatAndDel' > tableobject.o(.text+0x758): undefined reference to `PyString_FromString' > tableobject.o(.text+0x768): undefined reference to `PyString_ConcatAndDel' > modules/python/libpython.a(util.o): In function `tuple_from_array_header': > util.o(.text+0x18): undefined reference to `_Py_NoneStruct' > util.o(.text+0x1c): undefined reference to `_Py_NoneStruct' > util.o(.text+0x20): undefined reference to `_Py_NoneStruct' > util.o(.text+0x24): undefined reference to `_Py_NoneStruct' > util.o(.text+0x28): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(util.o)(.text+0x2c): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(util.o): In function `tuple_from_array_header': > util.o(.text+0x5c): undefined reference to `PyTuple_New' > util.o(.text+0xb0): undefined reference to `PyString_FromString' > util.o(.text+0xc4): undefined reference to `PyTuple_SetItem' > modules/python/libpython.a(serverobject.o): In function `MpServer_FromServer': > serverobject.o(.text+0x28): undefined reference to `PyErr_NoMemory' > modules/python/libpython.a(serverobject.o): In function `server_register_cleanup': > serverobject.o(.text+0xb8): undefined reference to `PyArg_ParseTuple' > serverobject.o(.text+0xe4): undefined reference to `PyObject_HasAttrString' > serverobject.o(.text+0xf8): undefined reference to `PyExc_ValueError' > serverobject.o(.text+0xfc): undefined reference to `PyExc_ValueError' > serverobject.o(.text+0x10c): undefined reference to `PyErr_SetString' > serverobject.o(.text+0x134): undefined reference to `PyObject_GetAttrString' > serverobject.o(.text+0x15c): undefined reference to `PyExc_ValueError' > serverobject.o(.text+0x160): undefined reference to `PyExc_ValueError' > serverobject.o(.text+0x170): undefined reference to `PyErr_SetString' > serverobject.o(.text+0x190): undefined reference to `PyCallable_Check' > serverobject.o(.text+0x1a4): undefined reference to `PyExc_ValueError' > serverobject.o(.text+0x1a8): undefined reference to `PyExc_ValueError' > serverobject.o(.text+0x1b8): undefined reference to `PyErr_SetString' > serverobject.o(.text+0x278): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x27c): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x280): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x284): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x288): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(serverobject.o)(.text+0x28c): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(serverobject.o): In function `server_getattr': > serverobject.o(.text+0x3c0): undefined reference to `Py_FindMethod' > serverobject.o(.text+0x3ec): undefined reference to `PyErr_Clear' > serverobject.o(.text+0x440): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x444): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x448): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x44c): undefined reference to `_Py_NoneStruct' > serverobject.o(.text+0x450): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(serverobject.o)(.text+0x454): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(serverobject.o): In function `server_getattr': > serverobject.o(.text+0x554): undefined reference to `PyInt_FromLong' > serverobject.o(.text+0x614): undefined reference to `PyMember_Get' > modules/python/libpython.a(connobject.o): In function `MpConn_FromConn': > connobject.o(.text+0x28): undefined reference to `PyErr_NoMemory' > modules/python/libpython.a(connobject.o): In function `makeipaddr': > connobject.o(.text+0x1f4): undefined reference to `PyString_FromString' > modules/python/libpython.a(connobject.o): In function `makesockaddr': > connobject.o(.text+0x258): undefined reference to `Py_BuildValue' > modules/python/libpython.a(connobject.o): In function `conn_getattr': > connobject.o(.text+0x31c): undefined reference to `_Py_NoneStruct' > connobject.o(.text+0x320): undefined reference to `_Py_NoneStruct' > connobject.o(.text+0x324): undefined reference to `_Py_NoneStruct' > connobject.o(.text+0x328): undefined reference to `_Py_NoneStruct' > connobject.o(.text+0x32c): undefined reference to `_Py_NoneStruct' > modules/python/libpython.a(connobject.o)(.text+0x330): more undefined references to `_Py_NoneStruct' follow > modules/python/libpython.a(connobject.o): In function `conn_getattr': > connobject.o(.text+0x5c4): undefined reference to `PyMember_Get' > modules/python/libpython.a(connobject.o): In function `conn_setattr': > connobject.o(.text+0x600): undefined reference to `PyExc_AttributeError' > connobject.o(.text+0x604): undefined reference to `PyExc_AttributeError' > connobject.o(.text+0x614): undefined reference to `PyErr_SetString' > connobject.o(.text+0x65c): undefined reference to `PyString_AsString' > connobject.o(.text+0x6ac): undefined reference to `PyMember_Set' > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `target_static' > -- > Steve Traylen, Systems Engineer > http://www.ccdc.cam.ac.uk/ > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python -- Joost Damad - Siemens IC D NC A - +3214252297 -- Hoare's Law of Large Problems: Inside every large problem is a small problem struggling to get out.
|