pwc (de nuevo)
Hola A todos!
Despues de probar y probar y reprobar, he conseguido "casi" compilar
el modulo pwc de la pagina www.saillard.org
tengo este kernel:
rea:~# uname -r
2.6.8-3-686
make include/linux/version.h
cp -HR include/asm /usr/kernel-sources.../include
cp -R include/asm-generic /usr/kernel-sources.../include
cp -R include/linux /usr/kernel-sources.../include
despues de hacer todos esto (fruto de rebuscar por internet)
me meto en el directorio de pwc hago el make con el resultado siguiente:
rea:/usr/src/pwc-10.0.9# make
make -C /lib/modules/2.6.8-3-686/build SUBDIRS=/usr/src/pwc-10.0.9 modules
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
CC [M] /usr/src/pwc-10.0.9/pwc-if.o
In file included from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/mm.h:4,
from /usr/src/pwc-10.0.9/pwc-if.c:60:
include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
/usr/src/pwc-10.0.9/pwc-if.c: In function `pwc_isoc_init':
/usr/src/pwc-10.0.9/pwc-if.c:823: warning: unused variable `intf'
/usr/src/pwc-10.0.9/pwc-if.c: In function `pwc_isoc_cleanup':
/usr/src/pwc-10.0.9/pwc-if.c:944: warning: implicit declaration of
function `usb _kill_urb'
/usr/src/pwc-10.0.9/pwc-if.c: At top level:
/usr/src/pwc-10.0.9/pwc-if.c:1821: error: syntax error before string constant
/usr/src/pwc-10.0.9/pwc-if.c:1821: warning: type defaults to `int' in
declaratio n of `MODULE_VERSION'
/usr/src/pwc-10.0.9/pwc-if.c:1821: warning: function declaration isn't
a prototy pe
/usr/src/pwc-10.0.9/pwc-if.c:1821: warning: data definition has no
type or stora ge class
make[2]: *** [/usr/src/pwc-10.0.9/pwc-if.o] Error 1
make[1]: *** [_module_/usr/src/pwc-10.0.9] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [default] Error 2
si alguien sabe o entiende algo me podria explicar que pasa?
Un saludo y muchas gracias.
Reply to: