Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 15:30:56 -0800
From:      Scott Reese <sreese@codysbooks.com>
To:        Jonathan Chen <jonathan.chen@itouch.co.nz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why won't my HP Scanner work with FreeBSD?
Message-ID:  <3A638830.4B67CF86@codysbooks.com>
References:  <3A636CF3.A6DA7F35@codysbooks.com> <20010116103703.A77671@itouchnz.itouch> <3A63732F.E963115E@codysbooks.com> <20010116111116.A78068@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------200C0D76984D5534B0C1F410
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've attached the last 50 lines of the output from the make command.  All of the
modules that were compiled had warnings similar to those seen here.  What should
I do?


Jonathan Chen wrote:

> [Please do NOT remove the Cc: freebsd-questions]
>
> On Mon, Jan 15, 2001 at 02:01:19PM -0800, Scott Reese wrote:
> > Yes, but the make will not complete successfully.  I suspect it is because
> > it's looking for the device and not finding it...This is where I got
> > confused.  How do I install the device itself into the kernel so that
> > SANE will find it will it's running the make?  Then, what do I do in the
> > /dev directory?  These are the questions that I cannot find answers to in
> > any of the docs I've spent hours looking over.  Of course, the make could be
> > failing for other reasons as well...all I know is that when it gets to the
> > xscanimage section, gmake returns an "Error 1" and aborts the process...it
> > isn't obvious to me from the messages why it isn't completing the make.  Do
> > you have any suggestions?  Again, thank you for your help.
>
> Without more details about the error you're getting, the list can't
> help you that much. Try doing the make again, and capture the output
> to a file. Send the list the last useful lines of the output and
> *then* we may be able to help.
> --
> Jonathan Chen <jonathan.chen@itouch.co.nz>
> ----------------------------------------------------------------------
>                         "Irrationality is the square root of all evil"
>                                                   - Douglas Hofstadter

--------------200C0D76984D5534B0C1F410
Content-Type: text/plain; charset=us-ascii;
 name="make.tail"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="make.tail"

scanimage.c:487: warning: comparison between signed and unsigned
cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/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 -O -pipe -W -Wall -DSCSIBUFFERSIZE=131072 stiff.c
mkdir .libs
cc -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -Wl,-E -o .libs/scanimage scanimage.o stiff.o ../backend/.libs/libsane.so ../lib/liblib.a -ljpeg -lintl -lm -lcam -L/usr/local/lib  -Wl,--rpath -Wl,/usr/local/lib
creating scanimage
cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/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 -O -pipe -W -Wall -DSCSIBUFFERSIZE=131072 xscanimage.c
xscanimage.c:63: syntax error before `GParam'
xscanimage.c:66: syntax error before `PLUG_IN_INFO'
xscanimage.c:66: warning: type defaults to `int' in declaration of `PLUG_IN_INFO'
xscanimage.c:68: warning: initialization makes integer from pointer without a cast
xscanimage.c:69: warning: excess elements in scalar initializer
xscanimage.c:69: warning: (near initialization for `PLUG_IN_INFO')
xscanimage.c:70: warning: excess elements in scalar initializer
xscanimage.c:70: warning: (near initialization for `PLUG_IN_INFO')
xscanimage.c:71: warning: excess elements in scalar initializer
xscanimage.c:71: warning: (near initialization for `PLUG_IN_INFO')
xscanimage.c:72: warning: data definition has no type or storage class
xscanimage.c:103: syntax error before `GDrawable'
xscanimage.c:106: syntax error before `GPixelRgn'
xscanimage.c:122: warning: missing initializer
xscanimage.c:122: warning: (near initialization for `long_options[2].has_arg')
xscanimage.c: In function `query':
xscanimage.c:234: syntax error before `args'
xscanimage.c: At top level:
xscanimage.c:64: warning: `run' declared `static' but never defined
xscanimage.c:110: warning: `scan_win' defined but not used
xscanimage.c:112: warning: `prog_name' defined but not used
xscanimage.c:113: warning: `choose_device_dialog' defined but not used
xscanimage.c:114: warning: `dialog' defined but not used
xscanimage.c:115: warning: `devlist' defined but not used
xscanimage.c:116: warning: `seldev' defined but not used
xscanimage.c:117: warning: `ndevs' defined but not used
xscanimage.c:118: warning: `long_options' defined but not used
xscanimage.c:129: warning: `interface' declared `static' but never defined
xscanimage.c:130: warning: `scan_start' declared `static' but never defined
xscanimage.c:131: warning: `scan_done' declared `static' but never defined
xscanimage.c:137: warning: `encode_devname' defined but not used
xscanimage.c:182: warning: `decode_devname' defined but not used
gmake[1]: *** [xscanimage.o] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/sane/work/sane-1.0.3/frontend'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/sane.
*** Error code 1

Stop in /usr/ports/graphics/sane.
*** Error code 1

Stop in /usr/ports/graphics/sane.

--------------200C0D76984D5534B0C1F410--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A638830.4B67CF86>