SV: linking problem - can't find sane
Christian Jiresjo
ds98chji at thn.htu.se
Wed Mar 27 09:56:39 CST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You should add the sane-devel rpm as well if you want sane support or
turn sane of if you don't want sane. Guessing there is a switch like
- --without-sane for configure but i don't have access to linux right
now so i can't verify it now.
Mvh
Christian Jiresjo
Key ID / Fingerprint
0x7798D5A3 / 2743 5DC4 1618 F24C F265 3070 A070 5EF2 7798 D5A3
- -----Ursprungligt meddelande-----
Fran: wine-devel-admin at winehq.com
[mailto:wine-devel-admin at winehq.com]For Andriy Palamarchuk
Skickat: den 27 mars 2002 15:56
Till: wine-devel
Amne: linking problem - can't find sane
Today I refreshed wine from CVS. The previous version
was from the last week CVS. I tried to build and got a
linking problem:
gcc -shared -Wl,-Bsymbolic twain_32.spec.o
capability.o ds_audio.o ds_ctrl.o ds_image.o
dsm_ctrl.o twain32_main.o -o twain_32.dll.so
- -L../../dlls -L../../library -lwine -lsane -ldl -lnsl
- -ljpeg -lm -lm
/usr/bin/ld: cannot find -lsane
collect2: ld returned 1 exit status
make[2]: *** [twain_32.dll.so] Error 1
make[2]: Leaving directory
`/mnt/buf/prj/wine/dlls/twain'
make[1]: *** [twain/twain_32.dll.so] Error 2
make[1]: Leaving directory `/mnt/buf/prj/wine/dlls'
make: *** [dlls] Error 2
I actually have the library installed:
$ locate sane.so
/usr/lib/libsane.so.1
/usr/lib/libsane.so.1.0.3
My environment - RedHat 7.1 with applied bugfixes and
updates.
Installed sane packages:
$ rpm -q -a | grep sane
sane-1.0.3-10.1
xsane-0.82-3.1
Note, config can't find sane.h. It does not exist on
my system.
Relevant except from config.log:
configure:6535: checking for sane-config
configure:6550: found /usr/bin/sane-config
configure:6559: result: sane-config
configure:6577: checking for sane/sane.h
configure:6587: gcc -E -I/usr/include conftest.c
configure:6584:23: sane/sane.h: No such file or
directory
configure:6593: $? = 1
configure: failed program was:
#line 6583 "configure"
#include "confdefs.h"
#include <sane/sane.h>
configure:6612: result: no
...
ac_cv_header_sane_sane_h=no
...
ac_cv_prog_sane_devel=sane-config
...
Andriy Palamarchuk
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards.
http://movies.yahoo.com/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPKHrtaA7mjo2YYwkEQJBkQCggq1fI41MlVZTpA+Xd3Nhada6fc4AoI52
MMWZv75Crlq1BYfdh3gd6A1Q
=Eh3/
-----END PGP SIGNATURE-----
More information about the wine-devel
mailing list