I tried to compile sane 1.0.1 on a Redhat 6.0 system and the make
procedure fails in the frontend construction.
the error is the following:
....
making all in frontend
make[1]: Entering directory `/usr/local/src/scanner/sane-1.0.1/frontend'
gcc -o .libs/xscanimage xscanimage.o progress.o preview.o preferences.o
gtkglue.o ../sanei/libsanei.a -Wl,--rpath -Wl,/usr/local/lib
../backend/.libs/libsane.so ../lib/liblib.a -lgimp -L/usr/lib
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11
-lm -ldl -lnsl -ljpeg -lm
xscanimage.o: In function `update_param':
/usr/local/src/scanner/sane-1.0.1/frontend/xscanimage.c:391: undefined
reference to `gtk_object_check_cast'
/usr/local/src/scanner/sane-1.0.1/frontend/xscanimage.c:391: undefined
reference to `gtk_label_set'
....
gtkglue.o:/usr/local/src/scanner/sane-1.0.1/frontend/gtkglue.c:897: more
undefined references to `gtk_object_check_cast' follow
collect2: ld returned 1 exit status
make[1]: *** [xscanimage] Error 1
make[1]: Leaving directory `/usr/local/src/scanner/sane-1.0.1/frontend'
make: *** [all-recursive] Error 1
what may I do to compile it successfuly?
Thanks in advance,
Pedro
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com