I compiled sane under the old stock RH6.2 Gnome with no problems, but
last night I upgraded to the latest Helix-Gnome and installed everything
they had to download. Now when I go to recompile sane, when it gets to
xscanimage, it spits out a ton of warnings and then craters.
Here is a list of the warnings I get when xscanimage starts to compile:
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include
-I/usr/lib/glib/include -I/usr/X11R6/include -D_GNU_SOURCE
-DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -O2
-m486 -fno-strength-reduce -W
-Wall -DSCSIBUFFERSIZE=131072 xscanimage.c
xscanimage.c:63: parse error before `GParam'
xscanimage.c:66: parse 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: parse error before `GDrawable'
-- under threat of bodily injury for posting all the multiple hundreds
of errors, I mercifully snipped out a vast majority of them --
xscanimage.c:1511: warning: unused parameter `widget'
xscanimage.c: In function `choose_device':
xscanimage.c:1542: warning: assignment makes pointer from integer
without a cast
xscanimage.c: In function `init':
xscanimage.c:1649: incompatible types in assignment
xscanimage.c: In function `interface':
xscanimage.c:1661: request for member `info_label' in something not a
structure or union
xscanimage.c: In function `main':
xscanimage.c:1706: request for member `mode' in something not a
structure or union
xscanimage.c: At top level:
xscanimage.c:137: warning: `encode_devname' defined but not used
xscanimage.c:239: warning: `nargs' defined but not used
make[1]: *** [xscanimage.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/sane-1.0.3/frontend'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.30359 (%build)
[root@Linux SPECS]#
Any ideas? I've run ldconfig a few times. I had to get Xsane 0.64
because 0.61 also cratered. 0.64 compiled fine.
Mike
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Sat Nov 18 2000 - 16:12:13 PST