[sane-devel] Epson perfection 660 ->Problem building on OSX

Brian D. Williams brian_d_w at yahoo.com
Sat Jun 21 13:13:08 BST 2003


Hi Henning (and others),

I have attached the last 100+ lines from from make. 

Thanks
Brian


--- Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
> Hi,
> 
> On Sat, Jun 21, 2003 at 02:14:56AM -0700, Brian D. Williams wrote:
> > I have been trying to get sane to work with the epson perfection 660. I
> could
> > build sane with 1.0.11 but not with the snapscan addition. I could not
> build
> > 1.0.12 at all. It would stop building at when trying to make scanimage but
> I
> > didn't see any error messages that made sense to me. I am running the
> latest os
> > x (10.2.6). Sadly I don't have a scanner available (other than the epson)
> to
> > test against. Any suggestions would be greatly appreciated.
> 
> Please show us the error messages (e.g. the last 100 lines of the
> output).
> 
> Bye,
>   Henning
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

=====
Brian Williams
homepage == <http://chromaticgray.com>
-------------- next part --------------
gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS -DBACKEND_NAME=artec_eplus48u artec_eplus48u-s.c  -fno-common -DPIC -o .libs/artec_eplus48u-s.o
gcc -bundle -flat_namespace -undefined suppress -o .libs/libsane-artec_eplus48u.1.0.12.so  .libs/artec_eplus48u.o .libs/artec_eplus48u-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../lib/.libs/isfdtype.o ../lib/.libs/strndup.o ../sanei/.libs/sanei_constrain_value.o ../sanei/.libs/sanei_usb.o  /usr/local/lib/libusb.dylib -lm -framework CoreFoundation -framework IOKit
(cd .libs && rm -f libsane-artec_eplus48u.1.so && ln -s libsane-artec_eplus48u.1.0.12.so libsane-artec_eplus48u.1.so)
(cd .libs && rm -f libsane-artec_eplus48u.so && ln -s libsane-artec_eplus48u.1.0.12.so libsane-artec_eplus48u.so)
creating libsane-artec_eplus48u.la
(cd .libs && rm -f libsane-artec_eplus48u.la && ln -s ../libsane-artec_eplus48u.la libsane-artec_eplus48u.la)
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=ma1509 -DLIBDIR=/usr/local/lib/sane ma1509.c  -fno-common -DPIC -o .libs/ma1509.o
ma1509.c: In function `calibration':
ma1509.c:826: warning: int format, long unsigned int arg (arg 3)
ma1509.c: In function `send_gamma':
ma1509.c:919: warning: int format, size_t arg (arg 3)
rm -f ma1509-s.c
ln -s ./stubs.c ma1509-s.c
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS -DBACKEND_NAME=ma1509 ma1509-s.c  -fno-common -DPIC -o .libs/ma1509-s.o
gcc -bundle -flat_namespace -undefined suppress -o .libs/libsane-ma1509.1.0.12.so  .libs/ma1509.o .libs/ma1509-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../lib/.libs/isfdtype.o ../lib/.libs/strndup.o ../sanei/.libs/sanei_constrain_value.o ../sanei/.libs/sanei_usb.o  /usr/local/lib/libusb.dylib -lm -framework CoreFoundation -framework IOKit
(cd .libs && rm -f libsane-ma1509.1.so && ln -s libsane-ma1509.1.0.12.so libsane-ma1509.1.so)
(cd .libs && rm -f libsane-ma1509.so && ln -s libsane-ma1509.1.0.12.so libsane-ma1509.so)
creating libsane-ma1509.la
(cd .libs && rm -f libsane-ma1509.la && ln -s ../libsane-ma1509.la libsane-ma1509.la)
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=ibm -DLIBDIR=/usr/local/lib/sane ibm.c  -fno-common -DPIC -o .libs/ibm.o
rm -f ibm-s.c
ln -s ./stubs.c ibm-s.c
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS -DBACKEND_NAME=ibm ibm-s.c  -fno-common -DPIC -o .libs/ibm-s.o
gcc -bundle -flat_namespace -undefined suppress -o .libs/libsane-ibm.1.0.12.so  .libs/ibm.o .libs/ibm-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../lib/.libs/isfdtype.o ../lib/.libs/strndup.o ../sanei/.libs/sanei_scsi.o ../sanei/.libs/sanei_config2.o ../sanei/.libs/sanei_constrain_value.o  /usr/local/lib/libusb.dylib -lm -framework CoreFoundation -framework IOKit
(cd .libs && rm -f libsane-ibm.1.so && ln -s libsane-ibm.1.0.12.so libsane-ibm.1.so)
(cd .libs && rm -f libsane-ibm.so && ln -s libsane-ibm.1.0.12.so libsane-ibm.so)
creating libsane-ibm.la
(cd .libs && rm -f libsane-ibm.la && ln -s ../libsane-ibm.la libsane-ibm.la)
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=hp5400 -DLIBDIR=/usr/local/lib/sane hp5400.c  -fno-common -DPIC -o .libs/hp5400.o
In file included from hp5400.c:77:
hp5400_internal.c: In function `CircBufferInit':
hp5400_internal.c:411: warning: unused parameter `iHandle'
hp5400_internal.c: In function `hp5400_test_scan_response':
hp5400_internal.c:660: warning: unused parameter `req'
hp5400_internal.c: In function `DoScan':
hp5400_internal.c:729: warning: unused parameter `code'
hp5400_internal.c: In function `hp5400_scan':
hp5400_internal.c:909: warning: unused parameter `pHWParams'
hp5400_internal.c: In function `InitScanner':
hp5400_internal.c:1021: warning: int format, long unsigned int arg (arg 3)
hp5400_internal.c: In function `InitScan2':
hp5400_internal.c:1187: warning: comparison between signed and unsigned
hp5400_internal.c:1223: warning: comparison between signed and unsigned
In file included from hp5400.c:78:
hp5400_sanei.c: In function `hp5400_bulk_read':
hp5400_sanei.c:279: warning: passing arg 3 of `sanei_usb_read_bulk' from incompatible pointer type
hp5400_sanei.c: In function `hp5400_bulk_read_block':
hp5400_sanei.c:308: warning: passing arg 3 of `sanei_usb_read_bulk' from incompatible pointer type
hp5400_sanei.c: In function `hp5400_bulk_command_write':
hp5400_sanei.c:345: warning: passing arg 3 of `sanei_usb_write_bulk' from incompatible pointer type
hp5400.c: In function `attach_one_device':
hp5400.c:432: warning: passing arg 1 of `HP5400Detect' discards qualifiers from pointer target type
/usr/include/stdio.h: At top level:
hp5400_sanei.c:253: warning: `hp5400_bulk_read' defined but not used
hp5400_sanei.c:361: warning: `hp5400_isOn' defined but not used
hp5400_internal.c:605: warning: `DecodeImage' defined but not used
hp5400_internal.c:661: warning: `hp5400_test_scan_response' defined but not used
hp5400_internal.c:975: warning: `PreviewScan' defined but not used
hp5400_internal.c:1013: warning: `InitScanner' defined but not used
rm -f hp5400-s.c
ln -s ./stubs.c hp5400-s.c
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS -DBACKEND_NAME=hp5400 hp5400-s.c  -fno-common -DPIC -o .libs/hp5400-s.o
gcc -bundle -flat_namespace -undefined suppress -o .libs/libsane-hp5400.1.0.12.so  .libs/hp5400.o .libs/hp5400-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../lib/.libs/isfdtype.o ../lib/.libs/strndup.o ../sanei/.libs/sanei_usb.o ../sanei/.libs/sanei_config2.o  /usr/local/lib/libusb.dylib -lm -framework CoreFoundation -framework IOKit
(cd .libs && rm -f libsane-hp5400.1.so && ln -s libsane-hp5400.1.0.12.so libsane-hp5400.1.so)
(cd .libs && rm -f libsane-hp5400.so && ln -s libsane-hp5400.1.0.12.so libsane-hp5400.so)
creating libsane-hp5400.la
(cd .libs && rm -f libsane-hp5400.la && ln -s ../libsane-hp5400.la libsane-hp5400.la)
rm -f dll-preload.c
list=""; for be in $list; do \
  echo "PRELOAD_DECL($be)" >> dll-preload.c; \
