Hi. sane_strstatus is not a backend function, it is a function that is linked to every library. You can not implement it in your backend.
Bye Oliver Oliver Schwartz wrote: > > Hi, > > I'd like to add some better error messages to the snapscan backend. If I > understand the current SANE standard correctly, the backend can supply an > error string for a given status code by an implementation of > sane_strstatus(). > > However, trying to implement sane_strstatus myself results in a linker error > as all backends are linked against sane_strstatus.c by default. > > This leaves me with two questions: > > 1) Is this the correct way to go, or am I missing something? > 2) Is there an easy way to avoid the default linking against sane_strstatus.c > (I'm not that much into autoconf etc.). > -- Homepage: http://www.rauch-domain.de sane-umax: http://www.rauch-domain.de/sane-umax xsane: http://www.xsane.org E-Mail: mailto:oliver.ra...@rauch-domain.de