[sane-devel] sane-backends from git 2012-08-16
Sergei LITVINENKO
sergei.litvinenko at gmail.com
Fri Aug 17 18:24:21 UTC 2012
Hello everybody,
I try to build rpm for F16 (spec from src.rpm package). In spec
sane-backend is configured as:
%configure \
--with-gphoto2=%{_prefix} \
--with-docdir=%{_docdir}/%{name}-%{version} \
--disable-locking --disable-rpath \
--enable-pthread
Try to use like the same
*./configure --with-gphoto2 --disable-locking --disable-rpath
--enable-pthread*
and have:
/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -W -Wall
-Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi
-Wl,-z,defs -o libkvs40xx.la libkvs40xx_la-kvs40xx.lo
libkvs40xx_la-kvs40xx_cmd.lo libkvs40xx_la-kvs40xx_opt.lo
/bin/sh ../libtool --silent --tag=CC --mode=link gcc -g -O2 -W -Wall
-Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi
-Wl,-z,defs -rpath '/usr/local/lib/sane' -version-number 1:0:23 -module
-o libsane-kvs40xx.la libsane_kvs40xx_la-kvs40xx-s.lo ../lib/liblib.la
libkvs40xx.la ../sanei/sanei_init_debug.lo
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo
sane_strstatus.lo ../sanei/sanei_usb.lo ../sanei/sanei_scsi.lo -lusb
-lpthread
./.libs/libkvs40xx.a(libkvs40xx_la-kvs40xx.o): In function
`sane_kvs40xx_start':
/home/sergeil/desk/src/BUILD/sane-backends-20120816/backend/kvs40xx.c:595:
undefined reference to `scan'
collect2: ld returned 1 exit status
make[2]: *** [libsane-kvs40xx.la] Ошибка 1
make[2]: Выход из каталога
`/home/sergeil/desk/src/BUILD/sane-backends-20120816/backend'
make[1]: *** [all] Ошибка 2
make[1]: Выход из каталога
`/home/sergeil/desk/src/BUILD/sane-backends-20120816/backend'
make: *** [all-recursive] Ошибка 1
Do you know where function scan() is defined?
/home/sergeil/desk/src/BUILD/sane-backends-20120816/backend/kvs40xx.c
...
if (duplex)
{
st = kvs40xx_set_window (s, SIDE_BACK);
if (st)
return st;
}
* st = scan (s);*
if (st)
return st;
...
PS: In case of simple configuration `./configure`, make can finish OK.
--
Best regards,
Sergei LITVINENKO
There is a great difference between
"be involved" and "be committed".
Usually we are committed...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120817/35807a19/attachment.html>
More information about the sane-devel
mailing list