[sane-devel] "illegal" exporting of symbols

Henning Meier-Geinitz henning at meier-geinitz.de
Wed Apr 10 21:24:02 BST 2002


Hi,

SANE backends should only export symbols (functions, variables) that
are absolutely necessary. Usually these are the sane_* functions of
the API and for some backends sanei_backendname_* functions. In the
latter case the names must be unique in all backends.

Please don't export any other symbol. Use static variables and
functions instead. This avoids name clashes.

The following backends export "illegal" symbols (try make libcheck,
static libraries must have been compiled):

    - artec: cap_data
    - avision: Avision_Device_List
    - canon: option_name
    - sm3600: aidProduct
    - snapscan: bqelements
    
Bye,
  Henning



More information about the sane-devel mailing list