I'm trying to compile xsane on a SuSE 6.2-system. I am using egcs (I
know gcc is recommended, but I don't have it installed anymore and I
don't really want to re-install it unless really necessary).
sane 1.0.1 is installed and works perfectly.
Here is where the compile fails; maybe someone can point me in the
right direction. Thanks a lot in advance!
Kai
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/X11R6/include -I
/usr/lib/glib/include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_DA
TA_DIR=/usr/local/share/sane -DV_MAJOR=0 -DV_MINOR=35 -DSANE_V_MAJOR=1 -mpe
ntium -O4 -Wall xsane-scan.c
xsane-scan.c:89: warning: `xsane_encode_devname' declared `static' but never def
ined
xsane-scan.c:90: warning: `xsane_generate_dummy_filename' declared `static' but
never defined
xsane-scan.c:92: warning: `xsane_gimp_advance' declared `static' but never defin
ed
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/X11R6/include -I
/usr/lib/glib/include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_DA
TA_DIR=/usr/local/share/sane -DV_MAJOR=0 -DV_MINOR=35 -DSANE_V_MAJOR=1 -mpe
ntium -O4 -Wall xsane.c
gcc -o xsane xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o xsane-preview.o x
sane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o xsane.o ../sanei/libs
anei.a \
../lib/liblib.a -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmo
dule -lglib -ldl -lXext -lX11 -lm -lsane -lpng -ldl -ltiff -lz -ljpeg -lm
xsane-scan.o: In function `xsane_start_scan':
xsane-scan.o(.text+0x1505): undefined reference to `xsane_generate_dummy_filenam
e'
collect2: ld returned 1 exit status
make[1]: *** [xsane] Error 1
make[1]: Leaving directory `/home/khaberz/sources/xsane-0.35/frontend'
make: *** [all-recursive] Error 1
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com