[sane-devel] md5 Buffer Error
Hugh McMaster
dasjournal at gmail.com
Thu Jun 21 11:38:56 UTC 2007
Hi Gerald,
On 21/06/07, Gerald Murray wrote:
>
> > /home/User/sane-backends/frontend/scanimage.c:291: undefined reference
> to `_md5_buffer'
>
> There should be two leading underscores before md5_buffer.
> This is resolved in the frontend/Makefile by "$(LIBLIB)"
> which links lib/liblib.a Header is include/md5.h
>
> Perhaps the compiler/linker being used has a problem with
> two leading underscores? Or not using the frontend/Makefile?
The output shows only one underscore. If I manually add one
underscore to line 291 of scanimage.c, then the error output shows
[...]undefined reference to '__md5_buffer'[...]
${LIBLIB) is shown in frontend/Makefile, while the md5.h include is in
scanimage.c.
Hugh
More information about the sane-devel
mailing list