i can confirm this issue- it seems that lib/liblib.a is empty- the command used to create it:
ar cru liblib.a ranlib liblib.a should probably be: ar cru liblib.a .libs/* ranlib liblib.a and sanei/libsanei.a is also empty ar cru libsanei.a ranlib libsanei.a should be: ar cru libsanei.a .libs/* ranlib libsanei.a this is on a fedora core 6 box that has successfully built sane many times, until a recent cvs up && make clean && ./configure if you run those repaired commands manually from the right dir, your build should succeed. any libtool experts out there? allan On 6/25/07, Simon Glass <sglass at bluewatersys.com> wrote: > Hi, > > I am keen to test out my new Fujitsu FI-5750C but it doesn't seem to > work out of the box. While trying to build SANE from CVS I initially got > an error about md5 which I got around by adding a library explicitly to > the Makefile. > > making all in frontend > make[1]: Entering directory > `/pub/software/drivers/sane/sane-backends/frontend' > make[1]: Warning: File `Makefile' has modification time 0.83 s in the future > gcc -o .libs/scanimage scanimage.o stiff.o ../lib/liblib.a > ../backend/.libs/libsane.so -ldl /usr/lib/libusb.so -lpthread > /usr/lib/libtiff.so /usr/lib/libjpeg.so -lz -lm -lc > /usr/lib/libieee1284.so -Wl,--rpath -Wl,/usr/local/lib > scanimage.o: In function `auth_callback': > /pub/software/drivers/sane/sane-backends/frontend/scanimage.c:291: > undefined reference to `md5_buffer' > collect2: ld returned 1 exit status > make[1]: *** [scanimage] Error 1 > make[1]: Leaving directory > `/pub/software/drivers/sane/sane-backends/frontend' > > > But now I get: > > ... > making all in frontend > make[1]: Entering directory > `/pub/software/drivers/sane/sane-backends/frontend' > make[1]: Warning: File `Makefile' has modification time 0.4 s in the future > gcc-4.0 -o .libs/saned saned.o ../sanei/libsanei.a ../lib/liblib.a > ../backend/.libs/libsane.so -ldl /usr/lib/libusb.so -lpthread > /usr/lib/libtiff.so /usr/lib/libjpeg.so -lz -lm -lc > /usr/lib/libieee1284.so -Wl,--rpath -Wl,/usr/local/lib > saned.o: In function `decode_handle': > /pub/software/drivers/sane/sane-backends/frontend/saned.c:461: undefined > reference to `sanei_w_word' > saned.o: In function `init': > /pub/software/drivers/sane/sane-backends/frontend/saned.c:1254: > undefined reference to `sanei_w_set_dir' > /pub/software/drivers/sane/sane-backends/frontend/saned.c:1261: > undefined reference to `sanei_w_word' > ... > > It seems that the tools are not producing object files properly or > something. Before I dive into something I don't understand does anyone > have a simple solution? > > I did see this from ./configure > > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... cat: > /etc/ld.so.conf.d/*.conf: No such file or directory > GNU/Linux ld.so > > Regards, > Simon > > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"
