[sane-devel] sane_strstatus

Oliver Schwartz Oliver.Schwartz at gmx.de
Sat Apr 20 14:21:40 BST 2002


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.).

Regards,

Oliver



More information about the sane-devel mailing list