Sto compilando iscan-1.14.0 per usare lo scanner Epson Perfection 3170 su Ubuntu 5.04 amd64.
Al comando
# make
mi risulta questa serie di errori che non so interpretare:
root@asterix:/home/checco/Epson kowa/iscan-1.14.0 # make
making all in libltdl
make[1]: Entering directory `/home/checco/Epson kowa/iscan-1.14.0/libltdl'
make all-am
make[2]: Entering directory `/home/checco/Epson kowa/iscan-1.14.0/libltdl'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c - o ltdl.lo ltdl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl
rm -fr .libs/libltdlc.a .libs/libltdlc.la
ar cru .libs/libltdlc.a .libs/ltdl.o
ranlib .libs/libltdlc.a
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[2]: Leaving directory `/home/checco/Epson kowa/iscan-1.14.0/libltdl'
make[1]: Leaving directory `/home/checco/Epson kowa/iscan-1.14.0/libltdl'
making all in include
make[1]: Entering directory `/home/checco/Epson kowa/iscan-1.14.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/checco/Epson kowa/iscan-1.14.0/include'
making all in lib
make[1]: Entering directory `/home/checco/Epson kowa/iscan-1.14.0/lib'
g++ -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -DPATH_SANE_CONFIG _DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 imgstream.cc
In file included from imgstream.cc:33:
imgstream.hh:42:18: ltdl.h: No such file or directory
In file included from imgstream.cc:33:
imgstream.hh:111: error: ISO C++ forbids declaration of `lt_dlhandle' with no
type
imgstream.hh:111: error: parse error before `;' token
imgstream.hh:112: error: ISO C++ forbids declaration of `lt_ptr' with no type
imgstream.hh:112: error: parse error before `;' token
imgstream.hh:114: error: ISO C++ forbids declaration of `dl_handle' with no
type
imgstream.hh:114: error: parse error before `(' token
imgstream.hh:116: error: ISO C++ forbids declaration of `dl_ptr' with no type
imgstream.hh:116: error: parse error before `(' token
imgstream.hh:117: error: `dl_handle' was not declared in this scope
imgstream.hh:117: error: parse error before `)' token
imgstream.hh:120: error: ISO C++ forbids declaration of `dl_handle' with no
type
imgstream.hh:120: error: declaration of `int iscan::imgstream::dl_handle'
imgstream.hh:114: error: conflicts with previous declaration `int
iscan::imgstream::dl_handle'
imgstream.hh:120: error: parse error before `(' token
imgstream.cc:158: error: syntax error before `::' token
imgstream.cc:164: error: parse error before `=' token
imgstream.cc:167: error: ISO C++ forbids declaration of `lib' with no type
imgstream.cc:167: error: `int iscan::imgstream::lib' is not a static member of
`class iscan::imgstream'
imgstream.cc:167: error: `libname' was not declared in this scope
imgstream.cc:167: error: `find_dlopen' was not declared in this scope
imgstream.cc:168: error: parse error before `if'
imgstream.cc:177: error: syntax error before `::' token
imgstream.cc:183: error: `dl_handle' was not declared in this scope
imgstream.cc:183: error: parse error before `)' token
imgstream.cc: In static member function `static int
iscan::imgstream::dlclose(...)':
imgstream.cc:185: error: `lib' undeclared (first use this function)
imgstream.cc:185: error: (Each undeclared identifier is reported only once for
each function it appears in.)
imgstream.cc:185: error: `lt_dlclose' undeclared (first use this function)
imgstream.cc: At global scope:
imgstream.cc:213: error: syntax error before `::' token
imgstream.cc:217: error: parse error before `=' token
imgstream.cc:221: error: ISO C++ forbids declaration of `name' with no type
imgstream.cc:221: error: `int iscan::imgstream::name' is not a static member of
`class iscan::imgstream'
imgstream.cc:221: error: `name' was not declared in this scope
imgstream.cc:221: error: `libname' was not declared in this scope
imgstream.cc:222: error: ISO C++ forbids declaration of `name' with no type
imgstream.cc:222: error: `int iscan::imgstream::name' is not a static member of
`class iscan::imgstream'
imgstream.cc:222: error: `name' was not declared in this scope
imgstream.cc:224: error: ISO C++ forbids declaration of `_libname' with no type
imgstream.cc:224: error: conflicting types for `int iscan::imgstream::_libname'
imgstream.hh:121: error: previous declaration as `const
char*iscan::imgstream::_libname'
imgstream.cc:224: error: `name' was not declared in this scope
imgstream.cc:226: error: parse error before `}' token
imgstream.cc:231: error: `char*iscan::imgstream:athz' is not a static member
of `class iscan::imgstream'
imgstream.cc:232: error: `size_t iscan::imgstream::length' is not a static
member of `class iscan::imgstream'
imgstream.cc:233: error: `bool iscan::imgstream::is_pathz_ok' is not a static
member of `class iscan::imgstream'
imgstream.cc:234: error: parse error before `{' token
imgstream.cc:238: error: `const char*iscan::imgstream:ath' is not a static
member of `class iscan::imgstream'
imgstream.cc:240: error: parse error before `if'
imgstream.cc:263: error: `int iscan::imgstream::count' is not a static member
of `class iscan::imgstream'
imgstream.cc:263: error: `dir_name' was not declared in this scope
imgstream.cc:263: error: `match' was not declared in this scope
imgstream.cc:265: error: parse error before `for'
imgstream.cc:272: error: `abs_file_name' was not declared in this scope
imgstream.cc:272: error: `dir_name' was not declared in this scope
imgstream.cc:272: error: ISO C++ forbids declaration of `strcpy' with no type
imgstream.cc:272: error: `int iscan::imgstream::strcpy' is not a static member
of `class iscan::imgstream'
imgstream.cc:272: error: initializer list being treated as compound expression
imgstream.cc:273: error: `abs_file_name' was not declared in this scope
imgstream.cc:273: error: ISO C++ forbids declaration of `strcat' with no type
imgstream.cc:273: error: `int iscan::imgstream::strcat' is not a static member
of `class iscan::imgstream'
imgstream.cc:273: error: initializer list being treated as compound expression
imgstream.cc:274: error: `abs_file_name' was not declared in this scope
imgstream.cc:274: error: `file_name' was not declared in this scope
imgstream.cc:274: error: ISO C++ forbids declaration of `strcat' with no type
imgstream.cc:274: error: `int iscan::imgstream::strcat' is not a static member
of `class iscan::imgstream'
imgstream.cc:274: error: initializer list being treated as compound expression
imgstream.cc:276: error: ISO C++ forbids declaration of `result' with no type
imgstream.cc:276: error: `int iscan::imgstream::result' is not a static member
of `class iscan::imgstream'
imgstream.cc:276: error: `abs_file_name' was not declared in this scope
imgstream.cc:276: error: `lt_dlopen' was not declared in this scope
imgstream.cc:277: error: parse error before `delete'
imgstream.cc:283: error: `match' was not declared in this scope
imgstream.cc:283: error: ISO C++ forbids declaration of `free' with no type
imgstream.cc:283: error: `int iscan::imgstream::free' is not a static member of
`class iscan::imgstream'
imgstream.cc:284: error: parse error before `}' token
imgstream.cc:288: error: `pathz' was not declared in this scope
imgstream.cc:288: error: ISO C++ forbids declaration of `free' with no type
imgstream.cc:288: error: `int iscan::imgstream::free' is not a static member of
`class iscan::imgstream'
imgstream.cc:290: error: parse error before `return'
imgstream.cc:299: error: duplicate initialization of iscan::imgstream::_libname
imgstream.cc:299: error: conflicting types for `const
char*iscan::imgstream::_libname'
imgstream.cc:224: error: previous declaration as `int
iscan::imgstream::_libname'
imgstream.cc:307: confused by earlier errors, bailing out
make[1]: *** [imgstream.o] Error 1
make[1]: Leaving directory `/home/checco/Epson kowa/iscan-1.14.0/lib'
make: *** [all-recursive] Error 1