sto provando ad installare un driver usb che colleghi il mio pc a un dispositivo che un mio prof. mi ha dato(con driver annessi).
riporto l'errore che viene visualizzato seguendo la procedura di installazione (ho già fatto andare un file configure e ora do un comando make)
Codice: Seleziona tutto
gabriele@Paolo:~/work/mcc/libhid-0.2.12.orig$ make
make all-recursive
make[1]: ingresso nella directory «/home/gabriele/work/mcc/libhid-0.2.12.orig»
Making all in hidparser
make[2]: ingresso nella directory «/home/gabriele/work/mcc/libhid-0.2.12.orig/hidparser»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory «/home/gabriele/work/mcc/libhid-0.2.12.orig/hidparser»
Making all in src
make[2]: ingresso nella directory «/home/gabriele/work/mcc/libhid-0.2.12.orig/src»
make[2]: uscita dalla directory «/home/gabriele/work/mcc/libhid-0.2.12.orig/src»
Making all in swig
make[2]: ingresso nella directory «/home/gabriele/work/mcc/libhid-0.2.12.orig/swig»
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.3/ -I../include -DHID_INTERNAL -DSWIG -I../include -I../hidparser -DNDEBUG -fPIC -fno-strict-aliasing -I/usr/local/include -O2 -Wall -W -MT hid_wrap.lo -MD -MP -MF ".deps/hid_wrap.Tpo" -c -o hid_wrap.lo hid_wrap.c; \
then mv -f ".deps/hid_wrap.Tpo" ".deps/hid_wrap.Plo"; else rm -f ".deps/hid_wrap.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.3/ -I../include -DHID_INTERNAL -DSWIG -I../include -I../hidparser -DNDEBUG -fPIC -fno-strict-aliasing -I/usr/local/include -O2 -Wall -W -MT hid_wrap.lo -MD -MP -MF .deps/hid_wrap.Tpo -c hid_wrap.c -fPIC -DPIC -o .libs/hid_wrap.o
hid_wrap.c:126:20: error: Python.h: No such file or directory
hid_wrap.c:757: error: expected ')' before '*' token
hid_wrap.c:781: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:807: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:861: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:882: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c: In function 'SWIG_Python_AddErrorMsg':
hid_wrap.c:929: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:929: error: (Each undeclared identifier is reported only once
hid_wrap.c:929: error: for each function it appears in.)
hid_wrap.c:929: error: 'type' undeclared (first use in this function)
hid_wrap.c:930: error: 'value' undeclared (first use in this function)
hid_wrap.c:931: error: 'traceback' undeclared (first use in this function)
hid_wrap.c:933: warning: implicit declaration of function 'PyErr_Occurred'
hid_wrap.c:933: warning: implicit declaration of function 'PyErr_Fetch'
hid_wrap.c:936: error: 'old_str' undeclared (first use in this function)
hid_wrap.c:936: warning: implicit declaration of function 'PyObject_Str'
hid_wrap.c:937: warning: implicit declaration of function 'PyErr_Clear'
hid_wrap.c:938: warning: implicit declaration of function 'Py_XINCREF'
hid_wrap.c:940: warning: implicit declaration of function 'PyErr_Format'
hid_wrap.c:940: warning: implicit declaration of function 'SWIG_Python_str_AsChar'
hid_wrap.c:942: warning: implicit declaration of function 'Py_DECREF'
hid_wrap.c:945: warning: implicit declaration of function 'PyErr_SetString'
hid_wrap.c:945: error: 'PyExc_RuntimeError' undeclared (first use in this function)
hid_wrap.c: At top level:
hid_wrap.c:1050: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1125: error: expected ')' before '*' token
hid_wrap.c:1133: error: expected ')' before '*' token
hid_wrap.c:1144: error: expected ')' before '*' token
hid_wrap.c:1151: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1197: error: expected ')' before '*' token
hid_wrap.c:1299: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1310: error: expected specifier-qualifier-list before 'PyObject'
hid_wrap.c: In function 'SWIG_Python_CheckImplicit':
hid_wrap.c:1322: error: 'SwigPyClientData' has no member named 'implicitconv'
hid_wrap.c: At top level:
hid_wrap.c:1325: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1334: error: expected ')' before '*' token
hid_wrap.c: In function 'SwigPyClientData_Del':
hid_wrap.c:1389: warning: implicit declaration of function 'Py_XDECREF'
hid_wrap.c:1389: error: 'SwigPyClientData' has no member named 'newraw'
hid_wrap.c:1390: error: 'SwigPyClientData' has no member named 'newargs'
hid_wrap.c:1391: error: 'SwigPyClientData' has no member named 'destroy'
hid_wrap.c: At top level:
hid_wrap.c:1397: error: expected specifier-qualifier-list before 'PyObject_HEAD'
hid_wrap.c:1404: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1410: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1432: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1438: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1444: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1472: error: expected declaration specifiers or '...' before 'FILE'
hid_wrap.c: In function 'SwigPyObject_print':
hid_wrap.c:1478: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:1478: error: 'repr' undeclared (first use in this function)
hid_wrap.c:1478: warning: implicit declaration of function 'SwigPyObject_repr'
hid_wrap.c:1482: warning: implicit declaration of function 'fputs'
hid_wrap.c:1482: error: 'fp' undeclared (first use in this function)
hid_wrap.c: At top level:
hid_wrap.c:1491: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c: In function 'SwigPyObject_compare':
hid_wrap.c:1502: error: 'SwigPyObject' has no member named 'ptr'
hid_wrap.c:1503: error: 'SwigPyObject' has no member named 'ptr'
hid_wrap.c: At top level:
hid_wrap.c:1508: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1525: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1527: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1534: error: expected ')' before '*' token
hid_wrap.c:1539: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1543: error: expected ')' before '*' token
hid_wrap.c:1577: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1594: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1610: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1622: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1634: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swigobject_methods'
hid_wrap.c:1694: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1701: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1834: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1852: error: expected specifier-qualifier-list before 'PyObject_HEAD'
hid_wrap.c:1859: error: expected declaration specifiers or '...' before 'FILE'
hid_wrap.c: In function 'SwigPyPacked_print':
hid_wrap.c:1862: error: 'fp' undeclared (first use in this function)
hid_wrap.c:1863: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1863: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c:1867: error: 'SwigPyPacked' has no member named 'ty'
hid_wrap.c: At top level:
hid_wrap.c:1872: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1883: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c: In function 'SwigPyPacked_compare':
hid_wrap.c:1897: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c:1898: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: warning: left-hand operand of comma expression has no effect
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: warning: left-hand operand of comma expression has no effect
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: warning: left-hand operand of comma expression has no effect
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: warning: left-hand operand of comma expression has no effect
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'pack'
hid_wrap.c:1900: error: 'SwigPyPacked' has no member named 'size'
hid_wrap.c: At top level:
hid_wrap.c:1903: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1905: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:1912: error: expected ')' before '*' token
hid_wrap.c:1918: error: expected ')' before '*' token
hid_wrap.c:1927: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2009: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2029: error: expected ')' before '*' token
hid_wrap.c:2045: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2051: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2066: error: expected ')' before '*' token
hid_wrap.c:2117: error: expected ')' before '*' token
hid_wrap.c:2132: error: expected ')' before '*' token
hid_wrap.c:2223: error: expected ')' before '*' token
hid_wrap.c:2255: error: expected ')' before '*' token
hid_wrap.c:2277: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2347: error: expected ')' before '*' token
hid_wrap.c:2368: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2386: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2407: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c: In function 'SWIG_Python_GetModule':
hid_wrap.c:2428: warning: implicit declaration of function 'PyCObject_Import'
hid_wrap.c:2429: warning: assignment makes pointer from integer without a cast
hid_wrap.c: At top level:
hid_wrap.c:2443: error: expected ')' before '*' token
hid_wrap.c: In function 'SWIG_Python_DestroyModule':
hid_wrap.c:2484: warning: implicit declaration of function 'SWIG_This'
hid_wrap.c: In function 'SWIG_Python_SetModule':
hid_wrap.c:2489: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swig_empty_runtime_method_table'
hid_wrap.c:2489: error: 'swig_empty_runtime_method_table' undeclared (first use in this function)
hid_wrap.c:2489: error: expected expression before ']' token
hid_wrap.c:2495: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:2495: error: 'module' undeclared (first use in this function)
hid_wrap.c:2495: warning: implicit declaration of function 'Py_InitModule'
hid_wrap.c:2498: error: 'pointer' undeclared (first use in this function)
hid_wrap.c:2498: warning: implicit declaration of function 'PyCObject_FromVoidPtr'
hid_wrap.c:2500: warning: implicit declaration of function 'PyModule_AddObject'
hid_wrap.c: At top level:
hid_wrap.c:2507: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c: In function 'SWIG_Python_TypeQuery':
hid_wrap.c:2516: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:2516: error: 'cache' undeclared (first use in this function)
hid_wrap.c:2516: warning: implicit declaration of function 'SWIG_Python_TypeCache'
hid_wrap.c:2517: error: 'key' undeclared (first use in this function)
hid_wrap.c:2517: warning: implicit declaration of function 'SWIG_Python_str_FromChar'
hid_wrap.c:2518: error: 'obj' undeclared (first use in this function)
hid_wrap.c:2518: warning: implicit declaration of function 'PyDict_GetItem'
hid_wrap.c:2521: warning: implicit declaration of function 'PyCObject_AsVoidPtr'
hid_wrap.c:2527: warning: implicit declaration of function 'PyDict_SetItem'
hid_wrap.c: In function 'SWIG_Python_AddErrMesg':
hid_wrap.c:2546: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:2546: error: 'type' undeclared (first use in this function)
hid_wrap.c:2547: error: 'value' undeclared (first use in this function)
hid_wrap.c:2548: error: 'traceback' undeclared (first use in this function)
hid_wrap.c:2552: error: 'old_str' undeclared (first use in this function)
hid_wrap.c: In function 'SWIG_Python_ArgFail':
hid_wrap.c:2575: warning: implicit declaration of function 'snprintf'
hid_wrap.c:2575: warning: incompatible implicit declaration of built-in function 'snprintf'
hid_wrap.c: At top level:
hid_wrap.c:2583: error: expected ')' before '*' token
hid_wrap.c:2591: error: expected declaration specifiers or '...' before 'PyObject'
hid_wrap.c: In function 'SWIG_Python_TypeError':
hid_wrap.c:2605: error: 'obj' undeclared (first use in this function)
hid_wrap.c:2607: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:2607: error: 'str' undeclared (first use in this function)
hid_wrap.c:2610: error: 'PyExc_TypeError' undeclared (first use in this function)
hid_wrap.c: At top level:
hid_wrap.c:2630: error: expected ')' before '*' token
hid_wrap.c:2690:4: error: #error "This python version requires swig to be run with the '-classic' option"
hid_wrap.c:2721: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:2739: error: expected ')' before '*' token
hid_wrap.c: In function 'SWIG_CanCastAsInteger':
hid_wrap.c:2795: error: 'errno' undeclared (first use in this function)
hid_wrap.c:2795: error: 'EDOM' undeclared (first use in this function)
hid_wrap.c:2795: error: 'ERANGE' undeclared (first use in this function)
hid_wrap.c: At top level:
hid_wrap.c:2819: error: expected ')' before '*' token
hid_wrap.c:2858: error: expected ')' before '*' token
hid_wrap.c:2887: error: expected ')' before '*' token
hid_wrap.c:2963: error: expected ')' before '*' token
hid_wrap.c:2986: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3008: error: expected ')' before '*' token
hid_wrap.c:3052: error: expected ')' before '*' token
hid_wrap.c:3067: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3075: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3083: error: expected ')' before '*' token
hid_wrap.c:3098: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3110: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3162: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3214: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3244: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3266: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3297: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3325: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3355: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3377: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3407: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3429: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3442: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3463: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3470: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3500: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3522: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3552: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3574: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3603: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3625: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3653: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3675: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3705: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3727: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3740: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3761: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3768: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3789: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3810: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3831: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3844: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3865: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3886: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3899: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3912: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3925: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:3965: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4014: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4036: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4058: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4119: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4180: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4211: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SwigMethods'
hid_wrap.c:4630: error: expected specifier-qualifier-list before 'PyObject'
hid_wrap.c:4636: error: expected specifier-qualifier-list before 'PyObject_HEAD'
hid_wrap.c:4640: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4649: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c: In function 'swig_varlink_print':
hid_wrap.c:4690: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:4690: error: 'str' undeclared (first use in this function)
hid_wrap.c:4690: warning: implicit declaration of function 'swig_varlink_str'
hid_wrap.c: In function 'swig_varlink_dealloc':
hid_wrap.c:4700: error: 'swig_varlinkobject' has no member named 'vars'
hid_wrap.c:4702: error: 'swig_globalvar' has no member named 'next'
hid_wrap.c: At top level:
hid_wrap.c:4709: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4727: error: expected declaration specifiers or '...' before 'PyObject'
hid_wrap.c: In function 'swig_varlink_setattr':
hid_wrap.c:4729: error: 'swig_varlinkobject' has no member named 'vars'
hid_wrap.c:4732: error: 'swig_globalvar' has no member named 'set_attr'
hid_wrap.c:4732: error: 'p' undeclared (first use in this function)
hid_wrap.c:4735: error: 'swig_globalvar' has no member named 'next'
hid_wrap.c:4738: error: 'PyExc_NameError' undeclared (first use in this function)
hid_wrap.c: At top level:
hid_wrap.c:4743: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4803: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4813: error: expected ')' before '*' token
hid_wrap.c:4829: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
hid_wrap.c:4842: error: expected ')' before '*' token
hid_wrap.c:4869: error: expected ')' before '*' token
hid_wrap.c: In function 'init_hid':
hid_wrap.c:4929: error: 'PyObject' undeclared (first use in this function)
hid_wrap.c:4929: error: 'm' undeclared (first use in this function)
hid_wrap.c:4929: error: 'd' undeclared (first use in this function)
hid_wrap.c:4929: warning: left-hand operand of comma expression has no effect
hid_wrap.c:4945: warning: implicit declaration of function 'SWIG_Python_FixMethods'
hid_wrap.c:4945: error: 'SwigMethods' undeclared (first use in this function)
hid_wrap.c:4952: warning: implicit declaration of function 'PyModule_GetDict'
hid_wrap.c:4955: warning: implicit declaration of function 'SWIG_Python_InstallConstants'
hid_wrap.c:4958: warning: implicit declaration of function 'SWIG_Python_SetConstant'
hid_wrap.c:4958: warning: implicit declaration of function 'SWIG_From_int'
make[2]: *** [hid_wrap.lo] Errore 1
make[2]: uscita dalla directory «/home/gabriele/work/mcc/libhid-0.2.12.orig/swig»
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory «/home/gabriele/work/mcc/libhid-0.2.12.orig»
make: *** [all] Errore 2
aggiungo che SWIG, il programma che c'entra con l'errore visualizzato, non era necessario installarlo ma mentre facevo girare il file configure erano apparsi due WARNING dicendomi che non avevo installati ne SWIG ne DOXYGEN che ho installato successivamente.
sapete darmi una mano?
tra l'alltro facendo
Codice: Seleziona tutto
gabriele@Paolo:~$ locate Python.h
/usr/include/python2.6/Python.h
