[sane-devel] why my backend don't work?
zhu
zhulicheng at hotmail.com
Wed Jul 10 09:27:51 BST 2002
Dear friend:
I come to the mail list today,I eagerly hope you would help me.
I want to try a new backend which main file is m1200.c. Other files are m1200.h,m1200.conf,mscan.c and mscan.h.
I did as followed:
(1)Modified the backend/Makefile.in, added "m1200" in the list following "PRELOADABLE_BACKENDS = " ;
(2)Added "m1200.c m1200.conf m1200.h mscan.c mscan.h" in the list following "DISTFILES = " ;
(3)Added "libsane-m1200.la: ../sanei/sanei_config2.lo","libsane-m1200.la: ../sanei/sanei_constrain_value.lo"
(4)modified the "dll.conf",added "m1200"
(5)make uninstall
(6)execute sane-backends-1.0.8/configure
(7)make (no error)
(8)make install (no error)
My problem is ,when I type "scanimage -L",it says error ,error info is:
scanimage:error while loading the shared libraries: /usr/local/lib/sane/libsane-m1200.so.1:undefined symbol: funcname
This "funcname" is a function declared in file mscan.h and defined in mscan.c,and called in the function "sane_init". In the file m1200.c ,I've not forgotten include the head file "mscan.h".
Dear friend,please tell me if you know why the problem happen !
Thank you very much!
Good Luck!
Sincerely
Jason
2002-7-10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020710/459fb8e2/attachment.htm>
More information about the sane-devel
mailing list