Ceci dit, avant cela, tâchons de résoudre les erreurs de compilation ^^
Du vieux code qui ne passe pas de toute évidence avec gcc 4.4. Je m'y penche...

(le fichier .spec est dans l'archive des sources).
Pour en revenir à ton erreur de compilation, tu vas éditer le fichier lib/basic-imgstream.cc et tu vas remplacer :
- à la ligne 120 de ce fichier la ligne « static int reversionsort (const void*, const void*); » par « static int reversionsort (const dirent**, const dirent**); » ;
- à la ligne 273 la ligne « reversionsort (const void *a, const void *b) » par « reversionsort (const dirent **a, const dirent **b) ».
Tu relances « make », jusqu'à la prochaine erreur que tu posteras, si erreur il y a ^^.
Voila
# make
make  all-recursive
make[1]: entrant dans le répertoire « /home/pat/iscan-2.20.1 »
Making all in lib
make[2]: entrant dans le répertoire « /home/pat/iscan-2.20.1/lib »
Making all in pdf
make[3]: entrant dans le répertoire « /home/pat/iscan-2.20.1/lib/pdf »
make[3]: Rien à faire pour « all ».
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/lib/pdf »
make[3]: entrant dans le répertoire « /home/pat/iscan-2.20.1/lib »
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-basic-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-basic-imgstream.Tpo -c -o libimage_stream_la-basic-imgstream.lo `test -f 'basic-imgstream.cc' || echo './'`basic-imgstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-basic-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-basic-imgstream.Tpo -c basic-imgstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-basic-imgstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-basic-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-basic-imgstream.Tpo -c basic-imgstream.cc -o libimage_stream_la-basic-imgstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-basic-imgstream.Tpo .deps/libimage_stream_la-basic-imgstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-fax-encoder.lo -MD -MP -MF .deps/libimage_stream_la-fax-encoder.Tpo -c -o libimage_stream_la-fax-encoder.lo `test -f 'fax-encoder.cc' || echo './'`fax-encoder.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-fax-encoder.lo -MD -MP -MF .deps/libimage_stream_la-fax-encoder.Tpo -c fax-encoder.cc  -fPIC -DPIC -o .libs/libimage_stream_la-fax-encoder.o
fax-encoder.cc: In member function 'std::string iscan::fax_encoder::operator()(const char*, size_t)':
fax-encoder.cc:288: error: 'uint8_t' was not declared in this scope
fax-encoder.cc:288: error: expected ';' before 'bit'
fax-encoder.cc:294: error: 'bit' was not declared in this scope
fax-encoder.cc:305: error: 'bit' was not declared in this scope
make[3]: *** [libimage_stream_la-fax-encoder.lo] Erreur 1
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/lib »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/pat/iscan-2.20.1/lib »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/pat/iscan-2.20.1 »
make: *** [all] Erreur 2
Dans le fichier lib/fax-encoder.cc, à la ligne 36, tu vas rajouter la ligne « #include <stdint.h> ».
c'est bien ca?
#include "fax-encoder.hh"

#include <vector>
#include <stdint.h>
# make
make  all-recursive
make[1]: entrant dans le répertoire « /home/pat/iscan-2.20.1 »
Making all in lib
make[2]: entrant dans le répertoire « /home/pat/iscan-2.20.1/lib »
Making all in pdf
make[3]: entrant dans le répertoire « /home/pat/iscan-2.20.1/lib/pdf »
make[3]: Rien à faire pour « all ».
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/lib/pdf »
make[3]: entrant dans le répertoire « /home/pat/iscan-2.20.1/lib »
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-fax-encoder.lo -MD -MP -MF .deps/libimage_stream_la-fax-encoder.Tpo -c -o libimage_stream_la-fax-encoder.lo `test -f 'fax-encoder.cc' || echo './'`fax-encoder.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-fax-encoder.lo -MD -MP -MF .deps/libimage_stream_la-fax-encoder.Tpo -c fax-encoder.cc  -fPIC -DPIC -o .libs/libimage_stream_la-fax-encoder.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-fax-encoder.lo -MD -MP -MF .deps/libimage_stream_la-fax-encoder.Tpo -c fax-encoder.cc -o libimage_stream_la-fax-encoder.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-fax-encoder.Tpo .deps/libimage_stream_la-fax-encoder.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-file-opener.lo -MD -MP -MF .deps/libimage_stream_la-file-opener.Tpo -c -o libimage_stream_la-file-opener.lo `test -f 'file-opener.cc' || echo './'`file-opener.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-file-opener.lo -MD -MP -MF .deps/libimage_stream_la-file-opener.Tpo -c file-opener.cc  -fPIC -DPIC -o .libs/libimage_stream_la-file-opener.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-file-opener.lo -MD -MP -MF .deps/libimage_stream_la-file-opener.Tpo -c file-opener.cc -o libimage_stream_la-file-opener.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-file-opener.Tpo .deps/libimage_stream_la-file-opener.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-imgstream.Tpo -c -o libimage_stream_la-imgstream.lo `test -f 'imgstream.cc' || echo './'`imgstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-imgstream.Tpo -c imgstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-imgstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-imgstream.lo -MD -MP -MF .deps/libimage_stream_la-imgstream.Tpo -c imgstream.cc -o libimage_stream_la-imgstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-imgstream.Tpo .deps/libimage_stream_la-imgstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-jpegstream.lo -MD -MP -MF .deps/libimage_stream_la-jpegstream.Tpo -c -o libimage_stream_la-jpegstream.lo `test -f 'jpegstream.cc' || echo './'`jpegstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-jpegstream.lo -MD -MP -MF .deps/libimage_stream_la-jpegstream.Tpo -c jpegstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-jpegstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-jpegstream.lo -MD -MP -MF .deps/libimage_stream_la-jpegstream.Tpo -c jpegstream.cc -o libimage_stream_la-jpegstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-jpegstream.Tpo .deps/libimage_stream_la-jpegstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-pdfstream.lo -MD -MP -MF .deps/libimage_stream_la-pdfstream.Tpo -c -o libimage_stream_la-pdfstream.lo `test -f 'pdfstream.cc' || echo './'`pdfstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-pdfstream.lo -MD -MP -MF .deps/libimage_stream_la-pdfstream.Tpo -c pdfstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-pdfstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-pdfstream.lo -MD -MP -MF .deps/libimage_stream_la-pdfstream.Tpo -c pdfstream.cc -o libimage_stream_la-pdfstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-pdfstream.Tpo .deps/libimage_stream_la-pdfstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-pngstream.lo -MD -MP -MF .deps/libimage_stream_la-pngstream.Tpo -c -o libimage_stream_la-pngstream.lo `test -f 'pngstream.cc' || echo './'`pngstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-pngstream.lo -MD -MP -MF .deps/libimage_stream_la-pngstream.Tpo -c pngstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-pngstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-pngstream.lo -MD -MP -MF .deps/libimage_stream_la-pngstream.Tpo -c pngstream.cc -o libimage_stream_la-pngstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-pngstream.Tpo .deps/libimage_stream_la-pngstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-pnmstream.lo -MD -MP -MF .deps/libimage_stream_la-pnmstream.Tpo -c -o libimage_stream_la-pnmstream.lo `test -f 'pnmstream.cc' || echo './'`pnmstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-pnmstream.lo -MD -MP -MF .deps/libimage_stream_la-pnmstream.Tpo -c pnmstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-pnmstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-pnmstream.lo -MD -MP -MF .deps/libimage_stream_la-pnmstream.Tpo -c pnmstream.cc -o libimage_stream_la-pnmstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-pnmstream.Tpo .deps/libimage_stream_la-pnmstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include   -g -O2 -MT libimage_stream_la-tiffstream.lo -MD -MP -MF .deps/libimage_stream_la-tiffstream.Tpo -c -o libimage_stream_la-tiffstream.lo `test -f 'tiffstream.cc' || echo './'`tiffstream.cc
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-tiffstream.lo -MD -MP -MF .deps/libimage_stream_la-tiffstream.Tpo -c tiffstream.cc  -fPIC -DPIC -o .libs/libimage_stream_la-tiffstream.o
 g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT libimage_stream_la-tiffstream.lo -MD -MP -MF .deps/libimage_stream_la-tiffstream.Tpo -c tiffstream.cc -o libimage_stream_la-tiffstream.o >/dev/null 2>&1
mv -f .deps/libimage_stream_la-tiffstream.Tpo .deps/libimage_stream_la-tiffstream.Plo
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -static  -o libimage-stream.la  libimage_stream_la-basic-imgstream.lo libimage_stream_la-fax-encoder.lo libimage_stream_la-file-opener.lo libimage_stream_la-imgstream.lo libimage_stream_la-jpegstream.lo libimage_stream_la-pdfstream.lo libimage_stream_la-pngstream.lo libimage_stream_la-pnmstream.lo libimage_stream_la-tiffstream.lo -lltdl ../lib/pdf/libpdf.la 
rm -fr .libs/libimage-stream.lax
mkdir .libs/libimage-stream.lax
rm -fr .libs/libimage-stream.lax/libpdf.a
mkdir .libs/libimage-stream.lax/libpdf.a
(cd .libs/libimage-stream.lax/libpdf.a && ar x /home/pat/iscan-2.20.1/lib/../lib/pdf/.libs/libpdf.a)
ar cru .libs/libimage-stream.a  libimage_stream_la-basic-imgstream.o libimage_stream_la-fax-encoder.o libimage_stream_la-file-opener.o libimage_stream_la-imgstream.o libimage_stream_la-jpegstream.o libimage_stream_la-pdfstream.o libimage_stream_la-pngstream.o libimage_stream_la-pnmstream.o libimage_stream_la-tiffstream.o  .libs/libimage-stream.lax/libpdf.a/array.o .libs/libimage-stream.lax/libpdf.a/primitive.o .libs/libimage-stream.lax/libpdf.a/writer.o .libs/libimage-stream.lax/libpdf.a/object.o .libs/libimage-stream.lax/libpdf.a/dictionary.o 
ranlib .libs/libimage-stream.a
rm -fr .libs/libimage-stream.lax
creating libimage-stream.la
(cd .libs && rm -f libimage-stream.la && ln -s ../libimage-stream.la libimage-stream.la)
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/lib »
make[2]: quittant le répertoire « /home/pat/iscan-2.20.1/lib »
Making all in backend
make[2]: entrant dans le répertoire « /home/pat/iscan-2.20.1/backend »
Making all in .
make[3]: entrant dans le répertoire « /home/pat/iscan-2.20.1/backend »
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DPIC -DPKGDATADIR=\"/usr/local/share/iscan\" -DPKGLIBDIR=\"/usr/local/lib/iscan\" -DPKGLOCALSTATEDIR=\"/usr/local/var/lib/iscan\" -DSYSCONFDIR=\"/usr/local/etc\" -I.. -DBACKEND_NAME=epkowa  -fPIC -g -O2 -MT libsane_epkowa_la-backend.lo -MD -MP -MF .deps/libsane_epkowa_la-backend.Tpo -c -o libsane_epkowa_la-backend.lo `test -f 'backend.c' || echo './'`backend.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -DPIC -DPKGDATADIR=\"/usr/local/share/iscan\" -DPKGLIBDIR=\"/usr/local/lib/iscan\" -DPKGLOCALSTATEDIR=\"/usr/local/var/lib/iscan\" -DSYSCONFDIR=\"/usr/local/etc\" -I.. -DBACKEND_NAME=epkowa -fPIC -g -O2 -MT libsane_epkowa_la-backend.lo -MD -MP -MF .deps/libsane_epkowa_la-backend.Tpo -c backend.c  -fPIC -DPIC -o .libs/libsane_epkowa_la-backend.o
In file included from backend.c:71:
backend.h:77:23: error: sane/sane.h: No such file or directory
In file included from backend.c:71:
backend.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_init'
backend.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_get_devices'
backend.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_open'
backend.h:124: error: expected ')' before 'handle'
backend.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
backend.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_control_option'
backend.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_get_parameters'
backend.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_start'
backend.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_read'
backend.h:143: error: expected ')' before 'handle'
backend.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_set_io_mode'
backend.h:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_get_select_fd'
backend.h:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_strstatus'
backend.h:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_init'
backend.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_get_devices'
backend.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_open'
backend.h:201: error: expected ')' before 'handle'
backend.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
backend.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_control_option'
backend.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_get_parameters'
backend.h:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_start'
backend.h:248: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_read'
backend.h:259: error: expected ')' before 'handle'
backend.h:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_set_io_mode'
backend.h:276: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_get_select_fd'
backend.h:285: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_strstatus'
backend.h:304: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_strstatus'
In file included from backend.c:80:
cfg-obj.h:131: error: expected declaration specifiers or '...' before 'SANE_Status'
In file included from backend.c:81:
net-obj.h:80: error: expected declaration specifiers or '...' before 'SANE_Status'
In file included from device.h:73,
                 from utils.h:74,
                 from backend.c:82:
channel.h:82: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:85: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:86: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:91: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:93: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:108: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:113: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:115: error: expected declaration specifiers or '...' before 'SANE_Status'
channel.h:117: error: expected declaration specifiers or '...' before 'SANE_Status'
In file included from device.h:74,
                 from utils.h:74,
                 from backend.c:82:
extension.h:83: error: expected specifier-qualifier-list before 'SANE_Byte'
extension.h:104: error: expected specifier-qualifier-list before 'SANE_Byte'
extension.h:125: error: expected specifier-qualifier-list before 'SANE_Byte'
extension.h:153: error: expected specifier-qualifier-list before 'SANE_Byte'
In file included from utils.h:74,
                 from backend.c:82:
device.h:94: error: expected specifier-qualifier-list before 'SANE_Range'
device.h:122: error: expected specifier-qualifier-list before 'SANE_Int'
device.h:146: error: expected specifier-qualifier-list before 'SANE_Byte'
device.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'control_option_unit'
device.h:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_request_extended_status'
device.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_load_paper'
device.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_eject_paper'
device.h:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_open'
device.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_log_scanning_parameter'
device.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_set_scanning_parameter'
device.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_set_scanning_resolution'
device.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_set_scanning_area'
device.h:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_set_option_unit'
device.h:241: error: expected declaration specifiers or '...' before 'SANE_Constraint_Type'
device.h:244: error: expected declaration specifiers or '...' before 'SANE_Constraint_Type'
In file included from backend.c:82:
utils.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'has_size_check_support'
utils.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'copy_resolution_info'
utils.h:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resolution_info_ESC_I_cond'
utils.h:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resolution_info_ESC_i_cond'
In file included from backend.c:85:
../include/sane/sanei_usb.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_get_vendor_product'
../include/sane/sanei_usb.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_find_devices'
../include/sane/sanei_usb.h:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_open'
../include/sane/sanei_usb.h:233: error: expected ')' before 'dn'
../include/sane/sanei_usb.h:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_read_bulk'
../include/sane/sanei_usb.h:269: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_write_bulk'
../include/sane/sanei_usb.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_control_msg'
../include/sane/sanei_usb.h:317: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanei_usb_read_int'
../include/sane/sanei_usb.h:337: error: expected declaration specifiers or '...' before 'SANE_Status'
backend.c:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'epkowa_open'
backend.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_init'
backend.c:277: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_get_devices'
backend.c:352: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sane_epkowa_open'
backend.c: In function 'be_sane_dev_dtor':
backend.c:431: error: 'SANE_Device' undeclared (first use in this function)
backend.c:431: error: (Each undeclared identifier is reported only once
backend.c:431: error: for each function it appears in.)
backend.c:431: error: 'sd' undeclared (first use in this function)
backend.c:431: error: expected expression before ')' token
backend.c:434: error: 'SANE_String' undeclared (first use in this function)
backend.c:434: error: expected ')' before 'sd'
backend.c:435: error: expected ')' before 'sd'
backend.c:436: error: expected ')' before 'sd'
backend.c:437: error: expected ')' before 'sd'
make[3]: *** [libsane_epkowa_la-backend.lo] Erreur 1
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/backend »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/pat/iscan-2.20.1/backend »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/pat/iscan-2.20.1 »
make: *** [all] Erreur 2
[root@localhost iscan-2.20.1]#
c'était bien ça 🙂.
Maintenant tu vas installer le paquetage sane-backends-devel et relancer « make ».
...rm -fr .libs/libsane-epkowa.lax
mkdir .libs/libsane-epkowa.lax
rm -fr .libs/libsane-epkowa.lax/libepkowa.a
mkdir .libs/libsane-epkowa.lax/libepkowa.a
(cd .libs/libsane-epkowa.lax/libepkowa.a && ar x /home/pat/iscan-2.20.1/backend/./.libs/libepkowa.a)
ar cru .libs/libsane-epkowa.a  libsane_epkowa_la-backend.o  .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-channel-scsi.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-list.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-sanei_scsi.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-channel-pio.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-sanei_constrain_value.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-marshal.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-sanei_pio.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-command.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-device.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-epkowa_scsi.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-net-obj.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-cfg-obj.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-channel-usb.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-channel.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-hw-data.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-timing.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-channel-net.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-message.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-sanei_config.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-utils.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-epkowa.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-epkowa_ip.o .libs/libsane-epkowa.lax/libepkowa.a/libepkowa_la-sanei_usb.o 
ranlib .libs/libsane-epkowa.a
rm -fr .libs/libsane-epkowa.lax
creating libsane-epkowa.la
(cd .libs && rm -f libsane-epkowa.la && ln -s ../libsane-epkowa.la libsane-epkowa.la)
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/backend »
Making all in tests
make[3]: entrant dans le répertoire « /home/pat/iscan-2.20.1/backend/tests »
make[3]: Rien à faire pour « all ».
make[3]: quittant le répertoire « /home/pat/iscan-2.20.1/backend/tests »
make[2]: quittant le répertoire « /home/pat/iscan-2.20.1/backend »
Making all in non-free
make[2]: entrant dans le répertoire « /home/pat/iscan-2.20.1/non-free »
rm -f libesmod.so
case x86_64 in \
      i?86)        arch=i386;; \
      x86_64)    arch=x86_64;; \
      *)    echo "unsupported architecture" 1>&2; \
        exit 1;; \
    esac; \
    ln -s ./libesmod-${arch}.c2.so libesmod.so
