Scanner Microtek

Iniciado por teles, 13 de Janeiro de 2007, 12:05

tópico anterior - próximo tópico

teles

Olá pessoal.
Meu scanner é da marca Microtek, modelo SlimScan C3 e para funcionar no linux necessita dos módulos 'ppscsi', 'onscsi' e 'sg'.
Para isso, com o Adept instalei os pacotes 'kernel-patch-ppscsi-2.6' e 'ppscsi-source' e para fazer a construção do 'ppscsi-source' usei o comando 'sudo m-a a-i ppscsi', o qual apresentou a seguinte mensagem: 'A construção do pacote ppscsi-source falhou!' e ao examinar o log da construção encontrei:

dh_clean
rm -f *.o *.ko
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/ppscsi'
dh_clean
rm -f *.o *.ko
/usr/bin/gcc-4.1
for templ in /usr/src/modules/ppscsi/debian/ppscsi-drivers-_KVERS_.postinst /usr
/src/modules/ppscsi/debian/ppscsi-drivers-_KVERS_.postinst.backup /usr/src/modul
es/ppscsi/debian/ppscsi-drivers-_KVERS_.postinst.modules.in; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17-10-386/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modu
les.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.17-10-386/g ;s/#KVERS#/2.6.17-10-386/g ; s/_KVERS_/2
.6.17-10-386/g ; s/##KDREV##/2.6.17.1-10.34/g ; s/#KDREV#/2.6.17.1-10.34/g ; s/_
KDREV_/2.6.17.1-10.34/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -pppscsi-drivers-2.6.17-10-386 lib/modules/2.6.17-10-386/ppscsi
make KERNEL_DIR=/lib/modules/2.6.17-10-386/build
make[2]: Entering directory `/usr/src/modules/ppscsi'
make modules -C /lib/modules/2.6.17-10-386/build SUBDIRS=/usr/src/modules/ppscsi
make[3]: Entering directory `/usr/src/linux-headers-2.6.17-10-386'
  CC [M]  /usr/src/modules/ppscsi/ppscsi.o
  CC [M]  /usr/src/modules/ppscsi/onscsi.o
In file included from /usr/src/modules/ppscsi/onscsi.c:13:
/usr/src/modules/ppscsi/ppscsi.h:325: error: expected ')' before string constant
/usr/src/modules/ppscsi/ppscsi.h:326: error: expected ')' before string constant
/usr/src/modules/ppscsi/ppscsi.h:327: error: expected ')' before string constant
/usr/src/modules/ppscsi/ppscsi.h:328: error: expected ')' before string constant
/usr/src/modules/ppscsi/ppscsi.h:329: error: expected ')' before string constant
make[4]: *** [/usr/src/modules/ppscsi/onscsi.o] Error 1
make[3]: *** [_module_/usr/src/modules/ppscsi] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.17-10-386'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/ppscsi'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/ppscsi'
make: *** [kdist_build] Error 2

Alguém sabe como fazer para corrigir esse problema?

teles