Solved: Compile Error with sane 1.01 pre4

Richard Kuhlbars (kuhlbars@usa.net)
Sun, 11 Apr 1999 16:24:14 +0000

After investigating this a bit, I finally figured that some of my path
were all messed up. So re-installed the whole bit in the /usr/bin
directory (instead of /usr/local/bin) and behold...it worked!!!

I have one minor problem which probably has something to do with the
beta version. After the scan is throught I get the following error
message:

Gtk-CRITICAL **: file gtkprogress.c: line 518
(gtk_progress_set_percentage): assertion `percentage >= 0 && percentage
<= 1.0' failed.

Doesn't seem to hurt anything, but doesn't look nice.

Regards
Richard

Oliver Rauch wrote:
>
> Richard Kuhlbars wrote:
>
> > Petter Reinholdtsen wrote:
> > Well, I ried that. While I was at it, I updated my glib, gtk+ versions
> > as well. When I complile sane v1.01 pre I now get have the following
> > problem:
> >
> > > make[1]: Entering directory `/usr/local/bin/sane-pre1.01/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/local/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/bin/sane-pre1.01/frontend/xscanimage.c:391: undefined
> > reference to `gtk_label_set'
> > xscanimage.o: In function `preview_window_destroyed':
> > /usr/local/bin/sane-pre1.01/frontend/xscanimage.c:477: undefined
> > reference to `gtk_toggle_button_set_state'
> > xscanimage.o: In function `scan_preview':
> > /usr/local/bin/sane-pre1.01/frontend/xscanimage.c:496: undefined
> > reference to `gtk_toggle_button_set_state'
> > [...]
> > /usr/local/bin/sane-pre1.01/frontend/gtkglue.c:689: undefined reference
> > to `gtk_container_border_width'
> > gtkglue.o:/usr/local/bin/sane-pre1.01/frontend/gtkglue.c:788: more
> > undefined references to `gtk_container_border_width' follow
> > collect2: ld returned 1 exit status
> > make[1]: *** [xscanimage] Error 1
> > make[1]: Leaving directory `/usr/local/bin/sane-pre1.01/frontend'
> > make: *** [all-recursive] Error 1
> >
> > ---
> > Seems to be something simple like a path or something. I've checked the
> > new configuration but couldn't find anything. Any advice??
>
> Hi Rick,
> please try the following:
>
> enter the sane-pre1.01 directory
> make distclean
> ./configure
> make
>
> may be that helps
> bye
> Oliver
>
> --
> EMAIL: Oliver.Rauch@Wolfsburg.DE
> WWW: http://www.wolfsburg.de/~rauch
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com