[sane-devel] Compiling sane-desc on OS/2
Franz Bakan
fbakan at gmx.net
Sat Jul 6 22:09:01 BST 2002
On Fri, 5 Jul 2002 22:05:59 +0200, Henning Meier-Geinitz wrote:
>It's compiled by running "make sane-desc". Have a look at its options
>with "sane-desc --help".
sane-desc does not compile on OS/2
The problems are:
1.
#ifndef HAVE_STRCASECMP
/* OS/2 needs this */
# define strcasecmp(a, b) stricmp(a, b)
#endif
is now missing in config.h
can you add
AC_DEFINE(strcasecmp,stricmp,[Define for OS/2 only])
to configure.in?
2.
OS/2 has no libgen.h
If I remove this include sane-desc compiles
but it does not link. I get
sane-desc.o: Undefined symbol _basename referenced from text segment
I assume that's because of to libgen.h
What does basename do?
Franz
More information about the sane-devel
mailing list