[sane-devel] sane_strstatus

Oliver Schwartz Oliver.Schwartz@gmx.de
Sat, 20 Apr 2002 15:21:40 +0200


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