Re: Compile Error with sane 1.01 pre4

Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Sun, 11 Apr 1999 19:46:49 +0200

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