compiling problem with egcs-1.03a

Georg Huettenegger (
Sun, 22 Nov 1998 15:24:27 +0100 (CET)

hi everybody,

i downloaded the new sane-1.00 and it does not compile with my egcs-1.03a
(from the redhat 5.2) on an intel linux machine with the following
egcs -c -g -O2 -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=abaton -DLIBDIR=/usr/local/lib/sane -fPIC -DPIC abaton.c
abaton.c: In function `sane_abaton_control_option':
abaton.c:1116: incompatible types in assignment
make: *** [abaton.lo] Error 1

i fixed the problem by using the gcc- but i think either egcs or
sane should have a real problem with this backend. perhaps somebody would
like to investigate this (which is not nice for 1.00).

georg huettenegger

Source code, list archive, and docs:
To unsubscribe: echo unsubscribe sane-devel | mail