plustek@linuxhacker.org
plustek@linuxhacker.org
Hi,
I have mkd 10.1 and plustek scanner OpticPro 96000P installed on my LPT
port.
I was following the instructions in INSALL file from plustek-sane-0.45-7
and I got this error:
ln -s ./stubs.c pie-s.c
gcc -c -g -O2 -W -Wall -DHAVE CONFIG H -I. -I. -I../include
-I../include -DPATH SANE CONFIG DIR=/usr/local/etc/sane.d
-DPATH SANE DATA DIR=/usr/local/share -DV MAJOR=1 -DV MINOR=0
-I/usr/include/gphoto2 -I/usr/include -DSTUBS -DBACKEND NAME=pie pie-s.c
-fPIC -DPIC -o .libs/pie-s.o
gcc
-shared .libs/pie.o .libs/pie-s.o .libs/sane strstatus.o ../sanei/.libs/sanei init
debug.o ../sanei/.libs/sanei config.o ../sanei/.libs/sanei config2.o ../sanei/.libs/sanei
constrain value.o ../sanei/.libs/sanei scsi.o ../sanei/.libs/sanei thread.o -L/usr/lib
-lnsl /usr/lib/libjpeg.so /usr/lib/libieee1284.so /usr/lib/libgphoto2.so -lm -ldl -Wl,-soname
-Wl,libsane.so.1 -o .libs/libsane-pie.so.1.0.14
(cd .libs && rm -f libsane-pie.so.1 && ln -s libsane-pie.so.1.0.14
libsane-pie.so.1)
(cd .libs && rm -f libsane-pie.so && ln -s libsane-pie.so.1.0.14
libsane-pie.so)
creating libsane-pie.la
(cd .libs && rm -f libsane-pie.la && ln -s ../libsane-pie.la
libsane-pie.la)
gcc -c -g -O2 -W -Wall -DHAVE CONFIG H -I. -I. -I../include
-I../include -DPATH SANE CONFIG DIR=/usr/local/etc/sane.d
-DPATH SANE DATA DIR=/usr/local/share -DV MAJOR=1 -DV MINOR=0
-I/usr/include/gphoto2 -I/usr/include -DBACKEND NAME=plustek
-DLIBDIR=/usr/local/lib/sane plustek.c -fPIC -DPIC -o .libs/plustek.o
In file included from plustek.c:148:
plustek.h:216: error: conflicting types for 'Option Value'
../include/sane/sanei backend.h:155: error: previous declaration of
'Option Value' was here
make[1]: *** [plustek.lo] Błąd 1
make[1]: Leaving directory `/home/piotr/sane-backends-1.0.14/backend'
make: *** [all-recursive] Błąd 1
[piotr@localhost sane-backends-1.0.14]$
I didn't want to remove sane rpm's because there were dependencies with
other rpm's so I just removed all the files and directoreis manually as
in this howto:
rm -rf /usr/lib/sane
rm -rf /usr/lib/libsane*
rm -rf /usr/include/sane
rm -rf /etc/sane.d
rm -rf /usr/etc/sane.d
rm -rf /usr/share/sane*
rm -rf /usr/local/lib/sane
rm -rf /usr/local/lib/libsane*
rm -rf /usr/local/include/sane
rm -rf /usr/local/etc/sane.d
rm -rf /usr/local/share/sane*
can You help?
thanks
Piotr
--
Kopalnia Dzwieku
Piotr Karol Sawicki email: pelle@plusnet.pl
strona domowa: www.piotr.art.pl
gg: 8976726
jabber ID: pelle@jabber.aster.pl
plustek@linuxhacker.org