[sane-devel] problems on OS/2

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Fri Feb 6 00:08:26 UTC 2009


"Franz Bakan" <fbakan at gmx.net> writes:

> Hi,
>
> After the latest modifications with the libtool stuff I now get this error:
>
> [snip]
> make[1]: Entering directory `G:/src/432/sane-backends/backend'
> sh ../libtool --silent --tag=CC   --mode=link gcc  -D__EMX__ -DOS2 -D__ST_MT_ERR
> NO__ -fno-omit-frame-pointer -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-dec
> larations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
>  -pedantic  -rpath '/usr/lib' -version-number 1:1:0 -Zexe -Zmtd -D__ST_MT_ERRNO_
> _ -s -o libsane.la -rpath /usr/lib libsane_la-dll-s.lo ../lib/liblib.la  libdll.
> la sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_constrain_value
> .lo ../sanei/sanei_config.lo ../sanei/sanei_config2.lo ../sanei/sanei_usb.lo ../
> sanei/sanei_scsi.lo ../sanei/sanei_pv8630.lo ../sanei/sanei_pp.lo ../sanei/sanei
> _thread.lo  ../sanei/sanei_lm983x.lo ../sanei/sanei_access.lo ../sanei/sanei_net
> .lo ../sanei/sanei_wire.lo ../sanei/sanei_codec_bin.lo ../sanei/sanei_pa4s2.lo .
> ./sanei/sanei_ab306.lo ../sanei/sanei_pio.lo ../sanei/sanei_tcp.lo ../sanei/sane
> i_udp.lo ../sanei/sanei_jpeg.lo -ldl  -lm   -ljpeg
> libtool: link: CURRENT `' must be a nonnegative integer
> libtool: link: `1:1:0' is not valid version information
> make[1]: *** [libsane.la] Fehler 1
> make[1]: Leaving directory `G:/src/432/sane-backends/backend'
> make: *** [all-recursive] Fehler 1
>
> What does this mean?
> What's CURRENT ?
> What's a valid version information?

Based on the libtool/ltmain.sh code from the CVS snapshot (2009-02-05),
I would expect CURRENT to have a value of 2 (1 on FreeBSD and SunOS).
You get an empty string.  The '1:1:0' version information looks fine
to me.

Can you rerun that command with `sh -x` instead of `sh` and send the
output of that.  A copy of the libtool script in your source directory
may be helpful as well.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS Corporation
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962



More information about the sane-devel mailing list