[sane-devel] sane/xsane on Mac OS X?
paul beard
paulbeard at mac.com
Mon Apr 8 21:55:14 BST 2002
Henning Meier-Geinitz wrote:
> Hi,
>
> On Sun, Apr 07, 2002 at 10:28:18PM -0700, paul beard wrote:
>
>>An update: I did get sane-backends built and installed simply by
>>commenting out the canon backend.
>
>
> Cool! Can you please shoiw us the error message that is printed if you
> try to compile the canon backend?
>
>[...ers/paul/src/sane-backends-1.0.7/backend]:: make
cc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -D_GNU_SOURCE
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0
-DBACKEND_NAME=canon -DLIBDIR=/usr/local/lib/sane canon.c -o canon.o
In file included from canon.c:181:
canon-scsi.c: In function `define_scan_mode':
canon-scsi.c:382: warning: comparison between signed and unsigned
canon-scsi.c: In function `set_density_curve':
canon-scsi.c:445: warning: unused parameter `buf_size'
canon.c: In function `get_tpu_stat':
canon.c:231: warning: comparison between signed and unsigned
canon.c: In function `get_adf_stat':
canon.c:285: warning: comparison between signed and unsigned
canon.c: In function `attach':
canon.c:599: warning: comparison between signed and unsigned
canon.c: In function `adjust_hilo_points':
canon.c:1128: warning: comparison between signed and unsigned
cc: Internal compiler error: program cc1obj got fatal signal 11
make: *** [canon.lo] Error 1
>
> Try what the linker proposes: cd lib ; ranlib liblib.a
>
>
Hmm, that fixed it: I used the same thing on another instance when
libsanei was the culprit. See below.
>
/usr/bin/ld: archive: ../sanei/libsanei.a has no table of
contents, add one with ranlib(1) (can't load from it)
/usr/bin/ld: warning multiple definitions
of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of
_locale_charset
/sw/lib/libiconv.2.dylib(localcharset.lo) definition of
_locale_charset make[1]: ***
[xscanimage] Error 1
make: *** [all-recursive] Error 1
(paul at pink)-(01:50 PM / Mon Apr 8)
and it's all made.
Now for xsane. And then I need to get the right kind of scsi
cable, since this box uses ultra scsi, before I can test anything.
--
Paul Beard
8040 27th Ave NE
Seattle WA 98115
206 529 8400
Fortune's Real-Life Courtroom Quote #52:
Q: What is your name?
A: Ernestine McDowell.
Q: And what is your marital status?
A: Fair.
More information about the sane-devel
mailing list