* The debug error message printed by the dll backend when dlopen() fails
is not very helpful, because it's taken from errno instead of dlerror().
This caused some headscratching here, because dll seemed to insist that
my library did not exist (despite it being there), instead of complaining
about an unresolved symbol. A patch is included below.
* The file backend/djpeg.README.gz is gzipped _twice_.
Regards,
Ingo
*** dll.c.orig Tue Apr 27 06:35:12 1999
--- dll.c Tue Apr 27 06:38:50 1999
***************
*** 302,308 ****
--- 302,312 ----
#endif /* HAVE_DLOPEN */
if (!be->handle)
{
+ #ifdef HAVE_DLOPEN
+ DBG(2, "dlopen() failed (%s)\n", dlerror ());
+ #else
DBG(2, "dlopen() failed (%s)\n", strerror (errno));
+ #endif /* HAVE_DLOPEN */
return SANE_STATUS_INVAL;
}
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com