[sane-devel] what am I doing wrong on netbsd/macppc with sane 1.0.7??
Sat, 16 Feb 2002 00:03:31 +0100
On Fri, Feb 15, 2002 at 01:27:39PM -0800, paul beard wrote:
> gmake: Entering directory
> cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> -I/usr/local/include -I/
> -D_GNU_SOURCE -DPATH_
> -DV_MAJOR=1 -DV_MINOR=0
> -I/usr/pkgsrc/graphics/sane-backends/work/.buildlink/include -O -O
> -W -Wall scanimage.c
> scanimage.c: In function `main':
> scanimage.c:1564: incompatible type for argument 2 of `vprintf'
const char **arglist = malloc(8 * sizeof(char**));
I don't really understand all of GNU stdarg.h, so maybe this is just
wrong for NetBSD. However, compilation worked for me on NetBSD
(i386). I had other problems with shared libs, though.
You may try if casting helps ((va_list) arglist).
Abel, any ideas?
> I can install binaries using pkg_add but then xsane fails on a
> [/home/paul]# xsane
> Shared object "libusb-0.1.so.4" not found
> the version installed is libusb-0.1.5.
Looks like your binary xsane is build with libusb-0.1.so.4 and
installed on a system that doesn't have this lib. I don't know if this
works on NetBSD but maybe you can just set a link to the new library?
The NetBSD binary packages are not created by the SANE developers.
> what am I missing?
Maybe nothing, it may just be a bug.