<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Dear sane-devel friends,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 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:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 1.make uninstall</FONT></DIV>
<DIV><FONT size=2> 2.copied my source code to
sane-backends-1.0.8/backend/</FONT></DIV>
<DIV><FONT size=2> 3.edited the
backend/Makefile.in</FONT></DIV>
<DIV><FONT size=2> 4.edited the
backend/dll.conf</FONT></DIV>
<DIV><FONT size=2> 5.execute the
sane-backends-1.0.8/configure</FONT></DIV>
<DIV><FONT size=2> 6.make (no error)</FONT></DIV>
<DIV><FONT size=2> 7.make install (no
error)</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2> 8.scanimage -L ,it telled me "No
Scanner..."</FONT></DIV>
<DIV><FONT size=2> 9.SANE_DEBUG_DLL=128 scanimage -L ,
the useful debug informations are followed:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
[dll]add_backend: adding backend 'm1200up'</FONT></DIV>
<DIV><FONT
size=2> [dll]load:
searching backend 'm1200up' in '/usr/local/lib/sane'</FONT></DIV>
<DIV><FONT size=2>
[dll]load: trying to load
'/usr/local/lib/sane/libsane-m1200up.so.1'</FONT></DIV>
<DIV><FONT size=2>
[dll]load: dlopen()ing '/usr/local/lib/sane/libsane-m1200up.so.1'</FONT></DIV>
<DIV><FONT size=2>
[dll]load: unable to find _sane_m1200up_init</FONT></DIV>
<DIV><FONT size=2>
[dll]load: unable to find _sane_m1200up_exit</FONT></DIV>
<DIV><FONT size=2>
......</FONT></DIV>
<DIV><FONT size=2>
[dll]load: unable to find _sane_m1200up_get_select_fd</FONT></DIV>
<DIV><FONT size=2>
[dll]init: initializing backend 'm1200up'</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> </FONT><FONT size=2>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.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> I'v already implemented the sane
api(sane_init,sane_exit etc.) in the m1200up.c. Why dll can not find these
function?</FONT><FONT size=2></FONT></DIV>
<DIV><FONT size=2> Thank you!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV><FONT size=2>
<DIV>Sincerely<BR>Jason <BR>2002-7-23<BR></FONT></DIV></BODY></HTML>