make[2]: quittant le répertoire « /home/pat/iscan-2.20.1/non-free »
Making all in frontend
make[2]: entrant dans le répertoire « /home/pat/iscan-2.20.1/frontend »
g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../non-free -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  -g -O2 -MT iscan-file-selector.o -MD -MP -MF .deps/iscan-file-selector.Tpo -c -o iscan-file-selector.o `test -f 'file-selector.cc' || echo './'`file-selector.cc
file-selector.cc: In member function 'bool file_selector::permission(const char*) const':
file-selector.cc:856: erreur: invalid conversion from 'const char*' to 'char*'
file-selector.cc: In member function 'int file_selector::check_overwrite(const char*) const':
file-selector.cc:991: erreur: invalid conversion from 'const char*' to 'char*'
make[2]: *** [iscan-file-selector.o] Erreur 1
make[2]: quittant le répertoire « /home/pat/iscan-2.20.1/frontend »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/pat/iscan-2.20.1 »
make: *** [all] Erreur 2
Pikachu_2014 parti??
arff! on y etait presque...:pint:
Dans le fichier frontend/file-selector.cc :
- à la ligne 856, remplace « char *slash = strrchr(file, '/'); » par « char *slash = strrchr( (char *) file, '/'); » ;
- à la ligne 991, remplace « char *slash = strrchr(regexp, '/' ); » par « char *slash = strrchr( (char *) regexp, '/' ); ».
Génial ca marche merci merci.
ensuite make install nickel

mes le scan n'est toujours pas reconnu :hammer:

jamais eu ce probleme jusqu'a la F10
Comment testes-tu ça ? As-tu essayé de lancer xsane ?
oui, mais xsane ne le trouve pas
et quand je tape iscan il me renvoi une petite fenetre disans "impossible d'envoyer une commande au scanner. verifié l'etat du scanner.

le scan marche tres bien je le sais. et bien branché
Peux-tu lancer l'une et l'autre des commandes en console, et poster leurs sorties respectives ?
rien dans le terminal,

ca sort des fenetres

iscan :
"impossible d'envoyer une commande au scanner. verifié l'etat du scanner."
xsane :
aucun peripherique disponible
incompréhensible.

est-ce qu'il a un moyen de voir si le driver installer est bien un 64 bits?
Pourquoi en serait-il autrement ? À moins de le forcer explicitement, ton application et les pilotes qu'on a compilés ont été compilés en 64 bits. Et ça saute aux yeux dans tes logs de compilation disséminées plus haut :-].
ouais mais là suis perdu, je pige pas, jamais eu de soucis avant la F11. faut dire que jusqu'a F10 j'etait en 32 bits...
le driver est pas bon ou mal fait je sais pas.