[sane-devel] why my backend can not be loaded by dll ?
zhu
zhulicheng at hotmail.com
Tue Jul 23 06:02:20 BST 2002
Dear sane-devel friends,
I wrote a backend called "m1200up" for a mustek 1200usb plus scanner,but dll can not load my backend,who can help me,the detial is followed:
1.make uninstall
2.copied my source code to sane-backends-1.0.8/backend/
3.edited the backend/Makefile.in
4.edited the backend/dll.conf
5.execute the sane-backends-1.0.8/configure
6.make (no error)
7.make install (no error)
8.scanimage -L ,it telled me "No Scanner..."
9.SANE_DEBUG_DLL=128 scanimage -L , the useful debug informations are followed:
[dll]add_backend: adding backend 'm1200up'
[dll]load: searching backend 'm1200up' in '/usr/local/lib/sane'
[dll]load: trying to load '/usr/local/lib/sane/libsane-m1200up.so.1'
[dll]load: dlopen()ing '/usr/local/lib/sane/libsane-m1200up.so.1'
[dll]load: unable to find _sane_m1200up_init
[dll]load: unable to find _sane_m1200up_exit
......
[dll]load: unable to find _sane_m1200up_get_select_fd
[dll]init: initializing backend 'm1200up'
I wrote some code trying to open a file and write some test information at the start of sane_init function,the result made me know the sane_init function did not be called.
I'v already implemented the sane api(sane_init,sane_exit etc.) in the m1200up.c. Why dll can not find these function?
Thank you!
Sincerely
Jason
2002-7-23
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020723/fc042f6c/attachment.htm>
More information about the sane-devel
mailing list