[sane-devel] problem compiling pt_drv under gentoo

Linubie fasteddie05 at gmx.de
Sun Mar 1 11:23:41 UTC 2009


I would like to make my Plustek Optik Pro 4830 run, but compiling with
gcc-4.2.1 pt_drv fails,
 
usr/share/doc/sane-backends-1.0.19-r1/plustek/build/plustek-pp_ptdrv.c: In
Funktion »ptdrv_init«:
/usr/share/doc/sane-backends-1.0.19-r1/plustek/build/plustek-pp_ptdrv.c:1648:
Fehler: Implizite Deklaration der Funktion »class_device_create«
/usr/share/doc/sane-backends-1.0.19-r1/plustek/build/plustek-pp_ptdrv.c: In
Funktion »ptdrv_exit«:
/usr/share/doc/sane-backends-1.0.19-r1/plustek/build/plustek-pp_ptdrv.c:1729:
Fehler: Implizite Deklaration der Funktion »class_device_destroy«
make[1]: ***
[/usr/share/doc/sane-backends-1.0.19-r1/plustek/build/plustek-pp_ptdrv.o]
Fehler 1
make: *** [_module_/usr/share/doc/sane-backends-1.0.19-r1/plustek/build]
Fehler 2
make: Leaving directory `/usr/src/linux-2.6.27-gentoo-r8'
There were some build errors..

Please help, thank you




More information about the sane-devel mailing list