done
echo "static struct backend preloaded_backends[] = {" >> dll-preload.c
sep=""; \
list=""; \
if test -z "${list}"; then \
  echo { 0, 0, 0, 0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }} >> dll-preload.c; \
else \
  for be in $list; do \
    echo "${sep}PRELOAD_DEFN($be)" >> dll-preload.c; \
    sep=","; \
  done; \
fi
echo "};" >> dll-preload.c
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DBACKEND_NAME=dll -DLIBDIR=/usr/local/lib/sane dll.c  -fno-common -DPIC -o .libs/dll.o
dll.c: In function `load':
dll.c:418: warning: `op' might be used uninitialized in this function
rm -f dll-s.c
ln -s ./stubs.c dll-s.c
 gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -DSTUBS -DBACKEND_NAME=dll dll-s.c  -fno-common -DPIC -o .libs/dll-s.o
gcc -bundle -flat_namespace -undefined suppress -o .libs/libsane-dll.1.0.12.so  .libs/dll.o .libs/dll-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../lib/.libs/isfdtype.o ../lib/.libs/strndup.o  /usr/local/lib/libusb.dylib -lm -framework CoreFoundation -framework IOKit
(cd .libs && rm -f libsane-dll.1.so && ln -s libsane-dll.1.0.12.so libsane-dll.1.so)
(cd .libs && rm -f libsane-dll.so && ln -s libsane-dll.1.0.12.so libsane-dll.so)
creating libsane-dll.la
(cd .libs && rm -f libsane-dll.la && ln -s ../libsane-dll.la libsane-dll.la)
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libsane.1.0.12.dylib  .libs/dll.o .libs/dll-s.o .libs/sane_strstatus.o ../sanei/.libs/sanei_init_debug.o ../sanei/.libs/sanei_config.o ../lib/.libs/isfdtype.o ../lib/.libs/strndup.o  /usr/local/lib/libusb.dylib -lm -framework CoreFoundation -framework IOKit -install_name  /usr/local/lib/libsane.1.dylib -compatibility_version 2 -current_version 2.12
(cd .libs && rm -f libsane.1.dylib && ln -s libsane.1.0.12.dylib libsane.1.dylib)
(cd .libs && rm -f libsane.dylib && ln -s libsane.1.0.12.dylib libsane.dylib)
creating libsane.la
(cd .libs && rm -f libsane.la && ln -s ../libsane.la libsane.la)
making all in frontend
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/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 -W -Wall scanimage.c
scanimage.c: In function `scan_it':
scanimage.c:1020: warning: unused variable `hang_over'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/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 -W -Wall stiff.c
mkdir .libs
gcc -o .libs/scanimage scanimage.o stiff.o  ../lib/liblib.a ../backend/.libs/libsane.dylib /usr/local/lib/libusb.dylib -lIOKit -lm -framework CoreFoundation -framework IOKit
ld: multiple definitions of symbol _getopt
/usr/lib/libm.dylib(getopt.So) definition of _getopt
../lib/liblib.a(getopt.o) definition of _getopt in section (__TEXT,__text)
ld: multiple definitions of symbol _opterr
/usr/lib/libm.dylib(getopt.So) definition of _opterr
../lib/liblib.a(getopt.o) definition of _opterr in section (__DATA,__data)
ld: multiple definitions of symbol _optind
/usr/lib/libm.dylib(getopt.So) definition of _optind
../lib/liblib.a(getopt.o) definition of _optind in section (__DATA,__data)
ld: multiple definitions of symbol _optopt
/usr/lib/libm.dylib(getopt.So) definition of _optopt
../lib/liblib.a(getopt.o) definition of _optopt in section (__DATA,__data)
make[1]: *** [scanimage] Error 1
make: *** [all-recursive] Error 1


More information about the sane-devel mailing list