plustek: make error: plustek.h:216: error: conflicting types for 'Option_Value'


Previous by date: 24 Jan 2005 13:55:50 +0000 Re: problems with epson perfection 1260 and 1.0.15, Dale E. Martin
Next by date: 24 Jan 2005 13:55:50 +0000 Re: make error: plustek.h:216: error: conflicting types for 'Option_Value', Gerhard Jaeger
Previous in thread:
Next in thread: 24 Jan 2005 13:55:50 +0000 Re: make error: plustek.h:216: error: conflicting types for 'Option_Value', Gerhard Jaeger

Subject: make error: plustek.h:216: error: conflicting types for 'Option_Value'
From: Piotr Sawicki ####@####.####
Date: 24 Jan 2005 13:55:50 +0000
Message-Id: <1106574708.2975.27.camel@localhost>

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: ####@####.####
strona domowa: www.piotr.art.pl
gg: 8976726
jabber ID: ####@####.####




Previous by date: 24 Jan 2005 13:55:50 +0000 Re: problems with epson perfection 1260 and 1.0.15, Dale E. Martin
Next by date: 24 Jan 2005 13:55:50 +0000 Re: make error: plustek.h:216: error: conflicting types for 'Option_Value', Gerhard Jaeger
Previous in thread:
Next in thread: 24 Jan 2005 13:55:50 +0000 Re: make error: plustek.h:216: error: conflicting types for 'Option_Value', Gerhard Jaeger


Powered by ezmlm-browse 0.20.