Swati Mazumder
swati at ibcs.in
Mon Sep 10 11:33:03 EDT 2007
Hi All, When I run ./configure, the command executes successfully. But after that, when I am trying to run make command, it is showing me some error where it shows some variables are not defined, I am getting errors like,- mod_python.c:621: error: syntax error before '*' token mod_python.c: In function 'python_create_global_config': mod_python.c:623: error: 's' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:650: error: syntax error before '*' token mod_python.c: In function 'mp_acquire_interpreter': mod_python.c:652: error: 'idata' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:678: error: syntax error before '*' token mod_python.c:678: error: syntax error before '*' token mod_python.c: In function 'mp_get_request_object': mod_python.c:680: error: invalid operands to binary * mod_python.c:682: error: 'req' undeclared (first use in this function) mod_python.c:684: error: 'PyObject' undeclared (first use in this function) mod_python.c:684: error: syntax error before ')' token mod_python.c: At top level: mod_python.c:694: error: syntax error before '*' token mod_python.c:694: error: syntax error before '*' token mod_python.c: In function 'mp_get_server_object': mod_python.c:696: error: 'PyObject' undeclared (first use in this function) mod_python.c:696: error: syntax error before ')' token mod_python.c: At top level: mod_python.c:706: error: syntax error before '*' token mod_python.c: In function 'mp_get_connection_object': mod_python.c:708: error: 'PyObject' undeclared (first use in this function) mod_python.c:708: error: syntax error before ')' token mod_python.c: At top level: mod_python.c:718: error: syntax error before 'server_rec' mod_python.c: In function 'python_init': mod_python.c:726: error: 'PY_VERSION' undeclared (first use in this function) mod_python.c:758: error: 's' undeclared (first use in this function) mod_python.c:766: error: 'p' undeclared (first use in this function) mod_python.c:812: warning: assignment makes pointer from integer without a cast mod_python.c:825: error: 'apu__opt' undeclared (first use in this function) mod_python.c:826: warning: initialization from incompatible pointer type mod_python.c: At top level: mod_python.c:886: error: syntax error before 'server_rec' mod_python.c: In function 'python_create_srv_config': mod_python.c:889: error: 'p' undeclared (first use in this function) mod_python.c: In function 'python_merge_config': mod_python.c:927: error: 'hle' undeclared (first use in this function) mod_python.c:928: error: 'fh' undeclared (first use in this function) mod_python.c: In function 'python_directive_hl_add': mod_python.c:1142: error: 'head' undeclared (first use in this function) mod_python.c:1156: error: syntax error before ')' token mod_python.c: At top level: mod_python.c:1259: error: syntax error before '*' token mod_python.c:1259: error: syntax error before '*' token mod_python.c: In function 'python_get_request_object': mod_python.c:1261: error: 'req_config' undeclared (first use in this function) mod_python.c:1262: error: invalid operands to binary * mod_python.c:1265: error: syntax error before ')' token mod_python.c:1265: error: 'req' undeclared (first use in this function) mod_python.c:1297: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_python.c:1297: error: syntax error before 'ap_add_cgi_vars' mod_python.c:1300: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_python.c:1321: error: request for member 'phase' in something not a structure or union mod_python.c:1322: error: request for member 'phase' in something not a structure or union mod_python.c: At top level: mod_python.c:1334: error: syntax error before '*' token mod_python.c: In function 'resolve_directory': mod_python.c:1340: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:1394: error: syntax error before '*' token mod_python.c: In function 'resolve_location': mod_python.c:1400: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:1452: error: syntax error before '*' token mod_python.c: In function 'select_interp_name': mod_python.c:1458: error: 'conf' undeclared (first use in this function) mod_python.c:1466: error: 'req' undeclared (first use in this function) mod_python.c:1501: error: 'fh' undeclared (first use in this function) mod_python.c:1504: error: 'hle' undeclared (first use in this function) mod_python.c:1518: error: 'con' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:1532: error: syntax error before '*' token mod_python.c: In function 'python_handler': mod_python.c:1535: error: 'PyObject' undeclared (first use in this function) mod_python.c:1535: error: 'resultobject' undeclared (first use in this function) mod_python.c:1536: error: 'idata' undeclared (first use in this function) mod_python.c:1537: error: invalid operands to binary * mod_python.c:1542: error: 'hle' undeclared (first use in this function) mod_python.c:1543: error: 'dynhle' undeclared (first use in this function) mod_python.c:1544: error: 'hlohle' undeclared (first use in this function) mod_python.c:1546: error: 'req_conf' undeclared (first use in this function) mod_python.c:1549: error: 'req' undeclared (first use in this function) mod_python.c:1567: error: syntax error before ')' token mod_python.c:1574: error: syntax error before ')' token mod_python.c:1582: error: syntax error before ')' token mod_python.c:1585: error: syntax error before ')' token mod_python.c:1641: error: request for member 'extension' in something not a structure or union mod_python.c:1644: error: request for member 'hlo' in something not a structure or union mod_python.c:1645: error: request for member 'hlo' in something not a structure or union mod_python.c:1645: error: syntax error before ')' token mod_python.c:1656: error: request for member 'phase' in something not a structure or union mod_python.c:1657: error: request for member 'phase' in something not a structure or union mod_python.c:1682: warning: passing argument 1 of 'strlen' from incompatible pointer type mod_python.c:1682: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type mod_python.c:1682: warning: passing argument 1 of 'strlen' from incompatible pointer type mod_python.c:1682: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type mod_python.c:1682: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type mod_python.c:1682: warning: passing argument 1 of '__builtin_strcmp' from incompatible pointer type mod_python.c: In function 'python_cleanup_handler': mod_python.c:1753: error: 'req_config' undeclared (first use in this function) mod_python.c:1754: error: 'req' undeclared (first use in this function) mod_python.c:1754: error: syntax error before ')' token mod_python.c:1756: error: syntax error before ')' token mod_python.c:1758: error: syntax error before ')' token mod_python.c:1763: error: 'idata' undeclared (first use in this function) mod_python.c:1764: error: invalid operands to binary * mod_python.c: In function 'python_connection': mod_python.c:1790: error: 'PyObject' undeclared (first use in this function) mod_python.c:1790: error: 'resultobject' undeclared (first use in this function) mod_python.c:1791: error: 'idata' undeclared (first use in this function) mod_python.c:1792: error: 'conn_obj' undeclared (first use in this function) mod_python.c:1796: error: 'hle' undeclared (first use in this function) mod_python.c:1803: error: syntax error before ')' token mod_python.c:1824: error: syntax error before ')' token mod_python.c:1827: error: syntax error before ')' token mod_python.c: In function 'python_filter': mod_python.c:1876: error: 'PyObject' undeclared (first use in this function) mod_python.c:1876: error: 'resultobject' undeclared (first use in this function) mod_python.c:1877: error: 'idata' undeclared (first use in this function) mod_python.c:1878: error: invalid operands to binary * mod_python.c:1880: error: 'req_config' undeclared (first use in this function) mod_python.c:1882: error: 'req' undeclared (first use in this function) mod_python.c:1883: error: 'filter' undeclared (first use in this function) mod_python.c:1885: error: 'fh' undeclared (first use in this function) mod_python.c:1912: error: syntax error before ')' token mod_python.c:1949: error: syntax error before ')' token mod_python.c: In function 'handle_python': mod_python.c:2024: error: 'idata' undeclared (first use in this function) mod_python.c:2025: error: invalid operands to binary * mod_python.c:2026: error: 'PyObject' undeclared (first use in this function) mod_python.c:2026: error: 'resultobject' undeclared (first use in this function) mod_python.c:2027: error: 'filter' undeclared (first use in this function) mod_python.c:2034: error: 'tagobject' undeclared (first use in this function) mod_python.c:2035: error: 'codeobject' undeclared (first use in this function) mod_python.c:2037: error: 'req' undeclared (first use in this function) mod_python.c:2127: error: syntax error before ')' token mod_python.c: In function 'directive_PythonOptimize': mod_python.c:2497: error: 'Py_OptimizeFlag' undeclared (first use in this function) mod_python.c: In function 'directive_PythonInputFilter': mod_python.c:2616: error: 'fh' undeclared (first use in this function) mod_python.c:2640: error: syntax error before ')' token mod_python.c: In function 'directive_PythonOutputFilter': mod_python.c:2659: error: 'fh' undeclared (first use in this function) mod_python.c:2683: error: syntax error before ')' token mod_python.c: In function 'python_finalize': mod_python.c:2707: error: 'idata' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2730: error: syntax error before 'server_rec' mod_python.c: In function 'PythonChildInitHandler': mod_python.c:2738: error: 's' undeclared (first use in this function) mod_python.c:2740: error: 'PyObject' undeclared (first use in this function) mod_python.c:2740: error: 'resultobject' undeclared (first use in this function) mod_python.c:2749: error: invalid type argument of '->' mod_python.c:2784: error: 'p' undeclared (first use in this function) mod_python.c:2815: error: 'idata' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2855: error: syntax error before '*' token mod_python.c: In function 'PythonAccessHandler': mod_python.c:2856: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2858: error: syntax error before '*' token mod_python.c: In function 'PythonAuthenHandler': mod_python.c:2859: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2861: error: syntax error before '*' token mod_python.c: In function 'PythonAuthzHandler': mod_python.c:2862: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2864: error: syntax error before '*' token mod_python.c: In function 'PythonFixupHandler': mod_python.c:2865: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2867: error: syntax error before '*' token mod_python.c: In function 'PythonHandler': mod_python.c:2874: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2880: error: syntax error before '*' token mod_python.c: In function 'PythonHeaderParserHandler': mod_python.c:2884: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2891: error: syntax error before '*' token mod_python.c: In function 'PythonLogHandler': mod_python.c:2892: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2894: error: syntax error before '*' token mod_python.c: In function 'PythonPostReadRequestHandler': mod_python.c:2898: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2905: error: syntax error before '*' token mod_python.c: In function 'PythonTransHandler': mod_python.c:2906: error: 'req' undeclared (first use in this function) mod_python.c: At top level: mod_python.c:2908: error: syntax error before '*' token mod_python.c: In function 'PythonTypeHandler': mod_python.c:2909: error: 'req' undeclared (first use in this function) apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_python.so] Error 1 make[1]: Leaving directory `/home/djtstdir/mod_python-3.3.1/src' make: *** [do_dso] Error 2 And after that installations stops. I have Apache and python installed already in the server. Can anyone please help? Thanks & Regards, Swati -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070910/47d2cdfa/attachment-0001.html
|