$ python3 setup.py build running build running build_py creating build creating build/lib.linux-x86_64-3.1 copying src/pbs.py -> build/lib.linux-x86_64-3.1 copying src/PBSQuery.py -> build/lib.linux-x86_64-3.1 copying src/AdvancedParser.py -> build/lib.linux-x86_64-3.1 running build_ext building '_pbs' extension creating build/temp.linux-x86_64-3.1 creating build/temp.linux-x86_64-3.1/src gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DTORQUE_OLD -I/usr/include/python3.1 -c src/pbs_wrap.c -o build/temp.linux-x86_64-3.1/src/pbs_wrap.o src/pbs_wrap.c: In function ‘SWIG_Python_AddErrorMsg’: src/pbs_wrap.c:862: warning: implicit declaration of function ‘PyString_AsString’ src/pbs_wrap.c: In function ‘PySwigClientData_New’: src/pbs_wrap.c:1253: warning: implicit declaration of function ‘PyClass_Check’ src/pbs_wrap.c: In function ‘PySwigObject_format’: src/pbs_wrap.c:1326: warning: implicit declaration of function ‘PyString_FromString’ src/pbs_wrap.c:1326: warning: initialization makes pointer from integer without a cast src/pbs_wrap.c:1328: warning: implicit declaration of function ‘PyString_Format’ src/pbs_wrap.c:1328: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘PySwigObject_repr’: src/pbs_wrap.c:1358: warning: implicit declaration of function ‘PyString_FromFormat’ src/pbs_wrap.c:1358: warning: initialization makes pointer from integer without a cast src/pbs_wrap.c:1366: warning: implicit declaration of function ‘PyString_ConcatAndDel’ src/pbs_wrap.c: In function ‘PySwigObject_print’: src/pbs_wrap.c:1380: warning: passing argument 1 of ‘fputs’ makes pointer from integer without a cast /usr/include/stdio.h:684: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ src/pbs_wrap.c: In function ‘PySwigObject_str’: src/pbs_wrap.c:1393: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘_PySwigObject_type’: src/pbs_wrap.c:1590: warning: initialization from incompatible pointer type src/pbs_wrap.c:1591: warning: initialization from incompatible pointer type src/pbs_wrap.c:1594: warning: initialization from incompatible pointer type src/pbs_wrap.c:1595: warning: initialization from incompatible pointer type src/pbs_wrap.c:1602: error: ‘coercion’ undeclared (first use in this function) src/pbs_wrap.c:1602: error: (Each undeclared identifier is reported only once src/pbs_wrap.c:1602: error: for each function it appears in.) src/pbs_wrap.c:1602: error: expected ‘}’ before numeric constant src/pbs_wrap.c:1622: warning: missing braces around initializer src/pbs_wrap.c:1622: warning: (near initialization for ‘tmp.ob_base.ob_base’) src/pbs_wrap.c:1624: warning: initialization makes integer from pointer without a cast src/pbs_wrap.c:1627: warning: initialization from incompatible pointer type src/pbs_wrap.c:1628: warning: initialization from incompatible pointer type src/pbs_wrap.c:1632: warning: initialization from incompatible pointer type src/pbs_wrap.c:1635: error: ‘cmpfunc’ undeclared (first use in this function) src/pbs_wrap.c:1635: error: expected ‘}’ before ‘PySwigObject_compare’ src/pbs_wrap.c:1682: error: ‘PyTypeObject’ has no member named ‘ob_type’ src/pbs_wrap.c:1584: warning: unused variable ‘PySwigObject_as_number’ src/pbs_wrap.c:1582: warning: unused variable ‘swigobject_doc’ src/pbs_wrap.c: In function ‘PySwigPacked_repr’: src/pbs_wrap.c:1731: warning: return makes pointer from integer without a cast src/pbs_wrap.c:1733: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘PySwigPacked_str’: src/pbs_wrap.c:1742: warning: return makes pointer from integer without a cast src/pbs_wrap.c:1744: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘_PySwigPacked_type’: src/pbs_wrap.c:1789: warning: missing braces around initializer src/pbs_wrap.c:1789: warning: (near initialization for ‘tmp.ob_base.ob_base’) src/pbs_wrap.c:1791: warning: initialization makes integer from pointer without a cast src/pbs_wrap.c:1794: warning: initialization from incompatible pointer type src/pbs_wrap.c:1795: warning: initialization from incompatible pointer type src/pbs_wrap.c:1796: warning: initialization from incompatible pointer type src/pbs_wrap.c:1798: error: ‘cmpfunc’ undeclared (first use in this function) src/pbs_wrap.c:1798: error: expected ‘}’ before ‘PySwigPacked_compare’ src/pbs_wrap.c:1845: error: ‘PyTypeObject’ has no member named ‘ob_type’ src/pbs_wrap.c:1783: warning: unused variable ‘swigpacked_doc’ src/pbs_wrap.c: In function ‘_SWIG_This’: src/pbs_wrap.c:1890: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/pbs_wrap.c:1910: warning: implicit declaration of function ‘PyInstance_Check’ src/pbs_wrap.c:1911: warning: implicit declaration of function ‘_PyInstance_Lookup’ src/pbs_wrap.c:1911: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_Python_NewShadowInstance’: src/pbs_wrap.c:2141: warning: implicit declaration of function ‘PyInstance_NewRaw’ src/pbs_wrap.c:2141: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_Python_SetModule’: src/pbs_wrap.c:2322: warning: implicit declaration of function ‘Py_InitModule’ src/pbs_wrap.c:2323: warning: initialization makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_Python_TypeQuery’: src/pbs_wrap.c:2343: warning: initialization makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_Python_TypeError’: src/pbs_wrap.c:2432: warning: initialization makes pointer from integer without a cast src/pbs_wrap.c: In function ‘Get_List_Size’: src/pbs_wrap.c:2536: warning: implicit declaration of function ‘PyString_Check’ src/pbs_wrap.c:2537: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast /usr/include/string.h:399: note: expected ‘const char *’ but argument is of type ‘int’ src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast src/pbs_wrap.c:2537: note: expected ‘const char *’ but argument is of type ‘int’ src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast /usr/include/string.h:399: note: expected ‘const char *’ but argument is of type ‘int’ src/pbs_wrap.c:2537: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast src/pbs_wrap.c:2537: note: expected ‘const char *’ but argument is of type ‘int’ src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast src/pbs_wrap.c:2537: note: expected ‘const char *’ but argument is of type ‘int’ src/pbs_wrap.c:2537: warning: cast to pointer from integer of different size src/pbs_wrap.c:2537: warning: passing argument 1 of ‘__builtin_strcmp’ makes pointer from integer without a cast src/pbs_wrap.c:2537: note: expected ‘const char *’ but argument is of type ‘int’ src/pbs_wrap.c: In function ‘SWIG_AsVal_double’: src/pbs_wrap.c:2662: warning: implicit declaration of function ‘PyInt_Check’ src/pbs_wrap.c:2663: warning: implicit declaration of function ‘PyInt_AsLong’ src/pbs_wrap.c: In function ‘SWIG_From_int’: src/pbs_wrap.c:2796: warning: implicit declaration of function ‘PyInt_FromLong’ src/pbs_wrap.c:2796: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_FromCharPtrAndSize’: src/pbs_wrap.c:2822: warning: implicit declaration of function ‘PyString_FromStringAndSize’ src/pbs_wrap.c:2822: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘SWIG_AsCharPtrAndSize’: src/pbs_wrap.c:2842: warning: implicit declaration of function ‘PyString_AsStringAndSize’ src/pbs_wrap.c:2868: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘_wrap_pbs_rescquery’: src/pbs_wrap.c:5015: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘_wrap_pbs_rescreserve’: src/pbs_wrap.c:5112: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘_wrap_pbs_selectjob’: src/pbs_wrap.c:5439: warning: passing argument 3 of ‘PyList_SetItem’ makes pointer from integer without a cast /usr/include/python3.1/listobject.h:53: note: expected ‘struct PyObject *’ but argument is of type ‘int’ src/pbs_wrap.c: In function ‘_wrap_log_size’: src/pbs_wrap.c:6948: warning: assignment makes pointer from integer without a cast src/pbs_wrap.c: In function ‘swig_varlink_repr’: src/pbs_wrap.c:7515: warning: return makes pointer from integer without a cast src/pbs_wrap.c: In function ‘swig_varlink_str’: src/pbs_wrap.c:7520: warning: initialization makes pointer from integer without a cast src/pbs_wrap.c: In function ‘swig_varlink_print’: src/pbs_wrap.c:7534: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’ src/pbs_wrap.c: In function ‘swig_varlink_type’: src/pbs_wrap.c:7592: warning: missing braces around initializer src/pbs_wrap.c:7592: warning: (near initialization for ‘tmp.ob_base.ob_base’) src/pbs_wrap.c:7594: warning: initialization makes integer from pointer without a cast src/pbs_wrap.c:7597: warning: initialization from incompatible pointer type src/pbs_wrap.c:7598: warning: initialization from incompatible pointer type src/pbs_wrap.c:7599: warning: initialization from incompatible pointer type src/pbs_wrap.c:7602: warning: initialization from incompatible pointer type src/pbs_wrap.c:7608: warning: initialization from incompatible pointer type src/pbs_wrap.c:7613: warning: initialization from incompatible pointer type src/pbs_wrap.c:7629: error: ‘PyTypeObject’ has no member named ‘ob_type’ src/pbs_wrap.c: In function ‘init_pbs’: src/pbs_wrap.c:7760: warning: assignment makes pointer from integer without a cast error: command 'gcc' failed with exit status 1