Server Help

ASSS Questions - Problem compiling modules

Scopene - Mon Apr 02, 2012 11:28 am
Post subject: Problem compiling modules
When I try to make a module I get this error:

make: *** [../build/pymod.o] Error 1

There's no pymod.o inside the build folder.

make deps:
Code: Show/Hide

python ../scripts/makedeps.py -I. -Iinclude -I../build  -D_REENTRANT -D_GNU_SOURCE -fPIC -I/usr/include/db-4.6 -I/usr/include/mysql -I/usr/include/python2.5 \
                */*.c -P '$(BUILDDIR)/' -o ../build/deps.mk
makedeps: ignoring option: -D_REENTRANT
makedeps: ignoring option: -D_GNU_SOURCE
makedeps: ignoring option: -fPIC
makedeps: ignoring option: -I/usr/include/db-4.6
makedeps: ignoring option: -I/usr/include/mysql
makedeps: ignoring option: -I/usr/include/python2.5
makedeps: warning: "pthread.h" not found
makedeps: warning: "zlib.h" not found
makedeps: warning: "mysql.h" not found
makedeps: warning: "db.h" not found
makedeps: warning: "errno.h" not found
makedeps: warning: "Python.h" not found
makedeps: warning: "structmember.h" not found


make:
Code: Show/Hide

pymod/pymod.c:1047: warning: implicit declaration of function ?PyObject_New?
pymod/pymod.c:1047: error: expected expression before ?PlayerObject?
pymod/pymod.c:1048: error: ?PlayerObject? has no member named ?p?
pymod/pymod.c:1049: error: ?PlayerObject? has no member named ?dict?
pymod/pymod.c:1049: warning: implicit declaration of function ?PyDict_New?
pymod/pymod.c:1053: error: ?PlayerObject? has no member named ?ob_refcnt?
pymod/pymod.c:1055: error: ?PlayerObject? has no member named ?ob_refcnt?
pymod/pymod.c:1063: error: ?PlayerObject? has no member named ?p?
pymod/pymod.c:1064: error: ?PlayerObject? has no member named ?dict?
pymod/pymod.c:1065: error: ?PlayerObject? has no member named ?dict?
pymod/pymod.c: In function ?py_aaction?:
pymod/pymod.c:1080: error: expected expression before ?ArenaObject?
pymod/pymod.c:1081: error: ?ArenaObject? has no member named ?a?
pymod/pymod.c:1082: error: ?ArenaObject? has no member named ?dict?
pymod/pymod.c:1087: error: ?ArenaObject? has no member named ?ob_refcnt?
pymod/pymod.c:1089: error: ?ArenaObject? has no member named ?ob_refcnt?
pymod/pymod.c:1092: error: ?ArenaObject? has no member named ?a?
pymod/pymod.c:1093: error: ?ArenaObject? has no member named ?dict?
pymod/pymod.c:1094: error: ?ArenaObject? has no member named ?dict?
pymod/pymod.c: At top level:
pymod/pymod.c:1106: error: expected specifier-qualifier-list before ?PyObject?
pymod/pymod.c: In function ?destroy_callback_ticket?:
pymod/pymod.c:1114: error: ?struct callback_ticket? has no member named ?func?
pymod/pymod.c:1115: error: ?struct callback_ticket? has no member named ?cbid?
pymod/pymod.c:1115: error: ?struct callback_ticket? has no member named ?func?
pymod/pymod.c:1115: error: ?struct callback_ticket? has no member named ?arena?
pymod/pymod.c: At top level:
pymod/pymod.c:1119: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1149: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1205: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c: In function ?destroy_interface?:
pymod/pymod.c:1256: error: ?pyint_generic_interface? has no member named ?funcs?
pymod/pymod.c:1257: error: ?pyint_generic_interface? has no member named ?funcs?
pymod/pymod.c: At top level:
pymod/pymod.c:1280: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c: In function ?pycmd_command?:
pymod/pymod.c:1343: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1343: error: ?args? undeclared (first use in this function)
pymod/pymod.c:1350: error: ?cvt_c2p_player? undeclared (first use in this function)
pymod/pymod.c:1352: error: ?cvt_c2p_target? undeclared (first use in this function)
pymod/pymod.c:1359: error: ?ret? undeclared (first use in this function)
pymod/pymod.c: At top level:
pymod/pymod.c:1374: error: expected specifier-qualifier-list before ?PyObject?
pymod/pymod.c: In function ?remove_command?:
pymod/pymod.c:1383: error: ?struct pycmd_ticket? has no member named ?cmd?
pymod/pymod.c:1383: error: ?struct pycmd_ticket? has no member named ?arena?
pymod/pymod.c:1384: error: ?struct pycmd_ticket? has no member named ?cmd?
pymod/pymod.c:1384: error: ?struct pycmd_ticket? has no member named ?func?
pymod/pymod.c:1385: error: ?struct pycmd_ticket? has no member named ?func?
pymod/pymod.c:1386: error: ?struct pycmd_ticket? has no member named ?htobj?
pymod/pymod.c: At top level:
pymod/pymod.c:1390: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c: In function ?pytmr_timer?:
pymod/pymod.c:1433: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1433: error: ?func? undeclared (first use in this function)
pymod/pymod.c:1433: error: ?ret? undeclared (first use in this function)
pymod/pymod.c:1433: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1436: warning: implicit declaration of function ?PyObject_CallFunction?
pymod/pymod.c:1443: error: ?Py_None? undeclared (first use in this function)
pymod/pymod.c:1443: warning: implicit declaration of function ?PyObject_IsTrue?
pymod/pymod.c: In function ?clear_timer?:
pymod/pymod.c:1451: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1451: error: ?funcptr? undeclared (first use in this function)
pymod/pymod.c: At top level:
pymod/pymod.c:1457: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1490: error: expected ?)? before ?*? token
pymod/pymod.c:1563: error: expected specifier-qualifier-list before ?PyObject?
pymod/pymod.c: In function ?get_player_data?:
pymod/pymod.c:1570: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1570: error: ?val? undeclared (first use in this function)
pymod/pymod.c:1570: error: ?pkl? undeclared (first use in this function)
pymod/pymod.c:1570: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1574: warning: implicit declaration of function ?PyObject_CallMethod?
pymod/pymod.c:1574: error: ?struct pypersist_ppd? has no member named ?funcs?
pymod/pymod.c:1574: error: ?cvt_c2p_player? undeclared (first use in this function)
pymod/pymod.c:1580: error: ?Py_None? undeclared (first use in this function)
pymod/pymod.c:1586: error: ?cPickle? undeclared (first use in this function)
pymod/pymod.c:1594: warning: implicit declaration of function ?PyObject_AsReadBuffer?
pymod/pymod.c:1610: warning: implicit declaration of function ?memcpy?
pymod/pymod.c:1610: warning: incompatible implicit declaration of built-in function ?memcpy?
pymod/pymod.c: In function ?set_player_data?:
pymod/pymod.c:1620: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1620: error: ?buf? undeclared (first use in this function)
pymod/pymod.c:1620: error: ?val? undeclared (first use in this function)
pymod/pymod.c:1620: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1620: error: ?ret? undeclared (first use in this function)
pymod/pymod.c:1620: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1622: warning: implicit declaration of function ?PyString_FromStringAndSize?
pymod/pymod.c:1623: error: ?cPickle? undeclared (first use in this function)
pymod/pymod.c:1631: error: ?struct pypersist_ppd? has no member named ?funcs?
pymod/pymod.c:1631: error: ?cvt_c2p_player? undeclared (first use in this function)
pymod/pymod.c: In function ?clear_player_data?:
pymod/pymod.c:1640: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1640: error: ?ret? undeclared (first use in this function)
pymod/pymod.c:1642: error: ?struct pypersist_ppd? has no member named ?funcs?
pymod/pymod.c:1642: error: ?cvt_c2p_player? undeclared (first use in this function)
pymod/pymod.c: In function ?unreg_ppd?:
pymod/pymod.c:1653: error: ?struct pypersist_ppd? has no member named ?funcs?
pymod/pymod.c: At top level:
pymod/pymod.c:1657: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1689: error: expected specifier-qualifier-list before ?PyObject?
pymod/pymod.c: In function ?get_arena_data?:
pymod/pymod.c:1696: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1696: error: ?val? undeclared (first use in this function)
pymod/pymod.c:1696: error: ?pkl? undeclared (first use in this function)
pymod/pymod.c:1696: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1700: error: ?struct pypersist_apd? has no member named ?funcs?
pymod/pymod.c:1700: error: ?cvt_c2p_arena? undeclared (first use in this function)
pymod/pymod.c:1706: error: ?Py_None? undeclared (first use in this function)
pymod/pymod.c:1712: error: ?cPickle? undeclared (first use in this function)
pymod/pymod.c:1736: warning: incompatible implicit declaration of built-in function ?memcpy?
pymod/pymod.c: In function ?set_arena_data?:
pymod/pymod.c:1746: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1746: error: ?buf? undeclared (first use in this function)
pymod/pymod.c:1746: error: ?val? undeclared (first use in this function)
pymod/pymod.c:1746: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1746: error: ?ret? undeclared (first use in this function)
pymod/pymod.c:1746: warning: left-hand operand of comma expression has no effect
pymod/pymod.c:1749: error: ?cPickle? undeclared (first use in this function)
pymod/pymod.c:1757: error: ?struct pypersist_apd? has no member named ?funcs?
pymod/pymod.c:1757: error: ?cvt_c2p_arena? undeclared (first use in this function)
pymod/pymod.c: In function ?clear_arena_data?:
pymod/pymod.c:1766: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1766: error: ?ret? undeclared (first use in this function)
pymod/pymod.c:1768: error: ?struct pypersist_apd? has no member named ?funcs?
pymod/pymod.c:1768: error: ?cvt_c2p_arena? undeclared (first use in this function)
pymod/pymod.c: In function ?unreg_apd?:
pymod/pymod.c:1779: error: ?struct pypersist_apd? has no member named ?funcs?
pymod/pymod.c: At top level:
pymod/pymod.c:1783: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1810: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1841: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1872: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1879: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1886: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1893: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1898: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
pymod/pymod.c:1904: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?asss_module_methods?
pymod/pymod.c: In function ?init_asss_module?:
pymod/pymod.c:1942: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1942: error: ?m? undeclared (first use in this function)
pymod/pymod.c:1944: error: ?PlayerType? undeclared (first use in this function)
pymod/pymod.c:1946: error: ?ArenaType? undeclared (first use in this function)
pymod/pymod.c:1948: error: ?PlayerListType? undeclared (first use in this function)
pymod/pymod.c:1948: error: ?PyList_Type? undeclared (first use in this function)
pymod/pymod.c:1955: warning: implicit declaration of function ?Py_InitModule3?
pymod/pymod.c:1955: error: ?asss_module_methods? undeclared (first use in this function)
pymod/pymod.c:1959: warning: implicit declaration of function ?PyModule_AddObject?
pymod/pymod.c:1959: error: expected expression before ?)? token
pymod/pymod.c:1960: error: expected expression before ?)? token
pymod/pymod.c:1961: error: expected expression before ?)? token
pymod/pymod.c:1963: warning: implicit declaration of function ?add_type_objects_to_module?
In file included from pymod/pymod.c:1972:
../build/py_constants.inc:3: warning: implicit declaration of function ?PyModule_AddStringConstant?
../build/py_constants.inc:5: warning: implicit declaration of function ?PyModule_AddIntConstant?
pymod/pymod.c: In function ?load_py_module?:
pymod/pymod.c:1986: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:1986: error: ?mod? undeclared (first use in this function)
pymod/pymod.c:1988: warning: implicit declaration of function ?PyImport_ImportModule?
pymod/pymod.c: In function ?unload_py_module?:
pymod/pymod.c:2008: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:2008: error: ?mdict? undeclared (first use in this function)
pymod/pymod.c:2008: warning: implicit declaration of function ?PyImport_GetModuleDict?
pymod/pymod.c:2009: error: ?mod? undeclared (first use in this function)
pymod/pymod.c:2010: warning: implicit declaration of function ?PyModule_GetName?
pymod/pymod.c: At top level:
pymod/pymod.c:2030: error: expected ?)? before ?*? token
pymod/pymod.c: In function ?pyloader?:
pymod/pymod.c:2065: warning: implicit declaration of function ?call_maybe_with_arena?
pymod/pymod.c: In function ?MM_pymod?:
pymod/pymod.c:2117: warning: implicit declaration of function ?Py_Initialize?
pymod/pymod.c:2128: warning: implicit declaration of function ?snprintf?
pymod/pymod.c:2128: warning: incompatible implicit declaration of built-in function ?snprintf?
pymod/pymod.c:2133: warning: implicit declaration of function ?PyRun_SimpleString?
pymod/pymod.c:2143: error: ?PyObject? undeclared (first use in this function)
pymod/pymod.c:2143: error: ?sys? undeclared (first use in this function)
pymod/pymod.c:2144: error: ?sysdict? undeclared (first use in this function)
pymod/pymod.c:2144: warning: implicit declaration of function ?PyModule_GetDict?
pymod/pymod.c:2145: warning: implicit declaration of function ?Py_INCREF?
pymod/pymod.c:2149: error: ?cPickle? undeclared (first use in this function)
pymod/pymod.c:2200: warning: implicit declaration of function ?Py_Finalize?
make: *** [../build/pymod.o] Error 1


I'm using ASSS 1.5.0 Linux x86
Scopene - Tue Apr 03, 2012 9:13 am
Post subject:
Problem (kind of) resolved. This is an issue with python not being installed properly on the server, I THINK.

More problems have arisen but I've posted them on subspace.net instead.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group